2023-07-31 17:41:25 +00:00
|
|
|
; 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
|
|
|
|
|
2021-04-09 19:34:23 +00:00
|
|
|
[platformio]
|
|
|
|
default_envs = lora_board
|
|
|
|
|
2020-04-17 14:33:30 +00:00
|
|
|
[env]
|
2024-05-25 20:01:05 +00:00
|
|
|
platform = espressif32 @ 6.7.0
|
2020-05-08 21:59:19 +00:00
|
|
|
framework = arduino
|
2020-04-05 16:21:24 +00:00
|
|
|
lib_ldf_mode = deep+
|
|
|
|
monitor_speed = 115200
|
2022-10-25 17:13:21 +00:00
|
|
|
monitor_raw = yes
|
2020-04-05 16:21:24 +00:00
|
|
|
lib_deps =
|
2024-06-28 00:13:27 +00:00
|
|
|
bblanchon/ArduinoJson @ 7.1.0
|
2023-01-20 10:44:41 +00:00
|
|
|
lewisxhe/AXP202X_Library @ 1.1.3
|
2021-01-04 22:10:23 +00:00
|
|
|
peterus/APRS-Decoder-Lib @ 0.0.6
|
2022-03-19 17:43:48 +00:00
|
|
|
peterus/esp-logger @ 1.0.0
|
2023-09-15 00:12:32 +00:00
|
|
|
peterus/ESP-FTP-Server-Lib @ 0.14.1
|
2022-02-23 18:40:31 +00:00
|
|
|
knolleary/PubSubClient@^2.8
|
2024-05-22 00:12:37 +00:00
|
|
|
mikalhart/TinyGPSPlus @ 1.1.0
|
2022-03-27 00:02:14 +00:00
|
|
|
shaggydog/OneButton @ 1.5.0
|
2024-05-29 00:13:55 +00:00
|
|
|
jgromes/RadioLib @ 6.6.0
|
2020-05-29 19:13:11 +00:00
|
|
|
check_tool = cppcheck
|
2023-09-23 13:47:14 +00:00
|
|
|
check_flags = cppcheck: --std=c++20 --suppress=*:*.pio\* --inline-suppr --suppress=unusedFunction --suppress=shadowFunction:*TimeLib.cpp --suppress=unreadVariable:*TimeLib.cpp --suppress=badBitmaskCheck:*project_configuration.cpp
|
2021-01-19 22:12:55 +00:00
|
|
|
check_skip_packages = yes
|
2023-02-18 10:51:39 +00:00
|
|
|
test_build_src = yes
|
2023-08-02 13:35:55 +00:00
|
|
|
# activate for OTA Update, use the CALLSIGN from is-cfg.json as upload_port:
|
|
|
|
#upload_protocol = espota
|
|
|
|
#upload_port = <CALLSIGN>.local
|
2020-04-17 14:33:30 +00:00
|
|
|
|
2020-12-17 21:13:06 +00:00
|
|
|
[env:lora_board]
|
2020-12-03 22:09:29 +00:00
|
|
|
board = esp32doit-devkit-v1
|
2024-01-08 21:27:43 +00:00
|
|
|
build_flags = -Werror -Wall -DUNITY_INCLUDE_PRINT_FORMATTED -DCONFIG_ETH_ENABLED
|
2021-04-09 19:34:23 +00:00
|
|
|
|
2023-07-31 17:41:25 +00:00
|
|
|
[env:lora_v3_board]
|
|
|
|
board = heltec_wifi_lora_32_V3
|
2024-01-08 21:27:43 +00:00
|
|
|
build_flags = -Werror -Wall -DUNITY_INCLUDE_PRINT_FORMATTED -DCONFIG_ETH_ENABLED
|
2023-07-31 17:41:25 +00:00
|
|
|
|
2021-04-09 19:34:23 +00:00
|
|
|
[env:lora_board_debug]
|
|
|
|
board = esp32doit-devkit-v1
|
2024-01-08 21:27:43 +00:00
|
|
|
build_flags = -Werror -Wall -DCORE_DEBUG_LEVEL=5 -DUNITY_INCLUDE_PRINT_FORMATTED -DCONFIG_ETH_ENABLED
|
2021-01-30 21:47:24 +00:00
|
|
|
build_type = debug
|