This repository was archived by the owner on Mar 10, 2026. It is now read-only.
forked from jgauchia/IceNav-v3
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
99 lines (91 loc) · 2.37 KB
/
Copy pathplatformio.ini
File metadata and controls
99 lines (91 loc) · 2.37 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
; 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 = CUSTOMBOARD
[common]
platform = espressif32
framework = arduino
version = 0.1.7
revision = 38
monitor_speed = 115200
monitor_rts = 0
monitor_dtr = 0
monitor_echo = yes
monitor_filters =
send_on_enter
esp32_exception_decoder
extra_scripts = pre:prebuild.py
build_flags =
-D CORE_DEBUG_LEVEL=5
-D USE_LINE_BUFFER=1
-D DISABLE_RADIO=1
-D GPS_BAUDRATE=9600
-D AT6558D_GPS=1
-D MULTI_GNSS=1
-D BAUDRATE=115200
-D DEBUG=1
lib_deps =
mikalhart/TinyGPSPlus@^1.0.3
paulstoffregen/Time@^1.6.1
; me-no-dev/ESP Async WebServer@^1.2.3
lvgl/lvgl@^8.3.9
lovyan03/LovyanGFX@^1.1.8
jchristensen/Timezone@^1.2.4
[esp32_common]
platform = ${common.platform}
framework = ${common.framework}
monitor_speed = ${common.monitor_speed}
monitor_rts = ${common.monitor_rts}
monitor_dtr = ${common.monitor_dtr}
monitor_echo = ${common.monitor_echo}
monitor_filters = ${common.monitor_filters}
build_flags = ${common.build_flags}
lib_deps = ${common.lib_deps}
extra_scripts = ${common.extra_scripts}
[env:CUSTOMBOARD]
extends = esp32_common
board = esp-wrover-kit
upload_port = /dev/ttyUSB0
board_upload.flash_size = 16MB
board_build.partitions = default_16MB.csv
lib_deps =
${common.lib_deps}
adafruit/Adafruit Unified Sensor@^1.1.13
adafruit/Adafruit HMC5883 Unified@^1.2.1
adafruit/Adafruit BusIO@^1.14.3
adafruit/Adafruit BME280 Library@^2.2.2
; me-no-dev/ESP Async WebServer@^1.2.3 ; Why we need that? This library is heavy (~200kb)
build_flags =
${common.build_flags}
-DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue
-D ENABLE_COMPASS=1
-D ENABLE_BME=1
-D TFT_WIDTH=320
-D TFT_HEIGHT=480
-D TFT_BL=33
[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
-D ENABLE_COMPASS=1
; -D ENABLE_GYRO=1
; -D ENABLE_BME=1
-D TFT_WIDTH=320
-D TFT_HEIGHT=480
-D TFT_BL=45