Open 19504643 opened 4 years ago
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 the LED1 is blinking, and I install the virtual comport driver, then I found the STMicroelectronics Virtual COM Port (COM10) in device manager, I open it with baudrate 250000 or 115200 in debug monitor, but it seems not working with nothing produced when it startup or I send any gcode, what's the problem
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: