Socket
Book a DemoInstallSign in
Socket

a121-sys

Package Overview
Dependencies
Maintainers
0
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

a121-sys

0.6.0
Source
Cargo
Version published
Maintainers
0
Created
Source

a121-sys

docs.rs crates.io crates.io License: MIT

Current bindings version: 1.11.*

a121-sys is a Rust crate offering raw bindings for interfacing with the Acconeer A121 V-Band radar sensor. Designed for embedded systems, it provides low-level access to the sensor's functionalities, enabling the development of high-level abstractions in a no_std environment.

This crate is intended to serve as a foundation for accessing the detailed capabilities of the A121 radar sensor, including advanced configuration and sensor management.

Features

The a121-sys crate exposes raw bindings necessary for implementing the following features:

  • Distance Measurement: Direct access to configure the radar for precise distance measurements.
  • Presence Detection: Direct access for detecting the presence of objects or individuals within a specific zone.

These features are made available through the crate's feature flags, allowing users to include only what they need for their application.

[features]
distance = []
presence = []

Dependencies

  • Acconeer A121 Static Library must be accessible in your build environment.
  • arm-none-eabi-gcc is required for building the C wrapper for some examples.
# Ubuntu
sudo apt-get install gcc-arm-none-eabi

ESP targets require ESP toolchains, install via the VSCode extension from espressif. Before you can build a121-sys, you need to set the environment variables by sourcing the applicable SDK, i.e.:

. ~/esp/v5.2.3/esp-idf/export.sh

Then make sure that the following gives you the correct sysroot path:

riscv32-esp-elf-gcc -print-sysroot

Supported Targets

Support is dependent on the Acconeer A121 Static Library's availability:

  • arm-none-eabihf (gcc, armcc, armclang)
  • esp riscv

Getting Started

To use a121-sys in your project, add it to your Cargo.toml:

[dependencies]
a121-sys = "0.2"

Ensure all dependencies are correctly set up in your build environment.

For more details on utilizing a121-sys, refer to the documentation.

Development and Contribution

We welcome contributions to expand and improve a121-sys. Whether it's adding new features, enhancing existing ones, or improving the documentation, feel free to open issues and submit pull requests.

License

Distributed under the MIT License. See LICENSE for more information.

FAQs

Package last updated on 07 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.