MeshCore/platformio.ini

59 lines
1.5 KiB
INI
Raw Normal View History

2025-01-13 14:07:48 +11: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
[platformio]
extra_configs =
variants/*/platformio.ini
2025-01-13 14:07:48 +11:00
[arduino_base]
framework = arduino
monitor_speed = 115200
2025-03-06 20:43:56 +01:00
lib_deps =
2025-01-13 14:07:48 +11:00
SPI
Wire
2025-03-09 23:44:34 +11:00
jgromes/RadioLib @ ^7.1.2
2025-01-13 14:07:48 +11:00
rweather/Crypto @ ^0.4.0
adafruit/RTClib @ ^2.1.3
melopero/Melopero RV3028 @ ^1.1.0
2025-02-04 12:35:53 +11:00
build_flags = -w -DNDEBUG -DRADIOLIB_STATIC_ONLY=1 -DRADIOLIB_GODMODE=1
2025-01-31 11:51:30 +11:00
-D LORA_FREQ=867.5
2025-01-20 10:20:42 +11:00
-D LORA_BW=250
-D LORA_SF=10
2025-03-07 15:34:00 +01:00
build_src_filter =
+<*.cpp>
+<helpers/*.cpp>
2025-01-13 14:07:48 +11:00
; ----------------- ESP32 ---------------------
2025-01-13 14:07:48 +11:00
[esp32_base]
extends = arduino_base
platform = espressif32
monitor_filters = esp32_exception_decoder
2025-01-25 23:09:09 +11:00
extra_scripts = merge-bin.py
2025-03-11 09:11:14 +01:00
build_flags = ${arduino_base.build_flags}
; -D ESP32_CPU_FREQ=80 ; change it to your need
2025-01-13 14:07:48 +11:00
build_src_filter = ${arduino_base.build_src_filter}
2025-01-20 20:22:40 +11:00
; ----------------- NRF52 ---------------------
[nrf52_base]
extends = arduino_base
platform = nordicnrf52
build_flags = ${arduino_base.build_flags}
-D NRF52_PLATFORM
[nrf52840_base]
extends = nrf52_base
2025-03-06 20:43:56 +01:00
build_flags = ${nrf52_base.build_flags}
2025-01-20 20:22:40 +11:00
lib_deps =
${nrf52_base.lib_deps}
rweather/Crypto @ ^0.4.0
https://github.com/adafruit/Adafruit_nRF52_Arduino