50 lines
1.2 KiB
INI
50 lines
1.2 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
|
|
|
|
[env:pro-mini]
|
|
platform = atmelavr
|
|
board = miniatmega328
|
|
framework = arduino
|
|
lib_extra_dirs =
|
|
../libraries
|
|
lib_deps =
|
|
sui77/rc-switch@^2.6.3
|
|
bblanchon/ArduinoJson@6.16.1
|
|
adafruit/Adafruit Unified Sensor@^1.1.4
|
|
adafruit/DHT sensor library@1.3.10
|
|
build_flags = -D DHT_SENSOR=0
|
|
upload_port = /dev/ttyUSB0
|
|
|
|
[env:native]
|
|
platform = native
|
|
test_filter = test_native
|
|
|
|
[env:embedded]
|
|
platform = atmelavr
|
|
framework = arduino
|
|
board = miniatmega328
|
|
lib_extra_dirs =
|
|
../libraries
|
|
lib_deps =
|
|
sui77/rc-switch@^2.6.3
|
|
bblanchon/ArduinoJson@6.16.1
|
|
|
|
platform_packages =
|
|
platformio/tool-simavr
|
|
test_speed = 9600
|
|
test_testing_command =
|
|
${platformio.packages_dir}/tool-simavr/bin/simavr
|
|
-m
|
|
atmega328p
|
|
-f
|
|
16000000L
|
|
${platformio.build_dir}/${this.__env__}/firmware.elf
|
|
test_filter = test_embedded
|