Myself and others new to mbed having trouble understanding the various arcane requirements. Adding a mbed_app.json file to enable a library feature instead of using a #define is one of them. Sharing this to help others.
Dependencies: max32630fthr USBDevice
Diff: main.cpp
- Revision:
- 8:d2b660bf5f94
- Parent:
- 6:684c51f32c1d
- Child:
- 9:29f7bb957c34
diff -r 55708293bda8 -r d2b660bf5f94 main.cpp --- a/main.cpp Mon Feb 06 23:40:01 2017 +0000 +++ b/main.cpp Thu Nov 16 21:27:19 2017 +0000 @@ -8,7 +8,7 @@ Serial daplink(P2_1, P2_0); // Virtual serial port over USB -USBSerial microUSB; +USBSerial microUSB; DigitalOut rLED(LED1); DigitalOut gLED(LED2);