-
Notifications
You must be signed in to change notification settings - Fork 38
/
platformio.ini
54 lines (47 loc) · 1.13 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
[platformio]
description = ESP32 LoRA APRS modem
default_envs = esp32dev_sx126x_modem
[env]
platform = espressif32 @ 6.4.0
framework = arduino
monitor_speed = 115200
board_build.partitions = min_spiffs.csv
board_build.f_cpu = 80000000L
upload_protocol = esptool
lib_deps =
hideakitai/DebugLog @ 0.6.6
contrem/arduino-timer @ 3.0.1
jgromes/RadioLib @ 6.2.0
rlogiacco/CircularBuffer @ 1.3.3
check_tool = cppcheck
check_flags =
cppcheck: --suppress=*:*.pio\* --inline-suppr -DCPPCHECK
check_skip_packages = yes
[env:esp32dev_sx126x_modem]
board = esp32dev
build_flags =
-D CFG_IS_CLIENT_MODE=true
-D USE_SX126X
[env:esp32dev_sx126x_igate]
board = esp32dev
board_build.f_cpu = 240000000L
build_flags =
-D CFG_IS_CLIENT_MODE=false
-D USE_SX126X
[env:esp32dev_sx127x_modem]
board = esp32dev
build_flags =
-D CFG_IS_CLIENT_MODE=true
[env:esp32dev_sx127x_igate]
board = esp32dev
board_build.f_cpu = 240000000L
build_flags =
-D CFG_IS_CLIENT_MODE=false
[env:ttgo-lora32-v1_modem]
board = ttgo-lora32-v1
build_flags =
-D CFG_IS_CLIENT_MODE=true
[env:ttgo-lora32-v2_modem]
board = ttgo-lora32-v2
build_flags =
-D CFG_IS_CLIENT_MODE=true