mirror of
https://github.com/meshtastic/firmware.git
synced 2026-01-02 08:00:38 +00:00
- use LovyanGFX for m5stack
- update some comments
This commit is contained in:
@@ -2,8 +2,6 @@
|
||||
extends = esp32_base
|
||||
board = m5stack-core-esp32
|
||||
board_level = extra
|
||||
upload_port = COM8
|
||||
monitor_port = COM8
|
||||
monitor_filters = esp32_exception_decoder
|
||||
build_src_filter =
|
||||
${esp32_base.build_src_filter}
|
||||
@@ -28,4 +26,4 @@ lib_ignore =
|
||||
m5stack-core
|
||||
lib_deps =
|
||||
${esp32_base.lib_deps}
|
||||
bodmer/TFT_eSPI@^2.4.76
|
||||
lovyan03/LovyanGFX@^1.1.7
|
||||
|
||||
@@ -34,8 +34,13 @@
|
||||
#define GPS_RX_PIN 16
|
||||
#define GPS_TX_PIN 17
|
||||
|
||||
// Define if screen should be mirrored left to right
|
||||
#define SCREEN_ROTATE
|
||||
#define TFT_HEIGHT 240
|
||||
#define TFT_WIDTH 320
|
||||
#define TFT_OFFSET_X 0
|
||||
#define TFT_OFFSET_Y 0
|
||||
#define TFT_BUSY -1
|
||||
|
||||
// LCD screens are slow, so slowdown the wipe so it looks better
|
||||
#define SCREEN_TRANSITION_FRAMERATE 1 // fps
|
||||
|
||||
#define ILI9341_SPI_HOST VSPI_HOST // VSPI_HOST or HSPI_HOST
|
||||
|
||||
Reference in New Issue
Block a user