DE1-SoC: Using SSH keys

The standard Linux SD-Card images that you can get for the DE1-SoC board from the Terasic website have the SSH daemon enabled by default. Through this SSH connection it is possible to log in from a remote terminal or upload files SCP. However, by default you always have to enter a password.

Continue Reading

DE1-SoC: A better makefile

I created a new Makefile from scratch for compiling the Linux programs for the Cyclone V SoC. The Makefile is able to handle both C and C++ files. The Makefile will create a dedicated build directory where all object and binary files are stored in order to keep the project directory clean.

Continue Reading

Blending colors in Qt

I found myself in need of blending two QColors in Qt using an alpha ratio. As of the time of writing this post the Qt library does not provide this feature. However, it is fairly easy to create such a function yourself. /** * @brief Blend two colors. * @param color1 One of the colors to be blended.

Continue Reading