Skip to content
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

Open
mrcbax opened this issue Mar 8, 2019 · 4 comments
Open

Support for other micros. #5

mrcbax opened this issue Mar 8, 2019 · 4 comments

Comments

@mrcbax
Copy link

mrcbax commented Mar 8, 2019

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.

@jjkt
Copy link
Owner

jjkt commented Mar 9, 2019

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?

@mrcbax
Copy link
Author

mrcbax commented Mar 9, 2019

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.

@jjkt
Copy link
Owner

jjkt commented Mar 9, 2019 via email

@mrcbax
Copy link
Author

mrcbax commented Mar 9, 2019

Ok currently pretty busy I'll get around to looking into it this coming week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants