ilg-archived / qemu

The GNU MCU Eclipse QEMU
http://gnuarmeclipse.github.io/qemu/
Other
204 stars 78 forks source link

If my code can't fit in my emulated MCU's flash, can I increase somehow? #45

Closed vjpr closed 7 years ago

vjpr commented 7 years ago

Just a quick question...

When I compile for code coverage or when I wrap function calls (i.e. things that I wouldn't do when running on real hardware), my code is too big for the flash.

Seeing as QEMU is emulating the MCU, is there a way I can get my code to fit without making changes to my code (or only making some simple changes)?

ilg-ul commented 7 years ago

as far as I rememeber, there were some command line options to specify the memory size, but I don't remember them, and I don't know if they apply to flash.

generally the recomended use case for qemu is to emulate images that were already functional on physical hardware.

for general support and further questions, please use the project forum.