First of all, pysimavr is a great tool, it provides an intuitive and flexible access on the AVR tool chain!
In some cases it might be helpful to run an externally generated elf file in the simulator. This is maybe interesting for complex projects, involving a number of libs and many source code files. At the end you are able to develop your code in your favourite IDE and execute the resulting elf by pysimavr.
I added a new member variable "external_elf" and its initialisation. At three points a switch between the conventional snippet based simulation and the new option was included.
If you are interested I will prepare a small makefile example to illustrate the capabilities of this extension.
Coverage increased (+0.01%) to 83.196% when pulling 5bf84b5a9adfd2a25ef8becd845fec2c901c4a1d on SebastianZug:master into 3b2858e60558a7dc486979fef64c165b65abe9ae on ponty:master.
Dear ponty,
First of all, pysimavr is a great tool, it provides an intuitive and flexible access on the AVR tool chain!
In some cases it might be helpful to run an externally generated elf file in the simulator. This is maybe interesting for complex projects, involving a number of libs and many source code files. At the end you are able to develop your code in your favourite IDE and execute the resulting elf by pysimavr.
I added a new member variable "external_elf" and its initialisation. At three points a switch between the conventional snippet based simulation and the new option was included.
If you are interested I will prepare a small makefile example to illustrate the capabilities of this extension.
Regards,
Sebastian