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).
{ "HP34970_FP_F303RD": { "inherits": [ "MCU_STM32_BAREMETAL" ], "core": "Cortex-M4F", "extra_labels_add": [ "STM32F3", "STM32F303xE", "STM32F303RE" ], "config": { "clock_source": { "help": "Mask value : USE_PLL_HSE_EXTC | USE_PLL_HSE_XTAL (need HW patch) | USE_PLL_HSI", "value": "USE_PLL_HSE_XTAL", "macro_name": "CLOCK_SOURCE" } }, "components_add": [ "FLASHIAP" ], "detect_code": [ "0745" ], "device_has_add": [ "ANALOGOUT", "CAN", "CRC", "SERIAL_ASYNCH", "FLASH", "USBDEVICE", "MPU" ], "mbed_rom_size": "0x60000", "bootloader_supported": true, "device_name": "STM32F303RE" } }