Skip to content

About

Mender over-the-air software updater client for microcontrollers (MCUs).

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

916 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mender-mcu

Dynamic Devices consumers: shared west pin + bump rules live in PIN-POLICY.md (branch feature/zephyr-ram-stage-on-main). Machine SoT: DD_PIN · tag dd-pin-64c10fa · scripts/check-consumer-pin.sh · scripts/bump-consumer-pins.sh.

Pin scripts accept MENDER_MCU_PIN_BRANCH, DD_ROOT, and MENDER_MCU_CONSUMERS overrides (see script headers).

Overview

mender-mcu is a fork of the mender-mcu-client project, created to extend its functionality and provide continued support from Northern.tech, the creators of Mender.


Mender logo

Why Fork?

The decision to fork the original mender-mcu-client was made to:

  • Extend Functionality: Introduce new features and enhancements that align with the broader Mender ecosystem.
  • Provide Official Support: Ensure that the project receives the necessary attention and resources from Northern.tech to meet the needs of the community and enterprise users.

Zephyr RAM staging (optional)

When CONFIG_MENDER_ZEPHYR_IMAGE_UPDATE_MODULE is enabled, the default CONFIG_MENDER_ZEPHYR_IMAGE_RAM_STAGE path accumulates the full artifact payload in RAM (via mender_malloc) during download, then writes the secondary slot in one pass at close. That avoids FlexSPI XIP stalls when the running image, OTA slot, and MCUboot share the same NOR (for example i.MX RT).

  • Disable with CONFIG_MENDER_ZEPHYR_IMAGE_RAM_STAGE=n for direct-to-flash writes.
  • Cap staging with CONFIG_MENDER_ZEPHYR_IMAGE_RAM_STAGE_MAX_BYTES (0 = no cap).
  • If allocation fails or the image exceeds the cap, the module falls back to writing each chunk directly to flash. MCUboot still verifies the image on boot; staging does not bypass signature checks.

Get started

mender-mcu runs on Zephyr and FreeRTOS (ESP-IDF, preview). How to integrate, configure and build it for each operating system is described in the Mender documentation:

The reference application mender-mcu-integration shows how to use mender-mcu: the main branch for Zephyr (for historical reasons) and the esp-idf branch for ESP-IDF.

Boards

The reference board for mender-mcu is the ESP32-S3-DevKitC.

API

The public API is in include/mender. See the Mender documentation for how to use it on Zephyr and FreeRTOS.

Contributing

We welcome and ask for your contribution. If you would like to contribute to Mender, please read our guide on how to best get started contributing code or documentation.

License

Mender is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.

The mender-mcu project is a fork from Joel Guittet's mender-mcu-client licensed under the Apache License, Version 2.0. See LICENSE

Security disclosure

We take security very seriously. If you come across any issue regarding security, please disclose the information by sending an email to security@mender.io. Please do not create a new public issue. We thank you in advance for your cooperation.

Connect with us

About

Mender over-the-air software updater client for microcontrollers (MCUs).

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages