Updated qemu targets
This commit is contained in:
parent
446dad0242
commit
0990cb8f48
1 changed files with 3 additions and 3 deletions
6
makefile
6
makefile
|
@ -47,8 +47,8 @@ flash: $(TARGET).hex
|
||||||
avrdude -p $(MCU) -c $(PROGRAMMER) -U flash:w:$(TARGET).hex
|
avrdude -p $(MCU) -c $(PROGRAMMER) -U flash:w:$(TARGET).hex
|
||||||
|
|
||||||
# Run the program in QEMU
|
# Run the program in QEMU
|
||||||
qemu: $(TARGET).elf
|
qemu: $(OBJDIR)/$(TARGET).elf
|
||||||
qemu-system-avr -machine $(QEMU_MACHINE_NAME) -bios $(OBJDIR)/$(TARGET).elf
|
qemu-system-avr --nographic -machine $(QEMU_MACHINE_NAME) -bios $(OBJDIR)/$(TARGET).elf
|
||||||
|
|
||||||
# View the generated assembly
|
# View the generated assembly
|
||||||
asm: $(TARGET).hex
|
asm: $(TARGET).hex
|
||||||
|
@ -81,4 +81,4 @@ read-eeprom:
|
||||||
read-fuses:
|
read-fuses:
|
||||||
avrdude -p $(MCU) -c $(PROGRAMMER) -U lfuse:r:-:h -U hfuse:r:-:h -U efuse:r:-:h
|
avrdude -p $(MCU) -c $(PROGRAMMER) -U lfuse:r:-:h -U hfuse:r:-:h -U efuse:r:-:h
|
||||||
|
|
||||||
.PHONY: all clean flash qemu asm serial reset read-flash read-eeprom size
|
.PHONY: all clean flash qemu asm serial reset read-flash read-eeprom size
|
||||||
|
|
Loading…
Reference in a new issue