-
Notifications
You must be signed in to change notification settings - Fork 15
/
platformio.ini
163 lines (149 loc) · 3.76 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
; 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
[platformio]
description = ESP32 GPS Navigator
default_envs = ICENAV_BOARD
[common]
platform = espressif32
framework = arduino
version = 0.1.8
revision = 82
monitor_speed = 115200
;monitor_rts = 0
;monitor_dtr = 0
monitor_filters =
esp32_exception_decoder
extra_scripts = pre:prebuild.py
build_flags =
-D LV_CONF_PATH="${PROJECT_DIR}/lib/lvgl/lv_conf.h"
-D CORE_DEBUG_LEVEL=0
-D USE_LINE_BUFFER=1
-D DISABLE_RADIO=1
-D BAUDRATE=115200
-D DEBUG=1
-D SHELLMINATOR_BUFF_LEN=70
-D SHELLMINATOR_BUFF_DIM=70
-D SHELLMINATOR_LOGO_COLOR=BLUE
-D COMMANDER_MAX_COMMAND_SIZE=70
-D WCLI_MAX_CMDS=14 # set n+1 of defined commands for CLI
; -D DISABLE_CLI_TELNET=1 # disable remote access via telnet. It needs CLI
; -D DISABLE_CLI=1 # removed CLI module. Config via Bluetooth only
lib_deps =
; slashdevin/[email protected]
https://github.com/jgauchia/NeoGPS.git#43c4766
lvgl/[email protected]
lovyan03/[email protected]
bblanchon/[email protected]
hpsaturn/[email protected]
hpsaturn/ESP32 Wifi [email protected]
kubafilinger/[email protected]
esphome/[email protected]
[esp32_common]
extends = common
[env:ICENAV_BOARD]
extends = esp32_common
board = icenav-esp32-s3
lib_deps =
${common.lib_deps}
adafruit/Adafruit Unified [email protected]
adafruit/Adafruit [email protected]
adafruit/Adafruit BME280 [email protected]
dfrobot/[email protected]
build_flags =
${common.build_flags}
[env:TDECK_ESP32S3]
extends = esp32_common
board = T-Deck
upload_speed = 921600
build_flags =
${common.build_flags}
-DBOARD_HAS_PSRAM
-DADC1
-DBATT_PIN=ADC1_CHANNEL_3
-DPOWER_SAVE
-DAT6558D_GPS
-DARDUINO_USB_CDC_ON_BOOT=1
[env:ELECROW_ESP32]
extends = esp32_common
board = elecrow-esp32-s3-n16r8v-terminal
lib_deps =
${common.lib_deps}
; adafruit/Adafruit Unified [email protected]
; adafruit/Adafruit [email protected]
; adafruit/Adafruit BME280 [email protected]
; dfrobot/[email protected]
build_flags =
${common.build_flags}
-DILI9488_FT5x06_16B
-DADC2
-DBATT_PIN=ADC2_CHANNEL_6
-DPOWER_SAVE
;-DAT6558D_GPS
;-DHMC5883L
;-DBME280
-DTFT_BL=46
[env:MAKERF_ESP32S3]
extends = esp32_common
board = esp32-s3-devkitc-1
board_build.mcu = esp32s3
board_build.f_cpu = 240000000L
lib_deps =
${common.lib_deps}
; bolderflight/Bolder Flight Systems MPU9250@^1.0.2
build_flags =
${common.build_flags}
-DBOARD_HAS_PSRAM
-DADC1
;-DAT6558D_GPS
;-DIMU_MPU9250
-DILI9488_FT5x06_16B
-DTFT_BL=45
[env:ESP32_N16R4]
extends = esp32_common
board = esp-wrover-kit
board_upload.flash_size = 16MB
board_build.partitions = default_16MB.csv
lib_deps =
${common.lib_deps}
; adafruit/Adafruit Unified [email protected]
; adafruit/Adafruit [email protected]
; adafruit/Adafruit BME280 [email protected]
; dfrobot/[email protected]
build_flags =
${common.build_flags}
-DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue
;-DADC1
;-DAT6558D_GPS
;-DHMC5883L
;-DBME280
;-DILI9488_XPT2046_SPI
;-DTFT_BL=33
[env:ESP32S3_N16R8]
extends = esp32_common
board = esp32-s3-devkitc-1-n16r8v
board_build.partitions = default_16MB.csv
lib_deps =
${common.lib_deps}
; adafruit/Adafruit Unified [email protected]
; adafruit/Adafruit [email protected]
; adafruit/Adafruit BME280 [email protected]
; dfrobot/[email protected]
build_flags =
${common.build_flags}
-DBOARD_HAS_PSRAM
-DARDUINO_USB_MODE=1
;-DARDUINO_USB_CDC_ON_BOOT=1
;-DADC1
;-DILI9488_FT5x06_SPI
;-DAT6558D_GPS
;-DQMC5883
;-DBME280
;-DTFT_BL=45