-
Notifications
You must be signed in to change notification settings - Fork 6
/
custom_targets.json
31 lines (31 loc) · 1.04 KB
/
custom_targets.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
"CORE2": {
"inherits": ["FAMILY_STM32"],
"core": "Cortex-M4F",
"extra_labels_add": ["STM32F4", "STM32F407", "STM32F407xG", "STM32F407ZG"],
"supported_toolchains": ["GCC_ARM"],
"config": {
"clock_source": {
"help": "Mask value : USE_PLL_HSE_EXTC (need HW patch) | USE_PLL_HSE_XTAL | USE_PLL_HSI",
"value": "USE_PLL_HSE_XTAL",
"macro_name": "CLOCK_SOURCE"
}
},
"macros_add": [
"USB_STM_HAL",
"INITIAL_SP=0x20020000UL",
"ENCODER_1=TIM2",
"ENCODER_2=TIM8",
"ENCODER_3=TIM3",
"ENCODER_4=TIM4",
"UPPER_RESISTOR=5.6e4",
"LOWER_RESISTOR=1.0e4",
"VIN_MEAS_CORRECTION=0.986"
],
"overrides": {"lse_available": 0},
"device_has_add": ["ANALOGOUT", "TRNG", "FLASH", "MPU", "SERIAL_ASYNCH", "CAN"],
"release_versions": ["5"],
"device_name": "STM32F407ZG",
"bootloader_supported": true
}
}