custom_targets.json

Sun, 25 Oct 2020 16:58:38 +0100

author
David Douard <david.douard@sdf3.org>
date
Sun, 25 Oct 2020 16:58:38 +0100
changeset 29
276195d58a1d
parent 28
424d792fea4f
child 60
5a2f23410b4d
permissions
-rw-r--r--

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

{
    "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"
	}
}

mercurial