Hacker News new | past | comments | ask | show | jobs | submit login

does this support gcc-avr?



Clarify? Are you asking if you'll be able to compile something with avr-gcc and upload it to the emulator? If so... maybe.

All of my test code was compiled with Crosspack AVR libc. The bundle has its own test code which was very useful.


Yes, sorry, I asked in haste. "Can I compile with gcc-avr and use that rather than your fine compiler" was the actual intended question.


s/fine/crappy. Alas, all I can say is maybe. Because this emulator doesn't have some of the components that, say, an Arduino UNO might have, it doesn't support the entire AVR instruction set. For example, there is no UART support. I did write a bit that listens on a port where I could send the emulator keystrokes to mock up a UART (mostly just because I was stuck on something else and needed a distraction), but I didn't need IO, so there really is none, currently.

Uploading machine code -might- break something. But in a fun way, I think.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: