My struggle with bare-metal programming on the Arduino R4 Minima
- Never rely on ChatGPT to generate low-level code;
- Never flash a bootloader of a different microcontroller onto your board
Recently, I embarked on a journey to explore bare-metal programming. My initial intetion when I approached this kind of programming was to gain a deeper understanding of how a computer really works. I've been curious about the inner workings of operating systems, so I decided to learn a bit more. First, tried to read the Minix book by Andrew S. Tanenbaum, but found out that Minix is almost dead nowadays. Last time I tried to compile it, it was failing due to a cause I couldn't figure out. So I decided to try something else.