-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
Running PlatformIO, with it telling me:
PLATFORM: ST STM32 (17.3.0) > ST Nucleo F446ZE
HARDWARE: STM32F446ZET6 180MHz, 128KB RAM, 512KB Flash
DEBUG: Current (stlink) On-board (stlink) External (blackmagic, cmsis-dap, jlink)
PACKAGES:
- framework-arduinoststm32 @ 4.20701.0 (2.7.1)
- framework-cmsis @ 2.50900.0 (5.9.0)
- toolchain-gccarmnoneeabi @ 1.120301.0 (12.3.1)
Converting CommandStation-EX.ino
Error: This board doesn't support arduino framework!
This despite supposedly having v2.7.1 of STM32duino core.
When I look in .platformio/platforms/ststm32/boards, the nucleo_f446ze.json file there contains:
{
"build": {
"cpu": "cortex-m4",
"extra_flags": "-DSTM32F4 -DSTM32F446xx",
"f_cpu": "180000000L",
"mcu": "stm32f446zet6",
"product_line": "STM32F446xx"
},
"connectivity": [
"can"
],
"debug": {
"default_tools": [
"stlink"
],
"jlink_device": "STM32F446ZE",
"onboard_tools": [
"stlink"
],
"openocd_board": "st_nucleo_f4",
"openocd_target": "stm32f4x",
"svd_path": "STM32F446x.svd"
},
"frameworks": [
"cmsis",
"mbed",
"stm32cube",
"libopencm3",
"zephyr"
],
"name": "ST Nucleo F446ZE",
"upload": {
"maximum_ram_size": 131072,
"maximum_size": 524288,
"protocol": "stlink",
"protocols": [
"jlink",
"cmsis-dap",
"stlink",
"blackmagic",
"mbed"
]
},
"url": "https://developer.mbed.org/platforms/ST-Nucleo-F446ZE/",
"vendor": "ST"
}
Which clearly lacks the Arduino core mentions.
Is this an issue with PlatformIO?
Happy to help fix it...