fw-rust: Create "all" build task [CI SKIP]
The "all" task configures a new mcu. It burns the fuses, configures the eeprom and flashs the firmware.
This commit is contained in:
parent
34d1623abb
commit
800d3ff8c3
1 changed files with 4 additions and 0 deletions
|
@ -39,3 +39,7 @@ args = ["-p", "${MCU}", "-c", "${PROGRAMMER}", "-U", "eeprom:w:target/avr-atmega
|
||||||
description = "Burn the fuses"
|
description = "Burn the fuses"
|
||||||
command = "avrdude"
|
command = "avrdude"
|
||||||
args = ["-p", "${MCU}", "-c", "${PROGRAMMER}", "-U", "efuse:w:${EXTENDED_FUSE}:m", "-U", "hfuse:w:${HIGH_FUSE}:m", "-U", "lfuse:w:${LOW_FUSE}:m"]
|
args = ["-p", "${MCU}", "-c", "${PROGRAMMER}", "-U", "efuse:w:${EXTENDED_FUSE}:m", "-U", "hfuse:w:${HIGH_FUSE}:m", "-U", "lfuse:w:${LOW_FUSE}:m"]
|
||||||
|
|
||||||
|
[tasks.all]
|
||||||
|
description = "Execute all tasks"
|
||||||
|
run_task = { name = ["fuses", "eeprom", "flash"] }
|
||||||
|
|
Loading…
Reference in a new issue