Shortcomings of todays human-computer interaction

I have spent a lot of time in front of a computer. That's because you can do a lot of amazing stuff with it. I don't think I ejony the process that much though. Sometimes there is so much clicking and pointing to do simple stuff. I don't think I would code without using VIM or at least adding VIM bindings to the text editor I'm using. I just can't use mouse when I code. [Read More]

[Knowledge snippet] - STM32 bootloader

You programmed STM32 microcontroller using Nucleo or Discovery boards. Those use Serial Wire Debug (SWD) for programming/debugging. Now you are designing a PCB with STM32 microcontroller on it which means you have to be able to program it. One of the solutions is uploading the code through a bootloader - small piece of software made by ST that's in the protected memory of the microcontroller (read-only). It reads the data being sent from the PC and copies it into FLASH memory. [Read More]

[STM32] - part 2 - Lets look inside!

Still wondering why it all works? Why this black square does things? Lets go deeper. Previously I explained a bit about processor architecture. It's the basis of the chip. It's a fundament. You won't find anything about an UART in a Technical Reference Manual of Cortex-M4. It's just not a part of this fundament. When you get an STM32 microcontroller based on the Cortex-M4 architecture you just get microcontroller made by ST which uses this specific architecture. [Read More]

[STM32] - part 1 - Cortex what...?

Recently I wrote a short article about setting up an environment for programming STM32 microcontrollers with the libopencm3 library. You can read it here. I wanted to write the second part as soon as possible but I found out that even though I could, I didn't understand everything well enough. I just didn't feel comfortable with the subject. That's why I started this series. I want to explore what actually happens when you program STM32 microcontroller. [Read More]

Adventures in libopencm3 - part 1

Recently I started working on a new project. It will take some time before the goal of the project is even worth mentioning. The important part is that it is an electronics/hardware project and it needs an energy efficient compyting unit. For early development I chose an ARM Cortex M3 STM32F3 microcontroller. More precisely STM32F303K8T6 mostly because I have a Nucleo board with this chip laying around. What's intersting is that ARM chips are so popular you can also choose a framework. [Read More]

Compiling Raylib programs with SCons

If you like writing programs in C, are interested in game developement and don't enjoy all those complicated and ancient build systems I think I've got something of interest to you. I belive there is something enjoyable in the simple setup I'm describing below. Hope you will enjoy as well. Raylib Raylib is a C library made by @Ray San. On the Raylib's website it says ‘raylib is a simple and easy-to-use library to learn videogames programming'. [Read More]