Ralf's Blog

    • Impressum & Datenschutz
Illustration of a bird flying.
  • Reverse Engineering the I2C Protocol of the Mikrokopter Platform

    We bought a Miktokopter Okto XL for our laboratory. I chose the Mikrokopter project because I had in mind, that a few years ago everything was developed in a community driven open source way. Unfortunately, it turned out that things changed and that the source code of recent versions of the Mikrokopter software is closed…

    July 8, 2016
  • AVR-Toolchain for Gentoo Linux using crossdev

    Since quite a long time, Gentoo Linux has problems building a GCC Toolchain for the AVR microcontroller architecture. This is just a short summary, how to get your toolchain running under Gentoo: 1. Emerge Toolchain USE=”-openmp -sanitize -vtv” crossdev -t avr -s4 -S –without-headers 2. Somehow, ldscripts go to /usr/x86_64-pc-linux-gnu/avr/lib/ldscripts but are actually expected to…

    January 8, 2016
  • Running jailhouse on a NVIDIA Jetson TK1 with Gentoo from scratch

    TL;DR: You can find latest kernel configs, pre-built kernel images, u-boot configs and pre-built u-boot binaries as well as a pre-built gentoo linux image here. I try to keep everything up to date: Kernel: 4.9 (stable) U-Boot: 2016.05-rc1 Gentoo RootFS: 2018-06-04 (with systemd) Contents Compile everything from scratch Prerequisites Prepare Gentoo Base System Compile a…

    August 6, 2015
  • Surpress compiler warnings of third party libraries

    I like my compiler to be very verbose and pedantic. For me, -Wall -Wextra -pedantic -Weffc++ is a must. And I don’t want to see any warnings before releasing my software. Well, but your compiler might still complain about headers of third party libraries which you do not want to touch. How to remove those…

    May 6, 2015
  • typedef syntax with (member) function pointers

    MSDN states, that the typedef syntax is But that’s not the whole truth. If you want to typedef a function pointer or member function pointer, this is wrong: This is the correct syntax:

    October 17, 2014
1 2 3 4
Next Page→

Ralf's Blog

Proudly powered by WordPress