How expensive in terms of code size are floating-point operations if the CPU does not have an floating-point unit (FPU)? In this article, I will investigate, based on Embedded Studio for ARM and a generic Cortex-M3 device, how big (or small) an entire application using basic float operations, add, sub, mul, and div, can be. […]
Posts from August 2020
Every byte counts – Smallest “Hello world”
When searching on-line for small C-programs, there seems to be a lot of confusion about what is doable and what is not. There are a lot of posts wondering why even for minimal programs such as “Hello world” applications are so big, but not many explanations or fixes. I will show how to make a […]
Integrity checks with the new SEGGER Linker
With the latest Embedded Studio update to version 5 the SEGGER Linker also received new features. One of these features is the new integrity check functionality which I would like to focus on in this article. Supported are numerous CRC and message digest algorithms (e.g. MD5 and SHA).
Every Byte counts – The 100-Byte Blinky Challenge
I decided to put Embedded Studio to the test: How little flash memory could be used on a typical Cortex-M Microcontroller to toggle an LED?