-
-
Notifications
You must be signed in to change notification settings - Fork 19.2k
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
[BUG] Compile error after updating to STM32 7.0.0 #18505
Comments
Please try searching for the issue first. These are the threads that I've found that may help you. |
I'm seeing the same issue on a Robin Nano/latest |
My PR to upgrade to 7.0 (#18496) is only for boards using HAL/STM32. In the bugfix-2.0.x branch boards using HAL/STM32F1 are already capped to ststm32 6.1. |
Not on the Nano apparently. Or PIO is ignoring the cap since it happily updated on my build. Lines 630 to 645 in 7b6629c
The other Nano environment uses different settings: Lines 543 to 553 in 7b6629c
|
I'd call that a merge error. |
Could be. I don't know why or if they need to be different. |
These are the only unique lines:
You could probably replace it with this and it would work fine:
If you make that edit you should relocate it in the file to be next to the |
Using the updated > Executing task: platformio run <
Processing mks_robin_nano35 (platform: ststm32@<6.2.0; framework: arduino)
----------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
Error: BoardConfig: Board is not defined
================================================ [FAILED] Took 0.57 seconds ================================================ Wiping out PIO folders (including a super delete/reset) didn't help, so maybe it has to use Edit: Here's a link to my Robin Nano 1.2/TFT35 LVGL build for testing. |
I think I got the |
I went back and edited that snippet a few replies up so anybody can copy/paste it and it will work now. |
I put in PR #18516 to get this fixed for everyone. |
@Miraculix200 this fix has been merged into the |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I'm not sure if this is a bug with Marlin or something else?
Board: BOARD_MKS_ROBIN_NANO
After updating the STM32 platform on PlatformIO to ST STM32 7.0.0 > STM32F103VE using the command "platformio update" under Linux, I can't compile Marlin anymore.
I've tried it with a lightly modified vanilla version of branch bugfix-2.0.x (set the correct board BOARD_MKS_ROBIN_NANO and enabled FSMC_GRAPHICAL_DISPLAY).
Compilation terminates with this error:
Any idea how to fix it?
The file is actually present in my file system under ~/.platformio/packages/framework-arduinoststm32-maple/STM32F1/system/libmaple/include/libmaple/gpio.h
I have no idea why it doesn't find it anymore.
Edit: For now I've reverted back to PLATFORM: ST STM32 6.1.1 > STM32F103VE by restoring a backup of the ~/.platformio folder, and compilation succeeds again
The text was updated successfully, but these errors were encountered: