يحاول ذهب - حر
Improve Portability and Reusability in Embedded Systems with West
June 2025
|Circuit Cellar
Discover how West, a meta-tool from the Zephyr real-time operating system (RTOS) ecosystem, revolutionizes embedded software development by streamlining project management across multiple repositories. This article dives into practical applications of West for enhancing portability and reusability in complex embedded systems, offering engineers actionable insights to optimize their workflows.
Embedded software development is rapidly evolving. What once was a bare-metal monolith compiled in a vendor integrated development environment (IDE), is now transitioning into highly modular, reusable, and testable codebases driven by modern DevOps workflows.
In previous articles, we explored how to build a modern CMake build system [1] for embedded development and how to apply Test-Driven Development (TDD) techniques effectively in that environment.
Today, we will explore another game-changing tool: West, a meta-tool from the Zephyr RTOS ecosystem [2]. Even if you don't use Zephyr, West offers several valuable lessons for managing complex embedded projects with many components, targets, and repositories.
In this article, we'll walk through:
• What West is and why it matters.
• How Zephyr uses West to manage code at scale.
• How to use West in your own embedded projects.
• How it complements a modern build system.
• Practical examples to demonstrate reusable, portable architecture with West.
Let's dive in.
WHAT IS WEST?
At its core, West is a project and workspace management tool. Originally developed as part of the Zephyr RTOS project, it was designed to solve a recurring pain point in embedded development—managing multiple Git repositories across layers of dependencies.
You can think of West as a wrapper for Git, CMake, and custom build commands that makes it easy to:
• Clone and manage multiple repositories in a workspace.
• Build complex projects with multiple targets or boards.
• Run test, flash, or debug commands with consistent behavior.
• Define and manage extensions or subprojects in a reproducible way.
While Zephyr is the canonical user of West, nothing stops you from using it to manage your own RTOS, middleware, applications, and even continuous integration (CI) workflows.
هذه القصة من طبعة June 2025 من Circuit Cellar.
اشترك في Magzter GOLD للوصول إلى آلاف القصص المتميزة المنسقة، وأكثر من 9000 مجلة وصحيفة.
هل أنت مشترك بالفعل؟ تسجيل الدخول
المزيد من القصص من Circuit Cellar
Circuit Cellar
A GPS-Disciplined Frequency Counter using the PSoC 5LP
In this month's column, Brian tasks one of his mixed-signal favorite MCUs, the Infineon PSoC 5LP, to build a frequency/ period counter using a GPS satellite module to discipline the project's time base.
16 mins
November 2025
Circuit Cellar
Designing Analog Electronics
Part 1: Error and Uncertainty
23 mins
November 2025
Circuit Cellar
Samtec Launches 800-Position AcceleRate HP High-Performance Array Connectors
Samtec, Inc., a global leader in high-performance interconnect solutions and a service leader in the industry, announces the expansion of its AcceleRate HP product line with the release of 800-position APM6 and APF6 high-performance array connectors available in a low-profile 5mm stack height.
1 min
November 2025
Circuit Cellar
CIA for SBCs (and More)
Securing Embedded Systems from Evolving Threats
14 mins
November 2025
Circuit Cellar
The Future of Embedded Systems and AI: AI in Embedded Systems
Cybersecurity Challenges and Opportunities in a Smarter World
4 mins
November 2025
Circuit Cellar
An ESP32 Dashboard
Monitoring How a Popular Microcontroller Uses Resources
11 mins
November 2025
Circuit Cellar
Vishay Intertechnology Power Metal Strip Resistor Delivers Power to 5 W in Compact 1206 Case Size
Vishay Intertechnology, Inc. introduced a new surfacemount Power Metal Strip current sense resistor that combines a high power rating up to 5W, TCR down to ± 75ppm/°C, and extremely low resistance values down to 0.3mΩ in the compact 1206 case size.
2 mins
November 2025
Circuit Cellar
ROHM Develops New Smart Switches Optimized for Zonal Controllers
ROHM Semiconductor announced the release of six new high-side smart switches (IPDs: Intelligent Power Devices) featuring highly accurate current sensing and low ON resistances ranging from 9mΩ to 180mΩ.
1 min
November 2025
Circuit Cellar
Bourns Expands Semi-Shielded Power Inductor Portfolio with New Series Featuring Higher Maximum Inductance Values
Bourns, Inc., a leading manufacturer and supplier of electronic components for power, protection, and sensing solutions, announced the expansion of its semi-shielded power inductors.
1 min
November 2025
Circuit Cellar
STMicroelectronics' New Automotive Linear Voltage Regulator Preserves Battery Energy in Challenging Conditions
The TL99VR03 300mA low-dropout (LDO) regulator provides resilient and efficient power, with a wide input-voltage range and very low quiescent current consumption, only 3.5µA at no load. The IC has an enable pin for turning the regulator off, which reduces the idle current to 800nA, and integrates soft-start circuitry to limit current during power-up and fault recovery.
1 min
November 2025
Listen
Translate
Change font size
