62 lines
1.5 KiB
INI
62 lines
1.5 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]
|
|
build_cache_dir=./.pio/.build_cache
|
|
cache_dir=./.pio/.cache_dir
|
|
|
|
[common]
|
|
platform = espressif32
|
|
framework = arduino
|
|
build_flags =
|
|
'-DPIOENV="${PIOENV}"'
|
|
-D HELTEC_BOARD=30
|
|
-D HELTEC_WIFI_LORA_32_V3
|
|
-D WIFI_LORA_32_V3
|
|
-D MCU_ESP32_S3
|
|
-D RADIO_CHIP_SX1262
|
|
-D CORE_DEBUG_LEVEL=5
|
|
-D SLOW_CLK_TPYE=0
|
|
-D REGION_EU868
|
|
lib_deps =
|
|
olikraus/U8g2@^2.36.15
|
|
jgromes/RadioLib@^7.4.0
|
|
monitor_speed = 115200
|
|
extra_scripts = pre:extra_script.py
|
|
|
|
[env:heltec_wifi_lora_32_V3_sailplane]
|
|
extends = common
|
|
board = heltec_wifi_lora_32_V3
|
|
lib_deps = ${common.lib_deps}
|
|
bolderflight/Bolder Flight Systems MS4525@^1.1.3
|
|
bolderflight/Bolder Flight Systems Unit Conversions@^5.0.0
|
|
bolderflight/Bolder Flight Systems Airdata Calculations@^4.0.0
|
|
adafruit/Adafruit BMP085 Library @ ^1.2.4
|
|
lib_ignore =
|
|
winde
|
|
|
|
|
|
build_flags = ${common.build_flags}
|
|
-D DEVICE_SAILPLANE
|
|
|
|
|
|
[env:heltec_wifi_lora_32_V3_winde]
|
|
extends = common
|
|
board = heltec_wifi_lora_32_V3
|
|
lib_deps = ${common.lib_deps}
|
|
adafruit/Adafruit NeoPixel@^1.15.2
|
|
madhephaestus/ESP32Servo@^3.0.9
|
|
|
|
lib_ignore =
|
|
sailplane
|
|
build_flags = ${common.build_flags}
|
|
-D DEVICE_WINDE
|
|
|