-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathplatformio.ini
More file actions
41 lines (37 loc) · 955 Bytes
/
Copy pathplatformio.ini
File metadata and controls
41 lines (37 loc) · 955 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[env:nodemcuv2]
platform = espressif8266
board = nodemcuv2
framework = arduino
board_build.filesystem = littlefs
lib_deps =
bodmer/TFT_eSPI@^2.5.43
tzapu/WiFiManager@^2.0.17
bblanchon/ArduinoJson@^7.0.0
bodmer/TJpg_Decoder@^1.0.8
build_flags =
-D PIO_FRAMEWORK_ARDUINO_MMU_CACHE16_IRAM48_SECHEAP_SHARED
-D USER_SETUP_LOADED=1
-D ST7789_DRIVER=1
-D TFT_WIDTH=240
-D TFT_HEIGHT=240
-D TFT_MOSI=13
-D TFT_SCLK=14
-D TFT_CS=-1
-D TFT_DC=0
-D TFT_RST=2
-D TFT_BL=5
-D TOUCH_CS=-1
-D LOAD_GLCD=1
-D LOAD_FONT2=1
-D LOAD_FONT4=1
-D LOAD_FONT6=1
-D LOAD_FONT7=1
-D SPI_FREQUENCY=40000000
-D SPI_READ_FREQUENCY=20000000
monitor_speed = 115200
; Configure OTA targets per machine in a local override, for example:
; platformio.local.ini
; [env:nodemcuv2]
; upload_protocol = espota
; upload_port = 192.168.x.x
; upload_flags = --auth=<current-admin-password>