Skip to content

w0xel/cpp_fun

Repository files navigation

CPP Baremetal Optimization Fun

Some examples of using non-freestanding headers in a baremetal environmnent, and using very high-level code for low-level embedded systems.

For the MUC HW #5 meetup.

Build the Code

Dependencies

  • meson
  • ninja-build
  • gcc-arm-none-eabi
  • libnewlib-arm-none-eabi - for C-headers
  • binutils-arm-none-eabi

Building

For NUCLEO STM32L496ZG target:

meson setup builddir --cross-file nucleo_l496zg.ini
meson compile -C builddir

Build a failing example:

meson compile -C builddir fail_optional.bin

Build for linux:

meson setup builddir
meson compile -C builddir

License

All code in this repository (not including git submodules) is licensed under the terms and conditions of the Apache 2.0 license (See LICENSE.TXT)

Copyright [2025] [OroraTech GmbH]

Contributors

This code was crafted with <3 by:

  • Sebastian Würl

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published