Commit 3b09cfd99518d3777d0380b4425c778f4b84ed83
authorga <ga@oldell.fish>
Tue, 24 Aug 2021 08:00:51 +0000 (09:00 +0100)
committerga <ga@oldell.fish>
Thu, 12 May 2022 07:56:41 +0000 (08:56 +0100)
tree4772b9aa18d3c63bbcec5219dafe510e82332a65
parent02a39e66f502836ce3995a2795fd24591fea9cb7
Message:
Pull the .hex loading code out of run_avr.c and make it available as
a function, sim_setup_firmware(), that also handles ELF firmware.
Add a test, test_atmega88_hex.c, and use the new function in other tests.
7 files changed:
simavr/sim/run_avr.c
simavr/sim/sim_hex.c
simavr/sim/sim_hex.h
tests/Makefile
tests/test_atmega88_hex.c [new file with mode: 0644]
tests/tests.c
tests/tests.h