Paul Jeon / Mbed OS PICO_board_demo

Dependencies:   max32625pico SerialInterface USBDevice

Files at this revision

API Documentation at this revision

Comitter:
switches
Date:
Mon Dec 19 18:46:28 2016 +0000
Parent:
5:39fe91b6d3f0
Child:
7:62efbc5411c8
Commit message:
MAX32630FTHR self test with USB MSD

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
max32630fthr.lib Show annotated file Show diff for this revision Revisions of this file
pegasus_dev.lib Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Tue Dec 13 22:00:12 2016 +0000
+++ b/main.cpp	Mon Dec 19 18:46:28 2016 +0000
@@ -2,7 +2,7 @@
 #include "max32630fthr.h"
 #include "USBMSD_SD.h"
 
-MAX32630FTHR pegasus;
+MAX32630FTHR pegasus(MAX32630FTHR::VIO_3V3);
 
 // Hardware serial port over DAPLink
 Serial daplink(P2_1, P2_0);
@@ -26,7 +26,7 @@
     while(1) {
         Thread::wait(500);
         gLED = !gLED;
-    }
+    } 
 }
 
 // Function to read monitor port
@@ -42,7 +42,7 @@
 {
     float aIn;
     daplink.printf("Initializing MAX32630FTHR\r\n");
-    pegasus.init(MAX32630FTHR::VIO_3V3);
+//    pegasus.init(MAX32630FTHR::VIO_3V3);
     daplink.printf("Checking Supplies\r\n");
     aIn = 2.4f * vdd12In;
     daplink.printf("vdd12 = %f\r\n", aIn);
--- a/max32630fthr.lib	Tue Dec 13 22:00:12 2016 +0000
+++ b/max32630fthr.lib	Mon Dec 19 18:46:28 2016 +0000
@@ -1,1 +1,1 @@
-https://developer.mbed.org/users/switches/code/max32630fthr/#09e3dbb49561
+https://developer.mbed.org/users/switches/code/max32630fthr/#8e424775234a
--- a/pegasus_dev.lib	Tue Dec 13 22:00:12 2016 +0000
+++ b/pegasus_dev.lib	Mon Dec 19 18:46:28 2016 +0000
@@ -1,1 +1,1 @@
-https://developer.mbed.org/users/switches/code/pegasus_dev/#2cb9d52ef33b
+https://developer.mbed.org/users/switches/code/pegasus_dev/#1198227e6421