-
Notifications
You must be signed in to change notification settings - Fork 25
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
build failed with Arduino #36
Comments
Hi @19504643, In my experience, there have been issues using the Arduino IDE to compile Marlin 2.0 for STM32 boards for a while. I recommend using PlatformIO, as documented here: https://github.com/Aus3D/RUMBA32/wiki/Marlin---Build-and-Upload-(PlatformIO) I am not sure if your issues relate to this or not - but when I last tried, I was not able to get a successful compilation out of the IDE at all, even after all other errors were resolved. So, it's something I would recommend in general if convenient. You are correct to have changed the board define. This is better captured on the above page, along with the info page here: https://github.com/Aus3D/RUMBA32/wiki/Recommended-Marlin-Configuration The instructions on configuring for the Arduino IDE are a little out of date at this stage, hence the wrong board definition. The error that you are seeing seems to relate to the way timers are handled. Timer handling errors often relate to having the wrong version of the STM32duino Core installed (my understanding is that Marlin currently needs a slightly older version - not the latest - installed). I believe it is 1.7.0 that is needed but am not sure. PlatformIO grabs the specific version needed automatically, another reason I would recommend going that route. I would suggest checking which version of the STM32Duino Core is installed, and changing it to v1.7.0 if possible. Otherwise, swapping over to use PlatformIO should resolve this issue automatically. Let me know if you're still stuck, happy to look into it more. |
ok, I change back the STM32Duino Core to v1.7.0 and it works, finally I get the bin file, and flash it to the board |
I'm using marlin bugfix-2.0.x branch, following the setup https://github.com/Aus3D/RUMBA32/wiki/Getting-RUMBA32-Up-&-Running#arduino-setup

first I got the board config error:
I changed
BOARD_RUMBA32
toBOARD_RUMBA32_V1_0
then I got errors:
The text was updated successfully, but these errors were encountered: