Files
StepperTester/firmware/platformio.ini
2021-04-14 22:26:02 -07:00

30 lines
798 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:ATmega328]
platform = atmelavr
board = ATmega328
framework = arduino
board_build.f_cpu = 8000000L
upload_protocol = custom
upload_port = usb
upload_flags =
-e
-C
$PROJECT_PACKAGES_DIR/tool-avrdude/avrdude.conf
-p
$BOARD_MCU
-P
$UPLOAD_PORT
-c
usbasp
upload_command = avrdude $UPLOAD_FLAGS -U flash:w:$SOURCE:i -U lfuse:w:0xe2:m -U hfuse:w:0xde:m -U efuse:w:0xfd:m
lib_deps = bitbucket-fmalpartida/LiquidCrystal@^1.5.0