simavr
simavr copied to clipboard
simavr is a lean, mean and hackable AVR simulator for linux & OSX
Two very small changes...
Based on sim_mega128.c as the ATmega64 is essentially a smaller ATmega128. The few differences are show here: https://www.avrfreaks.net/sites/default/files/doc2539.pdf
### Summary With Mesa OpenGL utility library (GLU) version 9.0.2 installed, running `make build-example` can fail with error like `undefined reference to symbol 'glEnd'` or `undefined reference to symbol 'glEnable'`....
`WDIE` should be only cleared in "Interrupt and System Reset Mode". The fix is to add `&& avr_regbit_get(avr, p->wde)` condition. https://github.com/buserror/simavr/blob/a56b550872906a971ac128002772d90c9e30377d/simavr/sim/avr_watchdog.c#L172-L188 I think I'll submit a PR (unless someone does...
usbip won out and is now bundled with the kernel
The AVR USB code hard-caps the number of endpoints at 5. https://github.com/buserror/simavr/blob/ea4c4504d15117223a23e2dd6edb745fea61ceae/simavr/sim/avr_usb.c#L151 https://github.com/buserror/simavr/blob/ea4c4504d15117223a23e2dd6edb745fea61ceae/simavr/sim/avr_usb.c#L156 This is as expected for the AT90 example part but is too small for parts like the...
HI! I'm doing a read transaction using poll-based acking (as opposed to TWIE) on an atmega32u4. The MCU's datasheet (section 20.5.5) states: > When an event requiring the attention of...
I could not get this project to compile as-is under a Windows + MSys2 MinGW environment due to multiple errors: * the `WIN` macro responsible for detection of MSys is...
Greetings. It appears you might use some help with maintenance of the project. What would it take for us to set up a little release process and delegate some repository...
When building simavr, at the start it informs about not being able to give ATMega328PB support. ``` cc -E -Werror -O2 -Wall -Wextra -Wno-unused-parameter -Wno-unused-result -Wno-missing-field-initializers -Wno-sign-compare -g -I/include -DNO_COLOR...