Test program running on MAX32625MBED. Control through USB Serial commands using a terminal emulator such as teraterm or putty.
Dependencies: MaximTinyTester CmdLine MAX541 USBDevice
Diff: main.cpp
- Revision:
- 17:bf4efc8f5eee
- Parent:
- 16:3c75011e705a
- Child:
- 18:14afc2a2150f
diff -r 3c75011e705a -r bf4efc8f5eee main.cpp --- a/main.cpp Thu Jul 18 10:49:05 2019 +0000 +++ b/main.cpp Thu Jul 18 14:24:49 2019 -0700 @@ -38,13 +38,30 @@ // Platforms: // - MAX32625MBED // - supports mbed-os-5.11, requires USBDevice library +// - remove max32630fthr library (if present) +// - remove MAX32620FTHR library (if present) // - MAX32600MBED +// - remove max32630fthr library (if present) +// - remove MAX32620FTHR library (if present) // - NUCLEO_F446RE // - remove USBDevice library +// - remove max32630fthr library (if present) +// - remove MAX32620FTHR library (if present) // - NUCLEO_F401RE // - remove USBDevice library +// - remove max32630fthr library (if present) +// - remove MAX32620FTHR library (if present) // - MAX32630FTHR -// - add http://developer.mbed.org/teams/MaximIntegrated/code/max32630fthr/ +// - add http://os.mbed.org/teams/MaximIntegrated/code/max32630fthr/ +// - remove MAX32620FTHR library (if present) +// - MAX32620FTHR +// - remove max32630fthr library (if present) +// - add https://os.mbed.com/teams/MaximIntegrated/code/MAX32620FTHR/ +// - not tested yet +// - MAX32625PICO +// - remove max32630fthr library (if present) +// - remove MAX32620FTHR library (if present) +// - not tested yet #include "mbed.h" // mbed shared event queue run onTimerTick() in Thread context not Interrupt context @@ -307,6 +324,9 @@ //-------------------------------------------------- #elif defined(TARGET_MAX32620FTHR) #warning "TARGET_MAX32620FTHR not previously tested; need to define pins..." +#include "MAX32620FTHR.h" +// Initialize I/O voltages on MAX32620FTHR board +MAX32620FTHR fthr(MAX32620FTHR::VIO_3V3); //#define USE_LEDS 0 ? #define analogIn4_IS_HIGH_RANGE_OF_analogIn0 1 #warning "TARGET_MAX32620FTHR not previously tested; need to verify ADC_FULL_SCALE_VOLTAGE..."