49 lines
1.1 KiB
INI
49 lines
1.1 KiB
INI
; PlatformIO Project Configuration File
|
|
;
|
|
; Build options: build flags, source filter
|
|
; Upload options: custom upload port, speed and extra flags
|
|
; Library options: dependencies, extra library storages
|
|
; Advanced options: extra scripting
|
|
;
|
|
; Please visit documentation for the other options and examples
|
|
; https://docs.platformio.org/page/projectconf.html
|
|
|
|
[env:esp32dev]
|
|
platform = espressif32
|
|
board = esp32dev
|
|
framework = arduino
|
|
upload_port = /dev/cu.wchusbserial533C0037781
|
|
monitor_speed = 115200
|
|
build_unflags = -std=gnu++11
|
|
|
|
build_flags =
|
|
-std=gnu++17
|
|
-Os
|
|
-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
|
|
-DUSER_SETUP_LOADED=1
|
|
-DST7789_DRIVER=1
|
|
-DTFT_WIDTH=135
|
|
-DTFT_HEIGHT=240
|
|
-DCGRAM_OFFSET=1
|
|
-DTFT_MISO=-1
|
|
-DTFT_MOSI=19
|
|
-DTFT_SCLK=18
|
|
-DTFT_CS=5
|
|
-DTFT_DC=16
|
|
-DTFT_RST=23
|
|
-DTFT_BL=4
|
|
-DTFT_BACKLIGHT_ON=1
|
|
-DLOAD_GLCD=1
|
|
-DLOAD_FONT2=1
|
|
-DLOAD_FONT4=1
|
|
-DLOAD_FONT6=1
|
|
-DLOAD_FONT7=1
|
|
-DLOAD_FONT8=1
|
|
-DLOAD_GFXFF=1
|
|
-DSMOOTH_FONT=1
|
|
-DSPI_FREQUENCY=40000000
|
|
-DSPI_READ_FREQUENCY=6000000
|
|
|
|
lib_deps:
|
|
bodmer/TFT_eSPI@^2.4.70
|
|
sparkfun/SparkFun Qwiic 6Dof - LSM6DSO@^1.0.3 |