v3_firmware/platformio.ini

41 lines
998 B
INI
Raw Normal View History

2021-02-01 17:29:05 +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
[env:ATtiny3216]
platform = atmelmegaavr
board = ATtiny3216
framework = arduino
# Board Config
2021-03-02 16:57:20 +00:00
board_build.f_cpu = 8000000L
2021-02-01 17:29:05 +00:00
board_hardware.oscillator = internal
board_hardware.bod = disabled
# Debug Port Config
monitor_speed = 115200
# LMIC Config via Build Flags
build_flags =
-D CFG_eu868
-D CFG_sx1276_radio
-D DISABLE_PING
-D DISABLE_BEACONS
-D ARDUINO_LMIC_PROJECT_CONFIG_H_SUPPRESS
# Programmer Config (MicroUPDI)
upload_port = usb
upload_protocol = xplainedmini_updi
upload_flags =
-p$BOARD_MCU
-P$UPLOAD_PORT
-c$UPLOAD_PROTOCOL
lib_deps =
2021-03-02 16:57:20 +00:00
mcci-catena/MCCI LoRaWAN LMIC library @ ^3.3.0