mirror of
https://github.com/ratspeak/microReticulum
synced 2026-11-22 23:10:38 +00:00
132 lines
2.7 KiB
INI
132 lines
2.7 KiB
INI
; 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]
|
|
include_dir = .
|
|
src_dir = .
|
|
|
|
[env]
|
|
monitor_speed = 115200
|
|
upload_speed = 460800
|
|
build_type = debug
|
|
build_flags =
|
|
-Wall
|
|
-Wno-missing-field-initializers
|
|
-Wno-format
|
|
-I.
|
|
;-DRNS_MEM_LOG=1
|
|
-DRNS_USE_FS
|
|
-DRNS_PERSIST_PATHS
|
|
lib_deps =
|
|
ArduinoJson@^7.4.2
|
|
MsgPack@^0.4.2
|
|
sandeepmistry/LoRa @ ^0.8.0
|
|
https://github.com/attermann/Crypto.git
|
|
microReticulum=symlink://../..
|
|
universal_filesystem=symlink://../common/universal_filesystem
|
|
lora_interface=symlink://../common/lora_interface
|
|
|
|
[env:ttgo-lora32-v21]
|
|
framework = arduino
|
|
platform = espressif32
|
|
board = ttgo-lora32-v21
|
|
board_build.partitions = no_ota.csv
|
|
build_flags =
|
|
${env.build_flags}
|
|
-Wextra
|
|
-DBOARD_ESP32
|
|
-DMSGPACK_USE_BOOST=OFF
|
|
lib_deps =
|
|
${env.lib_deps}
|
|
monitor_filters = esp32_exception_decoder
|
|
|
|
[env:ttgo-t-beam]
|
|
framework = arduino
|
|
platform = espressif32
|
|
board = ttgo-t-beam
|
|
board_build.partitions = no_ota.csv
|
|
;board_build.partitions = huge_app.csv
|
|
build_flags =
|
|
${env.build_flags}
|
|
-Wextra
|
|
-DBOARD_ESP32
|
|
-DMSGPACK_USE_BOOST=OFF
|
|
lib_deps =
|
|
${env.lib_deps}
|
|
monitor_filters = esp32_exception_decoder
|
|
|
|
[env:lilygo_tbeam_supreme]
|
|
framework = arduino
|
|
platform = espressif32
|
|
board = t-beams3-supreme
|
|
board_build.partitions = no_ota.csv
|
|
;board_build.partitions = huge_app.csv
|
|
build_flags =
|
|
${env.build_flags}
|
|
-Wextra
|
|
-DBOARD_ESP32
|
|
-DMSGPACK_USE_BOOST=OFF
|
|
lib_deps =
|
|
${env.lib_deps}
|
|
monitor_filters = esp32_exception_decoder
|
|
|
|
[env:wiscore_rak4631]
|
|
framework = arduino
|
|
platform = nordicnrf52
|
|
board = rak4630
|
|
board_build.partitions = no_ota.csv
|
|
board_build.FileSystem = littlefs
|
|
build_src_filter = ${env.build_src_filter}+<../variants/rak4630>
|
|
build_flags =
|
|
${env.build_flags}
|
|
-I variants/rak4630
|
|
;-Wextra
|
|
-fexceptions
|
|
-DBOARD_NRF52
|
|
-DRNS_USE_TLSF=1
|
|
-DRNS_USE_ALLOCATOR=1
|
|
-DMSGPACK_USE_BOOST=OFF
|
|
build_unflags = -fno-exceptions
|
|
lib_deps =
|
|
${env.lib_deps}
|
|
adafruit/Adafruit TinyUSB Library
|
|
|
|
[env:nrf52840_dk_adafruit]
|
|
framework = arduino
|
|
platform = nordicnrf52
|
|
board = nrf52840_dk_adafruit
|
|
monitor_speed = 115200
|
|
build_flags =
|
|
${env.build_flags}
|
|
;-Wextra
|
|
-fexceptions
|
|
-DBOARD_NRF52
|
|
-DRNS_USE_TLSF=1
|
|
-DRNS_USE_ALLOCATOR=1
|
|
-DMSGPACK_USE_BOOST=OFF
|
|
lib_deps =
|
|
${env.lib_deps}
|
|
|
|
[env:nrf52_dk]
|
|
framework = arduino
|
|
;framework = zephyr
|
|
platform = nordicnrf52
|
|
board = nrf52_dk
|
|
build_flags =
|
|
${env.build_flags}
|
|
;-Wextra
|
|
-fexceptions
|
|
-DBOARD_NRF52
|
|
-DRNS_USE_TLSF=1
|
|
-DRNS_USE_ALLOCATOR=1
|
|
-DMSGPACK_USE_BOOST=OFF
|
|
lib_deps =
|
|
${env.lib_deps}
|