-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
50 lines (43 loc) · 1.06 KB
/
platformio.ini
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
42
43
44
45
46
47
48
49
50
;
; cls & C:\Users\fstorm\.platformio\penv\Scripts\platformio.exe run --target upload --target monitor
;
[platformio]
src_dir = .
[env]
platform = espressif32
board = esp32dev
framework = arduino
monitor_filters = esp32_exception_decoder
lib_deps =
bodmer/TFT_eSPI @ ^2.3.59
siara-cc/Sqlite Micro Logger @ ^1.2
rlogiacco/CircularBuffer @ ^1.3.3
src_build_flags =
-D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_INFO
-D LOG_LOCAL_LEVEL=ESP_LOG_INFO
; -D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
; -D LOG_LOCAL_LEVEL=ESP_LOG_DEBUG
; -D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_VERBOSE
; -D LOG_LOCAL_LEVEL=ESP_LOG_VERBOSE
build_flags =
-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_FONT2=1
-DLOAD_FONT4=1
-DSPI_FREQUENCY=40000000
-DSPI_READ_FREQUENCY=6000000
upload_speed = 921600
monitor_speed = 115200
[env:Default]