This commit is contained in:
Stephen Crane 2018-11-18 14:56:07 +00:00
parent 9be438f526
commit 473f3b2bc2

View File

@ -1,16 +1,16 @@
BOARD := d1_mini
UPLOAD_SPEED := 921600
SPIFFS_DIR := programs
FLASH_SIZE := 4M1M
BUILD_FCPU := 80000000L
CPPFLAGS = -DUSER_SETUP_LOADED -DILI9341_DRIVER \
-DTFT_WIDTH=240 -DTFT_HEIGHT=320 \
-DTFT_CS=PIN_D6 -DTFT_DC=PIN_D8 \
-DTFT_RST=-1 -DSPI_FREQUENCY=40000000 -DLOAD_GLCD
LIBRARIES := TFT_eSPI
include arduino-esp.mk
#BOARD := d1_mini
#UPLOAD_SPEED := 921600
#SPIFFS_DIR := programs
#FLASH_SIZE := 4M1M
#BUILD_FCPU := 80000000L
#
#CPPFLAGS = -DUSER_SETUP_LOADED -DILI9341_DRIVER \
# -DTFT_WIDTH=240 -DTFT_HEIGHT=320 \
# -DTFT_CS=PIN_D6 -DTFT_DC=PIN_D8 \
# -DTFT_RST=-1 -DSPI_FREQUENCY=40000000 -DLOAD_GLCD
#LIBRARIES := TFT_eSPI
#
#include arduino-esp.mk
#PROCESSOR_FAMILY := lm4f
#BOARD := lplm4f120h5qr
@ -18,3 +18,16 @@ include arduino-esp.mk
#LIBRARIES := UTFT SD SpiRAM
#
#include energia10.mk
BOARD := node32s
UPLOAD_SPEED := 921600
TERM_SPEED := 115200
SPIFFS_DIR := programs
CPPFLAGS = -DDEBUG -DCPU_DEBUG \
-DUSER_SETUP_LOADED -DILI9341_DRIVER -DTFT_CS=5 -DTFT_DC=2 \
-DTFT_RST=-1 -DTFT_WIDTH=240 -DTFT_HEIGHT=320 \
-DSPI_FREQUENCY=40000000 -DLOAD_GLCD
LIBRARIES = TFT_eSPI FS SPIFFS
include arduino-esp32.mk