Rendering networkx graphs or graphml files via Mermaid

Using python and networkx, you may create some beautiful graphs and store them as graphml file:

This will give us the following graphml:

Unfortunately, rendering them the standard way by using draw and Graphviz is producing a bitmap file that I do not want to include in my[…]

Read More »

Yocto recipe compiling Qt apps with cmake

Compiling Qt apps with qmake using Yocto if really straight forward. The following example is based on poky/warrior and my small bit counting tool:

Doing the same using CMake, one may think inheriting cmake instead of qmake5 should be enough. Unfortunately, this is not true and leads to the[…]

Read More »

Check if your crross-compiler GCC toolchain is supporting hard-float

I recently recognized my GCC toolchains are not consistent regarding floating-point support. If you want to check your toolchain against hard-float, too, keep on reading. Let’ have a look at, for example, arm-cortex-a8___gcc-8.3.0___glibc-2.29___linux-4.4.174___float-auto___ctng-crosstool-ng-1.24.0: This nicely named crosstool-ng (a toolchain generator) build toolchain states float=auto, which means GCC may choose the[…]

Read More »

Linux kernel consoleblank argument ignored

The consoleblank kernel parameter I currently work on an embedded system using Qt 5.6 for the application running on Linux 4.4. and faced the problem, that after the end of the main application the console blanks after 15 minutes. In general, you can set this behavior via the kernel consoleblank argument. So,[…]

Read More »

010 Editor – Fix not showing help file

… Or how to re-register a help file for Qt Assistant 010 Editor is my favorite multiplatform HEX Editor, but the current Version (7.0.2 by the time of writing) seems to have a problem with the help system on my machine (Kubuntu running xfce). Fortunately, 010 Editor is using the Qt Assistant[…]

Read More »

Read SD Card Serial Number from CID

For my current project, I tried to read the SD Card serial number because the number is factory stamped and unchangeable, so it easily could be used to protect embedded firmware from being copied (1). The serial number is stored in the Card Identification Register (CID) which is read by[…]

Read More »

Easily Counting Bits – bin/dec/hex converter

Dealing with registers could sometime be a straining job. To make my work somewhat easier I developed a small tool which is basically a bin/dec/hex converter aiming embedded developers which have to deal with hardware registers a lot. It’s capable displaying bit positions as well as manipulating single bits. Registerer is developed using the[…]

Read More »

SanDisk SD Card with white label?

Is there a genuine SanDisk SD Card with a white label? We use a lot of SD cards here. Some for testing, some for work, a lot of them for bundling with our devices. So I have a small and nice collection of different older cards used for testing compatibility. Sometimes it[…]

Read More »

Platform Independent Serial Port Programming with Qt

Since Qt 5.1 there is a QSerialPort Class included. Maybe this artikle is still of some use for older Qt versions. The Bones Speech and Sound Module is an Text to Speech hardware module communicating via a HDLC like protocol over FTDI USB serial port. Included with the Development Board[…]

Read More »