Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nucleo F446ZE supported since v2.7.0, but json file missing Arduino core entries under PlatformIO? #2350

Closed
pmantoine opened this issue Apr 25, 2024 · 2 comments

Comments

@pmantoine
Copy link
Contributor

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...

@fpistm
Copy link
Member

fpistm commented Apr 25, 2024

Pio issue.

@fpistm fpistm closed this as completed Apr 25, 2024
@pmantoine
Copy link
Contributor Author

PIO file edited and PR submitted and accepted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants