Simulavr from Source

I discovered today that the Ubuntu repository version (through Mint) of Simulavr is quite out of date. Here are the devices supported by the package:

at90s1200
at90s2313
at90s4414
at90s8515
atmega8
atmega16
atmega103
atmega128
at43usb351
at43usb353
at43usb355
at43usb320
at43usb325
at43usb326

And here are the devices supported in the current build from the Git repo:

at90can128
at90can32
at90can64
at90s4433
at90s8515
atmega128
atmega1284
atmega1284a
atmega16
atmega164
atmega164a
atmega168
atmega32
atmega324
atmega324a
atmega328
atmega48
atmega644
atmega644a
atmega8
atmega88
attiny2313
attiny25
attiny45
attiny85

That’s a big difference if you’re targeting ATMega devices! It’s easy to build from source. Clone the repo:

git clone git://git.sv.gnu.org/simulavr.git

Install needed dependencies (there may be more, but these are the ones I was missing):

apt-get install zlib1g-dev g++ binutils-dev texinfo

Switch to the checkout directory and build:

cd simulavr
./bootstrap
./configure
make

I’m glad to see development on this is still going on. I hope to see more devices added in the future.

This entry was posted in AVR, Linux, Programming. Bookmark the permalink.