mbed_app.json

Sun, 25 Oct 2020 17:02:53 +0100

author
David Douard <david.douard@sdf3.org>
date
Sun, 25 Oct 2020 17:02:53 +0100
changeset 30
71be284c66b3
parent 28
424d792fea4f
permissions
-rw-r--r--

Update the custom target HP34970_FP_303RD

update the platformio.ini:
remove unused flags, and configure so it uses includes from the project's root
directory (in TARGET_HP34970_FP_F303RD) so these .h/.c files do not conflict
when compiling for other targets.

Add a TARGET_HP34970_FR_F303RD/ for target specific headers/linker files.
Add a src/TARGET_HP34970_FR_F303RD/ for c files (protected by '#if defined'
statments).

{
    "target_overrides": {
      "*": {
        "platform.callback-nontrivial": true
      },
      "nucleo_f303re": {
        "target.c_lib": "small",
        "target.printf_lib": "minimal-printf",
        "platform.minimal-printf-enable-floating-point": false,
        "platform.stdio-minimal-console-only": true
      }
    }
}

mercurial