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:
finga 2022-03-27 22:10:07 +02:00
parent 34d1623abb
commit 800d3ff8c3

View file

@ -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"] }