Who is this for?
This is an introductory topic for embedded developers who want to add an interactive command-line shell to a Zephyr RTOS application on Arm Cortex-M.
What will you learn?
Upon completion of this Learning Path, you will be able to:
- Enable and tailor Zephyr shell (Kconfig/prj.conf) to produce a minimal CLI footprint
- Build and flash shell-enabled Zephyr apps using MQTT and UART shell backends on an Arm Cortex-M board
- Use the Zephyr shell for board bring-up, diagnostics, and interactive testing
Prerequisites
Before starting, you will need the following:
- Basic familiarity with embedded C programming
- Visual Studio Code with the Workbench for Zephyr extension installed and configured
- Docker Desktop, Docker Engine, or another Docker-compatible runtime installed on your host computer (for the MQTT shell example, if you’re not installing Mosquitto on host)
- A Zephyr-supported Arm Cortex-M board (for example, NXP FRDM-MCXN947)