C_Allen
December 27, 2021, 1:11am
1
Getting an error when trying to upload my sketch in the Arduino 1.8.19 IDE;
Arduino: 1.8.19 (Windows 10), Board: “Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)”
In file included from C:\Users\charl\Downloads\MaslowDue-master\MaslowDue-master\MaslowDue\MaslowDue.ino:34:0:
grbl.h:70:10: fatal error: cstdint: No such file or directory
#include
^~~~~~~~~
compilation terminated.
exit status 1
cstdint: No such file or directory
Any assistance is Greatly Appreciated.
Orob
December 27, 2021, 1:32pm
2
are you opening the project within the compressed zip file? Please fully extract and try again.
RYoung
February 19, 2022, 4:48pm
3
I’m having the same issue, did you figure out how to resolve it?
Orob
February 20, 2022, 2:35pm
4
This looks like the firmware is trying to compile to a mega 2560 when it should be targeting the due or vice versa. If you have an M2 with the newer Due controller, you must install the 32 bit Due target files so it will compile correctly. There is information about how to do it here .
1 Like
RYoung
February 21, 2022, 9:35pm
5
it is a mega 2560 i have the classic maslow kit and maker made documents say to use makerverse which wants the firmware update
Orob
February 21, 2022, 11:31pm
6
So you need 51.28 firmware , you need to completely unzip it before opening the .ino file with the Arduino ide. Select the proper communication port and the mega 2560 as the board and then press the arrow to compile and upload it.
RYoung
February 22, 2022, 3:39am
7
Thanks, but i dont know where to find version 51.28 that doesnt give me this issue. MakerVerse is sending me to this site:
GitHub - makermadecnc/MaslowDue: Maslow CNC, second generation based on GRBL and Arduino Due
Orob
February 22, 2022, 3:23pm
8
this message says you are trying to load firmware for a due on a mega 2560
that link you provided is the firmware for the M2 controller.
this is the repository you need to compile from. a copy of the 51.28.hex file is included in the releases link on the right of the page
To get the correct branch, you will need to clone the repository and go to the “holey” branch.
1 Like