MackieLoeffel / avr-vm

VM with JIT-compiler for ATMega32 written in Rust
MIT License
114 stars 0 forks source link

How to add support for other AVR MCUs? #2

Open slaff opened 4 years ago

slaff commented 4 years ago

This is a VM for the AVR ATmega32 microcontroller written in Rust.

Is it possible to add support for other AVR microcontrollers? If yes - Is there a documentation how to add support for example for attiny mcus?

MackieLoeffel commented 4 years ago

I don't know what the difference between the ATmega32 and other AVR microcontrollers is. The main functionallity of this project is the decoding and emulation of instructions. So if the instructions are similar, then it should not be very hard to add support for other AVR microcontrollers. But there is no documentation for it and the code was developed with only ATmega32 in mind.