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

mbed_app.json

Committer:
psionprime
Date:
2019-04-05
Revision:
9:29f7bb957c34

File content as of revision 9:29f7bb957c34:

{
    "target_overrides": {
        "*": {
            "platform.all-stats-enabled": true
        }
    }
}