-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathplatformio.ini
More file actions
141 lines (130 loc) · 3.2 KB
/
platformio.ini
File metadata and controls
141 lines (130 loc) · 3.2 KB
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
; 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@6.9.0
framework = arduino
version = 0.2.6
revision = 93
monitor_speed = 115200
;monitor_rts = 0
;monitor_dtr = 0
monitor_filters =
esp32_exception_decoder
extra_scripts = pre:prebuild.py
build_flags =
-O3
-D LV_CONF_PATH="\"${PROJECT_DIR}/lib/lvgl/lv_conf.h\""
-D CORE_DEBUG_LEVEL=0
-D NDEBUG ; Disables C assert() in release builds
-D DISABLE_RADIO=1
-D BAUDRATE=115200
-D DEBUG=1 ; Enables ESP-IDF/Arduino log macros (independent of NDEBUG)
-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=12 # 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/NeoGPS@4.2.9
https://github.com/lovyan03/LovyanGFX.git#7c8fd62
https://github.com/jgauchia/NeoGPS.git#43c4766
;https://github.com/lovyan03/LovyanGFX.git#develop
;lovyan03/LovyanGFX@1.2.7
lvgl/lvgl@9.5.0
hpsaturn/EasyPreferences@0.1.4
hpsaturn/ESP32 Wifi CLI@0.3.5
jpb10/SolarCalculator@2.0.2
https://github.com/leethomason/tinyxml2.git
[esp32_common]
extends = common
[env:ICENAV_BOARD]
;build_type = debug
extends = esp32_common
board = icenav-esp32-s3
lib_deps =
${common.lib_deps}
build_flags =
${common.build_flags}
[env:TDECK_ESP32S3]
extends = esp32_common
board = T-Deck
lib_deps =
${common.lib_deps}
build_flags =
${common.build_flags}
-DADC1
-DBATT_PIN=ADC1_CHANNEL_3
-DPOWER_SAVE
-DAT6558D_GPS
[env:ELECROW_ESP32]
extends = esp32_common
board = elecrow-esp32-s3-n16r8v-terminal
lib_deps =
${common.lib_deps}
build_flags =
${common.build_flags}
-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}
build_flags =
${common.build_flags}
-DBOARD_HAS_PSRAM
-DADC1
-DBATT_PIN=ADC1_CHANNEL_3
;-DAT6558D_GPS
;-DIMU_MPU9250
[env:ESP32S3_N16R8]
extends = esp32_common
board = esp32-s3-devkitc-1-n16r8v
board_build.partitions = default_16MB.csv
lib_deps =
${common.lib_deps}
build_flags =
${common.build_flags}
-DBOARD_HAS_PSRAM
-DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1
;-DADC1
-DILI9341_NOTOUCH_SPI
;-DAT6558D_GPS
;-DQMC5883
;-DBME280
-DSPI_SHARED
-DTFT_BL=45
[env:T4_S3]
extends = esp32_common
board = T-Display-AMOLED
board_build.partitions = default_16MB.csv
lib_deps =
${common.lib_deps}
build_flags =
${common.build_flags}
-DBOARD_HAS_PSRAM
-DARDUINO_USB_MODE=1
-DPOWER_SAVE
-DT4_S3
-DARDUINO_USB_CDC_ON_BOOT=1
;-DQMC5883