nucleo-l053r8-benches/crates/algorithms/algorithms-c
2025-07-11 11:16:51 +02:00
..
src refactor: use ceedling as c build system 2025-07-10 17:31:22 +02:00
test test: test algorithms-c 2025-07-11 11:16:51 +02:00
.clangd test: test algorithms-c 2025-07-11 11:16:51 +02:00
.gitignore refactor: use ceedling as c build system 2025-07-10 17:31:22 +02:00
compile_flags.txt test: test algorithms-c 2025-07-11 11:16:51 +02:00
project.yml feat: ceedling cross compile 2025-07-11 10:39:53 +02:00
README.md feat: ceedling cross compile 2025-07-11 10:39:53 +02:00

Algorithms-c

This subproject contains all C Code for the benchmarking. It is built with ceedling, a more modern build tool for C projects that also integrates well with the Unity framework.

Compiler

To compile for STM32, you need to crosscompile

# apt install binutils-arm-none-eabi gcc-arm-none-eabi

Then, use your tool with an arm-none-eabi- prefix: arm-none-eabi-gcc. This project has been configured to use arm-none-eabi-gcc to compile modules and to "link" the object files into a static library with arm-none-eabi-ar.

The unit tests will be compiled with gcc to be ran on the host computer, not on the STM32.