Mike VanderPloeg / Mbed OS BER_Board

Dependencies:   max32625pico SerialInterface USBDevice

Files at this revision

API Documentation at this revision

Comitter:
switches
Date:
Thu Apr 13 15:03:15 2017 +0000
Parent:
12:6c4b202eb16b
Child:
14:dd5a96c353ed
Commit message:
New serial adapter example for PICO board

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
max32630fthr.lib Show diff for this revision Revisions of this file
maxim-dev.lib Show annotated file Show diff for this revision Revisions of this file
mbed-os.lib Show diff for this revision Revisions of this file
mbed-rtos.lib Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri Feb 03 23:14:25 2017 +0000
+++ b/main.cpp	Thu Apr 13 15:03:15 2017 +0000
@@ -1,5 +1,5 @@
 #include "mbed.h"
-#include "max32630fthr.h"
+#include "rtos.h"
 #include "USBSerial.h"
 #include "SerialInterface.h"
 
@@ -8,8 +8,6 @@
 #define USB_MAX_RESP_LENGTH  255
 #define USB_MAX_CMD_LENGTH  255
 
-MAX32630FTHR pegasus(MAX32630FTHR::VIO_3V3);
-
 // Virtual serial port over USB
 USBSerial microUSB;
 
@@ -17,9 +15,9 @@
 Serial daplink(P2_1, P2_0);
 
 // Serial Interfaces
-I2C i2c(P3_4, P3_5);
-SPI spi(P5_1, P5_2, P5_0);
-DigitalInOut gpio[] = {P5_3, P5_4, P5_5, P5_6, P3_0, P3_1, P3_2, P3_3};
+I2C i2c(P1_6, P1_7);
+SPI spi(P1_5, P1_6, P1_4);
+DigitalInOut gpio[] = {P0_0, P0_1, P0_2, P0_3, P4_4, P4_5, P4_6, P4_7};
 AnalogIn ain[] = {AIN_0, AIN_1, AIN_2, AIN_3, AIN_4, AIN_5, AIN_6, AIN_7};
 
 // Serial Interface Adapter
--- a/max32630fthr.lib	Fri Feb 03 23:14:25 2017 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-https://developer.mbed.org/users/switches/code/max32630fthr/#8e424775234a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/maxim-dev.lib	Thu Apr 13 15:03:15 2017 +0000
@@ -0,0 +1,1 @@
+https://developer.mbed.org/users/switches/code/maxim-dev/#2e7515f8c45d
--- a/mbed-os.lib	Fri Feb 03 23:14:25 2017 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-https://github.com/ARMmbed/mbed-os/#269f58d75b752a4e67a6a2d8c5c698635ffd6752
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed-rtos.lib	Thu Apr 13 15:03:15 2017 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed-rtos/#58563e6cba1e