The tinyK20 boards are now used in several projects. Initially I was considering a commercial USB thumb drive enclosure for it. But this needed some tweaking of the enclosure so at the end it was not ideal. 3D printing is probably that hot topic for 2016. So why 3D printing an enclosure for that board?
Tag Archives: Building
Renaming Eclipse CDT Projects
When I create a project in Eclipse (e.g. in Kinetis Design Studio with the GNU ARM Eclipse plugins), I have to specify the name of the project during creation time:
But what if I change my mind later on and want to use a different name? How to rename the project?
Linting with Eclipse and the GNU ARM Embedded Launchpad Compiler
For a space project we have to make sure that things are not failing while our hardware orbits around the Mother Earth. Therefore we are using different static and dynamic analysis tools, and one of it is using PC-lint from Gimpel to catch as many errors and bugs as possible. For that project, we are using Eclipse with the GNU ARM Embedded (launchpad) ARM compiler and Eclipse as IDE with the GNU ARM Eclipse plugins. There are commercial plugins available for linting with Eclipse (e.g. Linticator), but with a few tweaks it is possible to lint with Eclipse free-of-charge. So this article is about how to lint an Eclipse (Freescale/NXP Kinetis Design Studio) project with PC-Lint.
Tutorial: FreeRTOS Projects with Kinetis SDK V1.3 and the SDK Project Generator
This tutorial describes how to create a Kinetis SDK V1.3 project using the Freescale project generator in Kinetis Design Studio.
Preprocessor Listing for GNU gcc with GNU ARM Eclipse Plugins
In case there are problems with the C/C++ preprocessor, it is useful to generate the compiler preprocessor listing. Here is how to create a preprocessor listing with GNU gcc compiler and the GNU ARM Eclipse plugins in Eclipse:
GNU gcc printf() and BuiltIn Optimizations
Readers of my blog know: I’m not a fan of printf(), and I think for many good reasons. Still printf() is widely used, and the GNU gcc tries to optimize things. This is observed with a simple example: If I’m writing
printf("a");
Then the code produced (ARM Cortex-M0+ with GNU ARM Embedded 4.9 2015q2 gives:
movs r0, #97 ; 0x61 bl 0xa98
Instead of calling printf(), it is calling putchar()! Why is that?
Kinetis Drone: Remote Controller with SUMD
The bad news: my ESC (see “Kinetis Drone: Graupner ESC S3055 Failure“) for my Kinetis drone is still not repaired :-(. Anyway, I have plenty of other things to make for my drone project. One is to work on the remote controller:
Tutorial: lwip with FreeRTOS and the Freescale FRDM-K64F Board
This tutorial is about how to create a lwIP project with FreeRTOS using the Kinetis SDK V1.3.0 with Kinetis Design Studio on the Freescale FRDM-K64F board.
Added Micro SD Card Socket to FRDM-K22F
Probably for cost reasons, the Freescale FRDM-K22F does not come with the micro SD card socket populated on the the board:
With a little soldering skills it is possible to populate the socket so the board can be used with a file system on it :-):
Linking additional Object Files with GNU Linker
Sometimes I need to link an object file (e.g. bootloader.o) to my application, and I do not want to build it, or I do not have the sources to build it. There is a simple way with the GNU ARM Eclipse plugins to link extra object files:










