bigtreetech / BIGTREETECH-SKR-V1.3

32bit board with LPC1768, support marlin2.0 and smoothieware, support lcd2004/12864, On-board TMC2130 SPI interface and TMC2208 UART interface no additional wiring is required
1.01k stars 1.15k forks source link

SKR 1.4 Turbo cannot compile with LCD\Controller options enabled #560

Open Beochie opened 2 years ago

Beochie commented 2 years ago

Using VScode (V1.64.2) and PIO(Core5.2.5). Marlin-bugfix-2.0.X I cannot successfully compile if I have "#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER" enabled or any other LCD\Controller option enabled.

In PIO, I have removed and re-added U8glib but I still cant get a good compile. everything will compile fine until I uncomment the option mentioned above.

I've been dinking with this for a day, I'm at a loss. Any help would be appreciated.

c:/users/Billybob/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe: cannot open linker script file C:/Users/Billybob/.platformio/packages/framework-arduino-lpc176x/system/CMSIS/system/LPC1768.ld: Invalid argument collect2.exe: error: ld returned 1 exit status *** [.pio\build\LPC1769\firmware.elf] Error 1 ========================================================= [FAILED] Took 106.81 seconds ========================================================= Environment Status Duration


LPC1769 FAILED 00:01:46.813 ==================================================== 1 failed, 0 succeeded in 00:01:46.813 ==================================================== The terminal process "C:\Users\Billybob.platformio\penv\Scripts\platformio.exe 'run'" terminated with exit code: 1.

maxholgasson commented 1 year ago

Did you figure out a solution?

maxiwolleb commented 1 year ago

i got the same problem

maxholgasson commented 1 year ago

I deleted all the LCD stuff and it worked. Not a nice solution but it would be in any case better using the latest marlin firmware..but could get it working with the SKR 1.4

maxiwolleb commented 1 year ago

i got LCD and Printer working with Marlin 2.1.2 and a clean setup

maxholgasson commented 1 year ago

i got LCD and Printer working with Marlin 2.1.2 and a clean setup

Nice!! would you mind sharing your config files or the ones you needed to change?

maxiwolleb commented 1 year ago

https://github.com/maxiwolleb/Marlin/tree/2.1.2-AnetA8MKS14Turbo