forked from Max-Plastix/tbeam-helium-mapper
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathplatformio.ini
More file actions
65 lines (57 loc) · 1.46 KB
/
Copy pathplatformio.ini
File metadata and controls
65 lines (57 loc) · 1.46 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
; 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]
src_dir = main
[env]
platform = espressif32@6.12.0
board = ttgo-t-beam
framework = arduino
build_flags =
-Wall
-Wextra
-D ARDUINO_TTGO_LoRa32_V1
lib_deps =
thingpulse/ESP8266 and ESP32 OLED driver for SSD1306 displays@4.6.1
mikalhart/TinyGPSPlus@1.1.0
lewisxhe/XPowersLib@0.3.0
jgromes/RadioLib@7.2.1
sparkfun/SparkFun u-blox GNSS Arduino Library@2.2.28
monitor_speed = 115200
; monitor_port = COM17
upload_speed = 921600
; upload_port = COM17
[env:release_SX1262]
extends = env
build_flags =
${env.build_flags}
-D ARDUINO_TBEAM_USE_RADIO_SX1262
[env:debug_SX1262]
extends = env
build_flags =
${env.build_flags}
-D ARDUINO_TBEAM_USE_RADIO_SX1262
-D DEBUG
-D RADIOLIB_DEBUG_PROTOCOL
-D RADIOLIB_DEBUG_BASIC
-D CORE_DEBUG_LEVEL=5
[env:release_SX1276]
extends = env
build_flags =
${env.build_flags}
-D ARDUINO_TBEAM_USE_RADIO_SX1276
[env:debug_SX1276]
extends = env
build_flags =
${env.build_flags}
-D ARDUINO_TBEAM_USE_RADIO_SX1276
-D DEBUG
-D RADIOLIB_DEBUG_PROTOCOL
-D RADIOLIB_DEBUG_BASIC
-D CORE_DEBUG_LEVEL=5