Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: max32625pico SerialInterface USBDevice
Revision 6:fa0134a8ac32, committed 2016-12-19
- 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
--- 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