26 lines
772 B
INI
26 lines
772 B
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:main]
|
|
platform = atmelavr
|
|
board = nanoatmega328
|
|
framework = arduino
|
|
lib_deps =
|
|
https://github.com/marcoschwartz/LiquidCrystal_I2C
|
|
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
|