2018-10-18 19:05:40 +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
|
|
|
|
|
|
|
|
[platformio]
|
|
|
|
env_default = nanoatmega168
|
|
|
|
|
|
|
|
[env:pro8MHzatmega328]
|
|
|
|
platform = atmelavr
|
|
|
|
board = pro8MHzatmega328
|
|
|
|
framework = arduino
|
|
|
|
lib_deps = ArduinoJson, RadioHead, Adafruit SSD1306, Adafruit_GFX
|
|
|
|
build_flags = -D WITH_DISPLAY
|
|
|
|
|
|
|
|
[env:nanoatmega168]
|
|
|
|
platform = atmelavr
|
|
|
|
board = nanoatmega168
|
|
|
|
framework = arduino
|
2018-11-15 12:01:09 +00:00
|
|
|
# lib_deps = ArduinoJson, RadioHead
|
|
|
|
lib_deps = ArduinoJson, RF24
|
|
|
|
# build_flags = -D FCRF_RadioHead
|
|
|
|
build_flags = -D FCRF_RF24
|
|
|
|
#upload_port = /dev/cu.wchusbserial1410
|
|
|
|
#upload_speed = 38400
|
|
|
|
#upload_protocol =
|
2018-10-18 19:05:40 +00:00
|
|
|
|
|
|
|
[env:nanoatmega328]
|
|
|
|
platform = atmelavr
|
|
|
|
board = nanoatmega328
|
|
|
|
framework = arduino
|
|
|
|
lib_deps = ArduinoJson, RadioHead, Adafruit SSD1306, Adafruit_GFX
|
|
|
|
build_flags = -D WITH_DISPLAY
|