veecle-freertos-sys

Crates.ioveecle-freertos-sys
lib.rsveecle-freertos-sys
version0.1.2
created_at2025-09-11 11:02:41.946104+00
updated_at2025-09-16 11:14:39.611379+00
descriptionRust bindings for FreeRTOS
homepage
repositoryhttps://github.com/veecle/freertos-integration
max_upload_size
id1833653
size276,841
(veecle-release-bot)

documentation

README

veecle-freertos-sys

This crate creates the FreeRTOS bindings and, if required, builds the FreeRTOS library.

For more information, see the veecle-freertos-integration README.

Requirements

This project uses bindgen to generate FreeRTOS bindings. Please ensure that you have installed all the requirements mentioned here.

FreeRTOSConfig.h

The FreeRTOSConfig.h file defines what functionality is available in the compiled library. This information is required at compile-time in the build.rs file of the veecle-freertos-integration crate to compile the code only for the available functionality.

Regenerating sample bindings

The sample bindings generated for docs.rs are dependent on details like your local glibc version, so these are only tested in CI. If you run the same distro as CI (Ubuntu 24.04) you can probably just BLESS=1 cargo test -p veecle-freertos-sys -- --ignored to update them, otherwise you can use Docker:

docker run -it --rm --volume $PWD:/workspace --workdir /workspace --env BLESS=1 index.docker.io/ubuntu:24.04 bash -c '
  set -euo pipefail
  apt-get update
  apt-get install -y gcc libclang-dev curl
  (curl --proto "=https" --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --profile minimal -y)
  source ~/.cargo/env
  cargo test -p veecle-freertos-sys --target-dir /target -- --ignored
'
Commit count: 30

cargo fmt