makerbase-mks / MKS-SGEN_L-V2

MKS SGEN_L V2.0 is powerful 32-bit 3D printer control board. The CPU is LPC1769 120MHZ, SGEN_L V2 hardware Integrated 4KB EEPROM, 5AXIS and dual Z interface, has 2 way FANs and Dc12/24V out interface, support TMC UART and SPI mode...
https://www.aliexpress.com/item/4001283346331.html?spm=a2g0o.store_home.slider_165457030.0
GNU General Public License v3.0
70 stars 28 forks source link

Error Compiling - MKS SGen_L V2.0 #61

Open buiduy6868 opened 3 years ago

buiduy6868 commented 3 years ago

Anyone can help one this error, I can not flash to my new board MKS SGen_L V2.0

In file included from c:\users\khach\appdata\local\temp\arduino_build_566565\sketch\src\inc\MarlinConfigPre.h:48:0,

             from c:\users\khach\appdata\local\temp\arduino_build_566565\sketch\src\inc\marlinconfig.h:28,

             from sketch\src\HAL\LPC1768\tft\tft_spi.cpp:23:

c:\users\khach\appdata\local\temp\arduino_build_566565\sketch\src\hal\avr\inc\conditionals_lcd.h:25:4: error: #error "Sorry! TFT displays are not available for HAL/AVR."

error "Sorry! TFT displays are not available for HAL/AVR."

^~~~~

In file included from c:\users\khach\appdata\local\temp\arduino_build_566565\sketch\src\pins\pins.h:416:0,

             from c:\users\khach\appdata\local\temp\arduino_build_566565\sketch\src\inc\marlinconfig.h:32,

             from sketch\src\HAL\LPC1768\tft\tft_spi.cpp:23:

c:\users\khach\appdata\local\temp\arduino_build_566565\sketch\src\pins\lpc1769/pins_MKS_SGEN_L_V2.h:29:4: error: #error "Oops! Make sure you have the LPC1769 environment selected in your IDE."

error "Oops! Make sure you have the LPC1769 environment selected in your IDE."

^~~~~

In file included from sketch\src\HAL\LPC1768\tft\tft_spi.cpp:27:0:

sketch\src\HAL\LPC1768\tft\tft_spi.h:27:10: fatal error: lpc17xx_ssp.h: No such file or directory

include

      ^~~~~~~~~~~~~~~

compilation terminated.

exit status 1 Error compiling for board Arduino Mega or Mega 2560.

buiduy6868 commented 3 years ago

I'm using arduino 1.8.12

ILGROSSOFA commented 3 years ago

I suggest to use Vs code with Platform.io https://code.visualstudio.com/ https://youtu.be/eq_ygvHF29I

buiduy6868 commented 3 years ago

I suggest to use Vs code with Platform.io https://code.visualstudio.com/ https://youtu.be/eq_ygvHF29I

THANKS A LOT