-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loading hex files #18
Comments
I'm also interested by this question, I allow myself a small ping at @ponty @Premik @SebastianZug, please =] How could be launched the Arduino folder of a "sketch"? (an Arduino project) |
There was some patch merged in the past. The ArduinSim now accepts external_elf as the last argument of the init. I think you can just provide a .hex or .axf file name there. |
And what about a regular folder? |
I pressume a regular folder is an Arduino project. If you have multiple files I'm not sure how to do it. I'd personally just compile the sources using Arduino or avr-gcc separately and only simulate the compiled files. But you might check the pyavrutils.arduino.Arduino class of the PyAvrUtils project directly. It is used by pysimavr internally. Perhaps it is able to compile multiple files. |
I searched how to generate a .hex file from the Arduino IDE and it's far more easy than I thought! I just followed this steps http://stackoverflow.com/a/11654333 Thank you, I'll try the external_elf parameter |
I understand that I can execute snippets with the Arduinosim. Is there a way to load a compiled hex file ?
or
I have a project with a handfull of c files. how can i simulate them with Arduinosim ?
Thanks Steve
The text was updated successfully, but these errors were encountered: