2022-05-09 17:50:39 +00:00
|
|
|
[env:m5stack-core]
|
|
|
|
extends = esp32_base
|
|
|
|
board = m5stack-core-esp32
|
|
|
|
upload_port = COM8
|
|
|
|
monitor_port = COM8
|
|
|
|
monitor_filters = esp32_exception_decoder
|
2022-05-10 09:07:49 +00:00
|
|
|
src_filter =
|
|
|
|
${esp32_base.src_filter}
|
|
|
|
+<../variants/m5stack_core>
|
2022-05-09 17:50:39 +00:00
|
|
|
build_flags =
|
|
|
|
${esp32_base.build_flags} -D PRIVATE_HW -I variants/m5stack_core
|
|
|
|
-DILI9341_DRIVER
|
|
|
|
-DM5STACK
|
|
|
|
-DUSER_SETUP_LOADED
|
|
|
|
-DTFT_SDA_READ
|
|
|
|
-DTFT_DRIVER=0x9341
|
|
|
|
-DTFT_MISO=19
|
|
|
|
-DTFT_MOSI=23
|
|
|
|
-DTFT_SCLK=18
|
|
|
|
-DTFT_CS=14
|
|
|
|
-DTFT_DC=27
|
|
|
|
-DTFT_RST=33
|
|
|
|
-DTFT_BL=32
|
|
|
|
-DSPI_FREQUENCY=40000000
|
|
|
|
-DSPI_READ_FREQUENCY=16000000
|
|
|
|
lib_ignore =
|
|
|
|
m5stack-core
|
|
|
|
lib_deps =
|
|
|
|
${esp32_base.lib_deps}
|
2022-05-10 09:07:49 +00:00
|
|
|
bodmer/TFT_eSPI@^2.4.61
|