# embedded project workflow

> Workflow for embedded and FPGA projects ensuring compatibility with CubeMX, Vivado, and RTOS toolchains.

embedded project workflow is a free AI agent skill on Agensi by WangWang Yan, in APIs & Backend. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [WangWang Yan](https://www.agensi.io/creators/wangwangyan)
- Category: [APIs & Backend](https://www.agensi.io/skills/apis-backend)
- Version: 1.0
- Last updated: 2026-11-23
- Security: scan passed (2026-11-23); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/embedded-project-workflow
- Tags: api, stm32, fpga, freertos, vivado, embedded-c

## About this skill

Managing embedded and FPGA projects often feels like a constant battle against tool-generated code, conflicting clock configurations, and messy handoffs between hardware and software teams. This skill provides a structured workflow for navigating the specific constraints of STM32, Zynq, ESP32, and FPGA development without breaking the native toolchain integration.

### What it does
- **Toolchain Synchronization** maintains the integrity of auto-generated code from CubeMX, Vivado, and TouchGFX while integrating custom logic.
- **Architectural Mapping** generates pin-functional diagrams and execution logic maps for new or refactored projects.
- **Peripheral Management** handles clock trees, DMA mappings, and IRQ/callback implementations across different abstraction layers.
- **Handoff Automation** manages the critical transition between FPGA PL (Programmable Logic) and PS (Processor System) via Vitis/XSA workflows.
- **Debug Retrospectives** analyzes real-time failures, timing issues, and telemetry data to isolate root causes in RTOS or bare-metal environments.

### How it works
1. **Context Initialization** reads existing project files, hardware schematics, and tool versions to identify the current baseline.
2. **Configuration Alignment** defines which parameters are owned by native tools (like CubeMX/Vivado) versus user-defined implementation layers.
3. **Incremental Implementation** applies code changes specifically within designated user sections or modular files to prevent loss during re-generation.
4. **Verification** checks build inputs, startup sequences, and port connections against the intended design.

### Frameworks & tools
Supports STM32CubeMX, FreeRTOS, TouchGFX, ESP-IDF, Xilinx Vivado (IP/XPM/BD), and Xilinx Vitis (Zynq/MPSoC). Works with RTL (Verilog/VHDL) and C/C++ embedded stacks.

### Why this beats prompting it yourself
Generic LLMs often suggest overwriting auto-generated headers or provide register values that conflict with the GUI-based clock tree. This skill enforces "tool-aware" persistence, ensuring your manual code survives the next time you click Generate in CubeMX or Vivado.

### Use cases
- Implement a FreeRTOS task structure that respects the existing CubeMX-generated task priorities.
- Connect AXI-stream IPs in a Vivado block design and verify the address mapping in Vitis.
- Integrate a TouchGFX UI layer with custom sensor drivers without losing designer-generated assets.
- Debug DMA transfer failures by verifying the alignment between hardware constraints and software descriptors.

### Known limitations
Does not support automatic hardware flashing or power-on execution. Restricted to source code analysis and configuration planning based on provided documentation and local files.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the embedded project workflow skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does this workflow prevent my manual code from being overwritten by auto-generation tools?

This skill acts as a bridge between AI logic and vendor-specific IDEs, ensuring that AI-generated code is placed strictly within designated "User Code" sections so it isn't wiped out when you re-run tools like CubeMX or Vivado.

### Does this skill support the complex handoff between Vivado hardware exports and Vitis software development?

Yes, it is specifically designed for heterogeneous systems like Zynq and MPSoC, managing the handoff between FPGA Programmable Logic (PL) and the Processor System (PS) via .XSA file metadata and Vitis drivers.

### Which specific hardware frameworks and languages are compatible with this workflow?

It supports standard embedded and FPGA toolchains including STM32CubeMX, FreeRTOS, ESP-IDF, and Xilinx Vivado/Vitis, working with C, C++, Verilog, and VHDL codebases.

### What exactly is included in the purchase of the Embedded Project Workflow skill?

The purchase includes the structured AI agent skill, configuration templates for various toolchains, and a standardized process for mapping hardware peripherals to software layers.

### Can this skill perform live hardware debugging or power-on execution?

While it can analyze and plan for specific timing constraints and DMA mappings, it cannot perform real-time hardware-in-the-loop (HIL) testing or direct flashing; it is focused on code and configuration integrity.

### What information do I need to provide to the agent to initialize a new project?

To get started, you provide the agent with your existing project structure (e.g., .ioc or .xpr files) and hardware requirements, allowing it to initialize its context based on your specific baseline.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
