Closed Ajtak closed 3 years ago
How to fix it?
Not use Arduino IDE. Use Visual Studio Code with Platform.io plugin.
Which branch are you building?
How are you building it, and what board are you targeting? You may be building for more than one type of board.
VSCode/Platformio works, but Marlin should support Arduino IDE.
I'm building default branch (creality-cr6-merge-attempt) for Arduino Mega or Mega 2560 board
That's probably the issue here. Can you please try VSCode?
@Ajtak The printer uses an STM32, not an 8-bit Arduino, so some libraries might be broken just from that. I don't know if the Arduino IDE can compile Marlin for STM32, but you have to at least install the board plugin for them and set the correct chip.
Tried many times with Arduino IDE with no success. VScode + Platform.io + Auto Build Marlin worked from the first time. Consider following the guide on official Marlin site here.
Apologies, half of my comment didn't post - was going to add that since everyone on this fork is a VSCode user (AFAIK), it may be useful asking in the Marlin project this is forked from: https://github.com/MarlinFirmware/Marlin
Closing this as this is probably an upstream issue.
If I tried build in Arduino IDE, I'm getting this error:
How to fix it? Thanks