RKTNTSTRP-Firmware/RKTNTSTRP-FIRMWARE/platformio.ini
2025-01-25 12:07:39 +01:00

30 lines
No EOL
763 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:ATmega1284P]
platform = atmelavr
board = ATmega1284P
debug_tool = simavr
framework = arduino
upload_protocol = custom
upload_port = /dev/ttyACM0
upload_speed = 19200
upload_flags =
-C$PROJECT_PACKAGES_DIR/tool-avrdude/avrdude.conf
-v
-p
atmega1284p
-c
stk500v1
-P
$UPLOAD_PORT
-b
$UPLOAD_SPEED
upload_command = avrdude $UPLOAD_FLAGS -U flash:w:$SOURCE:i