2023-04-22 20:17:56 +02: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:main]
|
|
|
|
platform = atmelavr
|
2023-04-27 01:00:05 +02:00
|
|
|
board = nanoatmega328
|
|
|
|
framework = arduino
|
2023-05-05 23:53:15 +02:00
|
|
|
lib_deps =
|
|
|
|
https://github.com/marcoschwartz/LiquidCrystal_I2C
|
2023-05-06 22:42:44 +02:00
|
|
|
https://github.com/rocketscream/Low-Power
|
2023-05-05 23:53:15 +02:00
|
|
|
upload_protocol = custom
|
|
|
|
upload_flags =
|
|
|
|
-C
|
|
|
|
; use "tool-avrdude-megaavr" for the atmelmegaavr platform
|
|
|
|
${platformio.packages_dir}/tool-avrdude/avrdude.conf
|
|
|
|
-p
|
|
|
|
$BOARD_MCU
|
|
|
|
-c
|
|
|
|
usbtiny
|
|
|
|
upload_command = avrdude $UPLOAD_FLAGS -U flash:w:$SOURCE:i
|