Skip to main content
Select your STM32 device or board during project setup. Embedder then loads its STM32 skills for CubeMX and CubeMX2 projects and generated code. Nucleo board skills add connector and pinout references when your project’s platform matches the board. When you ask for hardware work, include the board revision, your STM32CubeMX or CubeMX2 project configuration, and the debug probe you use.
A listing gives Embedder hardware context. Flashing and debugging also depend on your probe, connections, and installed tools. Check the project setup picker for current availability.

Work with STM32Cube projects

STM32 and stm32-cubemx2 load automatically for ST projects, and STM32N6 for STM32N6 platforms. You can also run any of these skills by name from the / menu. What to expect in a CubeMX project:
  • Embedder writes your code only between matching USER CODE BEGIN and USER CODE END comment markers, because CubeMX overwrites everything else when it regenerates.
  • Embedder doesn’t hand-edit the .ioc file, generated initialization code, or SystemClock_Config(). It asks you to change pins, clocks, or peripherals in CubeMX and regenerate.
What to expect in a CubeMX2 project:
  • Install STM32CubeMX2 so the cube command is available. If Embedder can’t find it, it tells you to install CubeMX2 or add it to your PATH.
  • Embedder can create the project from a board or MCU, configure pins, peripherals, clocks, and middleware, save the .ioc2, generate the IDE project, and build it.
  • Project creation and code generation can download CMSIS packs that have their own license terms. Embedder tells you before that happens.
  • Keep the .ioc2 file in version control and review its diff after each configuration change.
  • CMake output needs CMake 3.30 or newer and the Arm GNU toolchain that the generated project expects. Embedder builds the generated project before it reports success, and flashes only when you ask.

Flash and debug

To flash, Embedder runs the flash command recorded in EMBEDDER.md with the tools you have installed. It doesn’t supply a flash utility. For a CMake project and an ST-LINK, the recorded commands can look like this, with the STM32CubeProgrammer command-line tool doing the programming:
Replace the build folder and ELF path with your project’s. See Flashing firmware. To debug over an ST-LINK with GDB, set Debug Interface = st-link in EMBEDDER.md. Embedder then connects through OpenOCD, which must support the exact STM32 device. A normal debug connection programs the ELF before it runs to main, so debugging doesn’t need a separate flash step. With a J-Link probe, use SEGGER J-Link instead. See OpenOCD and How Embedder picks a debugger.

Board-specific skills

Each Nucleo skill covers the boards built on one PCB. It’s available only when the project’s platform is one of those boards; an MCU-only platform such as STM32F031 doesn’t enable the NUCLEO_32_MB1180 skill for NUCLEO-F031K6. Most boards in this table aren’t separate platforms in the catalog; in the current listings, only NUCLEO-C5A3ZG is. If the picker shows only the MCU family for your board, select that MCU, attach the board’s user manual and schematic, and follow board-skill setup. Sharing a PCB number with a listed board doesn’t guarantee the same connectors or pin assignments. Check the exact board model and revision before you apply a pin mapping.

Catalog platforms

Last modified on November 13, 2026