ponty / pysimavr

python wrapper for simavr which is AVR and arduino simulator
GNU General Public License v3.0
49 stars 14 forks source link

External ELF file support added #10

Closed SebastianZug closed 8 years ago

SebastianZug commented 8 years ago

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

coveralls commented 8 years ago

Coverage Status

Coverage increased (+0.01%) to 83.196% when pulling 5bf84b5a9adfd2a25ef8becd845fec2c901c4a1d on SebastianZug:master into 3b2858e60558a7dc486979fef64c165b65abe9ae on ponty:master.

ponty commented 8 years ago

Thanks for your contribution! If you have any examples, you can add them to the examples folder.