| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- ; 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
- [arduino_base]
- framework = arduino
- monitor_speed = 115200
- lib_deps =
- SPI
- Wire
- jgromes/RadioLib @ ^7.1.2
- rweather/Crypto @ ^0.4.0
- adafruit/RTClib @ ^2.1.3
- melopero/Melopero RV3028 @ ^1.1.0
- build_flags = -w -DNDEBUG -DRADIOLIB_STATIC_ONLY=1 -DRADIOLIB_GODMODE=1
- -D LORA_FREQ=867.5
- -D LORA_BW=250
- -D LORA_SF=10
- build_src_filter =
- +<*.cpp>
- +<helpers/*.cpp>
- ; ----------------- ESP32 ---------------------
- [esp32_base]
- extends = arduino_base
- platform = espressif32
- monitor_filters = esp32_exception_decoder
- extra_scripts = merge-bin.py
- build_flags = ${arduino_base.build_flags}
- ; -D ESP32_CPU_FREQ=80 ; change it to your need
- build_src_filter = ${arduino_base.build_src_filter}
- [esp32_ota]
- lib_deps =
- me-no-dev/ESPAsyncWebServer @ ^3.6.0
- file://arch/esp32/AsyncElegantOTA
- ; ----------------- NRF52 ---------------------
- [nrf52_base]
- extends = arduino_base
- platform = nordicnrf52
- build_flags = ${arduino_base.build_flags}
- -D NRF52_PLATFORM
- [nrf52840_base]
- extends = nrf52_base
- build_flags = ${nrf52_base.build_flags}
- lib_deps =
- ${nrf52_base.lib_deps}
- rweather/Crypto @ ^0.4.0
- https://github.com/adafruit/Adafruit_nRF52_Arduino
|