stm32-meson

Using meson for stm32 development

STM32 Meson Ive been a big fan of stm32-cmake which simplifies the setup of a stm32 embedded project. All that is required is the STMCubeMX directory and the chip being used. All the rest is automatically generated by stm32-cmake. I’ve recently learned about meson and have decided to create the stm32-meson project as a way to learn how to get something useful done is meson. First I’ll show the expected usage of the project. [Read More]
linux  gcc  meson 

Decreasing Elf Size

max-page-size

Recently I had a problem of reducing the size of an ARM executable that was being loaded onto a embedded platform with only 640K of flash storage. I ran into an issue where the executable was much larger than it should have been. For this post I’ll create an example empty c file to demonstrate what is happening. // main.c int main() {}; I’ll go ahead and compile the simple program using the arm cross compile. [Read More]
gcc  arm  embedded