FremoClockRF/platformio.ini

39 lines
1.0 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]
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
# 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 =
[env:nanoatmega328]
platform = atmelavr
board = nanoatmega328
framework = arduino
lib_deps = ArduinoJson, RadioHead, Adafruit SSD1306, Adafruit_GFX
build_flags = -D WITH_DISPLAY