Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Compiling - MKS SGen_L V2.0 #61

Open
buiduy6868 opened this issue Apr 23, 2021 · 3 comments
Open

Error Compiling - MKS SGen_L V2.0 #61

buiduy6868 opened this issue Apr 23, 2021 · 3 comments

Comments

@buiduy6868
Copy link

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 <lpc17xx_ssp.h>

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

compilation terminated.

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

@buiduy6868
Copy link
Author

I'm using arduino 1.8.12

@ILGROSSOFA
Copy link

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

@buiduy6868
Copy link
Author

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

THANKS A LOT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants