Not everyday that this #opensource maintainer get nice emails like this! #simavr #arduino

Hi Michael (and other maintainers of SimAVR),

***I wanted to express my utmost gratitude for your work on SimAVR. It’s an amazing piece of software to be made freely available, and it really saved my ass this past weekend when I had to quickly develop a custom bootloader for an ATmega128 without having any access to hardware, for an academic team I work with.***

Some "lab" is requesting canonical #ubuntu to register a pair of bugs in #simavr as CVEs. Because apparently, it is similar to QEMU -- #lol --
Are they being paid for that sort of stuff?

https://github.com/buserror/simavr

GitHub - buserror/simavr: simavr is a lean, mean and hackable AVR simulator for linux & OSX

simavr is a lean, mean and hackable AVR simulator for linux & OSX - buserror/simavr

GitHub
Mind blown by the fact #libmui reached over 300 stars on github. Probably took 5+ years for #simavr to reach that level. I thought i was making a tiny niche toy and #boom!

Threeboard: Short on Keys, Long on Documentation

As peripherals go, few are hacked on more than keyboards. The layouts, the shapes, the sizes, materials, and even the question of what a keyboard is are all on the table for tinkering. In that vein, [TaylorConor] released his simplified keyboard called the threeboard on GitHub, having only three keys and replicating a full keyboard.

We've covered keyboards built with chording in mind, wrapped around coffee cups, and keyboards with joysticks for added speed. So why cover this one? What makes it different? The execution is superb and is a great example to look at next time you're making a project you want to show off. The keyboard is just three mechanical switches, two 8-bit binary displays (16 LEDs total), three status LEDs, and three LEDs showing the current layer (four layers). The detailed user's manual explains it all. There is a reliable Atmega32U4 microcontroller and two EEPROM chips at its heart.

Where this project shows off is the testing. It has unit tests, simulated integration tests, and simulated property tests. Since all the code is in C++, unit testing is relatively straightforward. The integration and property tests are via a simulator. Rather than recompiling the code with some new flags, he uses the simavr AVR simulator, which means it simulates the same binary file that gets flashed onto the microcontroller. This approach means the design is tested and debugged via GDB. It's an incredible technique we'd love to see more of in hobby projects. Marketing speak might call this a "digital twin" but the idea is that you have a virtual version that's easier to work on and has a tighter iteration loop while being as close as possible to the physical version.

[TaylorConor's] goal was to create a from-scratch microcontroller project with easy-to-read code, fantastic documentation, and best practices. We think he nailed it. So feel free to run the simulator or jump right into building one for yourself. All the hardware is under a CERN-OHL-P license, and the firmware is under GPLv3.

#microcontrollers #peripheralshacks #atmega32u4 #keyboard #simavr #simulator

Threeboard: Short On Keys, Long On Documentation

As peripherals go, few are hacked on more than keyboards. The layouts, the shapes, the sizes, materials, and even the question of what a keyboard is are all on the table for tinkering. In that vein…

Hackaday