mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-20 20:39:06 +00:00
all: implement tinygo flash command
This will now just work:
tinygo flash -target=arduino examples/blinky1
This commit is contained in:
@@ -3,5 +3,6 @@
|
||||
"build-tags": ["avr", "avr8", "atmega", "atmega328p", "js", "wasm"],
|
||||
"linker": "avr-gcc",
|
||||
"pre-link-args": ["-nostdlib", "-T", "targets/avr.ld", "-Wl,--gc-sections", "targets/avr.S"],
|
||||
"objcopy": "avr-objcopy"
|
||||
"objcopy": "avr-objcopy",
|
||||
"flash": "avrdude -c arduino -p atmega328p -P {port} -U flash:w:{hex}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user