You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
; Run the following command to upload with this environment; pio run -e Upload_ISP -t upload[env:Upload_ISP]; Custom upload procedureupload_protocol = custom
; Avrdude upload flagsupload_flags =
-C$PROJECT_PACKAGES_DIR/tool-avrdude/avrdude.conf
-patmega328pb
-PUSB
-cusbasp
; Avrdude upload commandupload_command = avrdude $UPLOAD_FLAGS -U flash:w:$SOURCE:i
not everything compile well :( - yes, this looks as issue to amperka but i thought about agility of platform io.
I would not write the full upload command, just set MCU in board file.
upload_command - I use this currently.
Please consider to add upload.mcu
like existing build.mcu
in case upload.mcu is absent then pio would use build.mcu
https://github.com/platformio/platform-atmelavr/blob/d9d2738bcb1c632e2f5e3c57318e6ae8281ee960/builder/main.py#L207C20-L207C20
it needs to support Amperka boards
they compile code as build.mcu=atmega328p
but upload as upload.mcu=tmega328pb
see https://github.com/amperka/amperka-boards/blob/master/platform.txt#L11C8-L11C8
The text was updated successfully, but these errors were encountered: