Dynamic Devices consumers: shared west pin + bump rules live in
PIN-POLICY.md(branchfeature/zephyr-ram-stage-on-main). Machine SoT:DD_PIN· tagdd-pin-64c10fa·scripts/check-consumer-pin.sh·scripts/bump-consumer-pins.sh.Pin scripts accept
MENDER_MCU_PIN_BRANCH,DD_ROOT, andMENDER_MCU_CONSUMERSoverrides (see script headers).
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.
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.
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=nfor 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.
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:
- Get started: Microcontroller
- Operating System updates: Zephyr
- Operating System updates: FreeRTOS
- Debugging Mender MCU
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.
The reference board for mender-mcu is the ESP32-S3-DevKitC.
The public API is in include/mender. See the Mender documentation for how to use it
on Zephyr and
FreeRTOS.
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.
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
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.
- Join the Mender Hub discussion forum
- Follow us on Twitter. Please feel free to tweet us questions.
- Fork us on Github
- Create an issue in the bugtracker
- Email us at contact@mender.io
- Connect to the #mender IRC channel on Libera
