-
Notifications
You must be signed in to change notification settings - Fork 4
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
Support for other micros. #5
Comments
Sounds good. For now the zmu cli tool and the building has been done with single target only, but adding another architecture would help to remove the possible assumptions from the tool. My base idea for the tool is that you compile it for your specific target by defining needed feature flags. This is done for maximizing the simulation performance as it removes the need for do dynamic checks at runtime. What would be the best minimal first target you could work on? |
Considering the current fork rust-avr that adds support for atmel micros to the rust compiler i feel this would be pretty simple. I'd probably start with an attiny85 and work my way up to some sort of atmega. Although as you say with args users can just define what controller they want and you can just have a lookup table of micro specs that can be fed into the emulator. I have to review your code to see if what I'm proposing is even possible for me to do. I'll let you know. |
To be clear, the support for avr should be separated to its own lib,
parallel to zmu_cortexm. This way the main cli can be built with either
library.
- zmu -> zmu_cortex_m
- zmu -> zmu_avr
|
Ok currently pretty busy I'll get around to looking into it this coming week. |
I would be willing to help with support for Atmel controllers like the ATTiny and ATMega. If these can be emulated you could in theory use this for arduino development without an arduino.
The text was updated successfully, but these errors were encountered: