# HG changeset patch # User David Douard # Date 1603641518 -3600 # Node ID 276195d58a1deb474473c374beee44d7f81a784a # Parent 424d792fea4ffb38e15a9e15e61d2f3bc0de31e6 Set custom_config for the F303RD - remove "supported_form_factors": irrelevant - rename as HP34970_FP_F303RD - enforce HSE_XTAL clock source - add USBDEVICE flag in device_had_add - set ROM size to 384ko diff -r 424d792fea4f -r 276195d58a1d custom_targets.json --- a/custom_targets.json Fri Oct 16 22:08:47 2020 +0200 +++ b/custom_targets.json Sun Oct 25 16:58:38 2020 +0100 @@ -1,12 +1,8 @@ { - "HP34970_FP": { + "HP34970_FP_F303RD": { "inherits": [ "MCU_STM32_BAREMETAL" ], - "supported_form_factors": [ - "ARDUINO", - "MORPHO" - ], "core": "Cortex-M4F", "extra_labels_add": [ "STM32F3", @@ -16,7 +12,7 @@ "config": { "clock_source": { "help": "Mask value : USE_PLL_HSE_EXTC | USE_PLL_HSE_XTAL (need HW patch) | USE_PLL_HSI", - "value": "USE_PLL_HSE_EXTC|USE_PLL_HSI", + "value": "USE_PLL_HSE_XTAL", "macro_name": "CLOCK_SOURCE" } }, @@ -32,8 +28,10 @@ "CRC", "SERIAL_ASYNCH", "FLASH", + "USBDEVICE", "MPU" ], + "mbed_rom_size": "0x60000", "bootloader_supported": true, "device_name": "STM32F303RE" }