uft-stm32-portability

Verify C/C++ code portability for STM32H723ZGT6 UFI firmware constraints.

33|3|Updated Dec 22, 2025
One-click install
npx skills add https://github.com/Axel051171/UnifiedFloppyTool --skill uft-stm32-portability
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: uft-stm32-portability
Source: https://github.com/Axel051171/UnifiedFloppyTool/tree/main/.claude/skills/uft-stm32-portability
Command: npx skills add https://github.com/Axel051171/UnifiedFloppyTool --skill uft-stm32-portability

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps ensure that code developed for the UnifiedFloppyTool (UFT) is compatible and portable to run on UFI firmware on the STM32H723ZGT6 microcontroller, preventing build failures and stack corruption.

Core Features & Use Cases

  • Portability Check: Automates the verification of code for compatibility with STM32H723ZGT6 architecture.
  • Resource Management: Guides on CPU, FPU, SIMD, SRAM, Flash, and cache limitations.
  • Code Conversion: Offers guidance on converting non-portable code to firmware-safe versions.
  • Use Case: When developing UFT code, use this Skill to ensure that all changes are compatible with the STM32H723ZGT6 microcontroller.

Quick Start

Run the portability check for the 'src/flux/' directory with the command: bash .claude/skills/uft-stm32-portability/scripts/check_firmware_portability.sh src/flux/

Frequently Asked Questions about uft-stm32-portability

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check C/C++ code portability for STM32H723ZGT6 firmware?

To check C/C++ code portability for STM32H723ZGT6 firmware, run a portability verification script that analyzes source directories for hardware constraints. This ensures code is compatible with the microcontroller's CPU, FPU, and SIMD limitations.

What hardware limitations cause build failures when porting C code to STM32 microcontrollers?

Build failures and stack corruption when porting C code to STM32 microcontrollers are typically caused by exceeding hardware constraints. Key limitations involve CPU, FPU, SIMD, SRAM, Flash, and cache boundaries that the code must not surpass.

How do I convert non-portable C/C++ code to a firmware-safe version for STM32H723ZGT6?

Converting non-portable C/C++ code to a firmware-safe version for STM32H723ZGT6 involves analyzing the code against microcontroller resource limits. The portability check provides guidance on modifying code to fit CPU, FPU, SRAM, and Flash constraints.

Does UFI firmware support SIMD and FPU instructions on the STM32H723ZGT6?

UFI firmware on the STM32H723ZGT6 does support FPU and SIMD instructions, but code must operate within specific hardware limitations. Verifying portability ensures these instructions do not exceed the microcontroller's architectural constraints.

When do I need to verify code portability for UFI firmware?

You need to verify code portability for UFI firmware whenever developing or modifying UnifiedFloppyTool code. This prevents build failures and stack corruption by ensuring changes remain compatible with STM32H723ZGT6 SRAM and Flash limits.

Why does my C/C++ code cause stack corruption on STM32H723ZGT6 firmware?

C/C++ code causes stack corruption on STM32H723ZGT6 firmware when it exceeds available SRAM, Flash, or cache limitations. Running a portability check identifies these hardware constraint violations before deployment to prevent memory corruption.