Added target for viewing the generated assembly

This commit is contained in:
Imbus 2024-02-10 15:04:03 +01:00
parent 0f6256d9ce
commit eb77cd1577

View file

@ -43,6 +43,10 @@ flash: $(TARGET).hex
qemu: $(TARGET).elf qemu: $(TARGET).elf
qemu-system-avr -machine $(QEMU_MACHINE_NAME) -bios $(TARGET).elf qemu-system-avr -machine $(QEMU_MACHINE_NAME) -bios $(TARGET).elf
# View the generated assembly
asm: $(TARGET).hex
avr-objdump -S $(TARGET).elf
# Clean # Clean
clean: clean:
rm -f $(OBJS) $(TARGET).elf $(TARGET).hex rm -f $(OBJS) $(TARGET).elf $(TARGET).hex