Sun, 25 Oct 2020 17:02:53 +0100
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).
| 26 | 1 | Use mbed 5.14 |
| 2 | ||
| 3 | For some reason I had to disable mbed-client-cli/ (multiple definition of `cmd' error at | |
| 4 | link time). | |
| 5 | Put a .mbedignore file in: | |
| 6 | ||
| 7 | $ cd /home/david/.platformio/packages/framework-mbed@6.51504.200716/features | |
| 8 | $ cat .mbedignore | |
| 9 | mbed-client-cli/* | |
| 10 | frameworks/mbed-client-cli/* | |
| 11 | ||
| 12 | see https://docs.platformio.org/en/latest/frameworks/mbed.html#ignoring-particular-components |