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:
Category Archives: Embedded
McuOnEclipse Components: 22-Nov-2015 Release
A lot of good things happened in the last three weeks, so here is a new updated McuOnEclipse component release, with the following main improvements:
- Updated Segger RTT component
- New Segger SystemView component
- FreeRTOS ‘tasklist’ shell command
- FreeRTOS with support for Segger SystemView
Data Logger with tinyK20 Board
First off: The tinyK20 project is progressing fine and is now on Hackaday.io :-).
For a research project we would like to use the tinyK20 to log gyro sensor data. For this I have created a quick-n-dirty project to explore how feasible it is. The tinyK20 has all the pins on the outside of the board, so I’m able to put it on a bread board:
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?
Production tinyK20 Boards arrived!
One day earlier than expected, our tinyK20 boards arrived, and they are looking great :-):
Segger SystemView: Realtime Analysis and Visualization for FreeRTOS
One of the most important aspects for developing complex realtime applications is get insights into what is going on the target. Segger just has released a free tool which gives an incredible useful insight view and visualization:
Atollic TrueSTUDIO Lite for ARM with Unlimited Code Size
Good news for all the Eclipse and ARM lovers: Atollic have announced this week at ARM TechCon 2015 in Santa Clara that their TrueSTUDIO ‘Lite’ is now free of charge with unlimited code size. 🙂
Kinetis Drone: First Test Flights
Over the weekend, I finally have repaired the broken ESC (see “Kinetis Drone: Graupner ESC S3055 Failure“). Time to run some first test flights :-).
McuOnEclipse Components: 08-Nov-2015 Release
Time is flying fast, time for another McuOnEclipse components release on SourceForge with the following main changes and features:
- New component for Segger RTT makes adding a console communication interface super easy (and fast!)
- RTT support for the command line Shell component
- RTT component used for Percepio FreeRTOS Tracing
- Updated USB component, support for USB CDC blocking/waiting and endpoint configuration
- Updated FreeRTOS to V8.2.3, memory heap selection improved and setting for time slicing
- RingBuffer implements a Delete() method
- Extended Kinetis SDK support in components, added by default
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:









