A AVR/Arduino Simulator based on avr8js with focus on automated tests
10K+
virtualavr
An AVR/Arduino Simulator based on avr8js with focus on automated tests.
You want to test your microcontroller program on an integration level without flashing a real microprocessor every time?
You want to test some code that interacts with a microprocessor but you want to test without having real hardware connected and flashed (e.g. on a ci server)?
This is where virtualavr comes into play
virtualavr comes as a Docker image that provides a virtual AVR including a virtual serial device which you can connect to just like to real hardware.
Full example, you can pass the devicename as well the code that gets compiled and the executed on the virtual AVR docker run -e VIRTUALDEVICE=/dev/ttyUSB0 -e FILENAME=myArduinoSketch.ino -v /dev:/dev -v /path/of/the/sketch:/sketch -d pfichtner/virtualavr
Further information see https://github.com/pfichtner/virtualavr
Content type
Image
Digest
sha256:02e479766…
Size
366.8 MB
Last updated
10 months ago
docker pull pfichtner/virtualavr