Giter Club home page Giter Club logo

Comments (2)

chrissbarr avatar chrissbarr commented on August 9, 2024

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.

from rumba32.

19504643 avatar 19504643 commented on August 9, 2024

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

from rumba32.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.