Closed ghost closed 3 years ago
I figured my mistake. I renamed firmware.bin to Robin_e3.bin and I didn't see there was already a file named Robin_e3.bin in the .pio folder.
The line #define ONBOARD_SD_CS_PIN SD_SS_PIN works for the error I was getting though.
(New to github, sorry if this post is not necessary). I just bought a mks robin e3d v1.1 and I try to compile the version of marlin provided by mks : https://github.com/makerbase-mks/MKS-Robin-E3-E3D/tree/master/firmware/V1.1/Marlin-2.0.6.1_for_ender3_TMC2209
I just changed in Configuration.h : Disable
#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
Enable#define CR10_STOCKDISPLAY
and in Configuration_adv.h : Enable
#define SDCARD_CONNECTION ONBOARD
I get the "ONBOARD_SD_CS_PIN not declared" error when changing sd connection from lcd to onboard.
When I add
#define ONBOARD_SD_SS_PIN SS_PIN
in pins_MKS_ROBIN_E3.h file I get the same error. I tried#define ONBOARD_SD_CS_PIN SS_PIN
, it compile fine but then when updating it get stuck at 100%.