2025-06-11 11:17 PM
(repeated post)
Currently, STM32CubeMX generates CMake projects based on the ARM-GCC compiler toolchain by default. However, in modern STM32 development environments, this toolchain appears to have performance limitations and may no longer fully meet requirements.
More importantly, ARM-GCC uses the newlib standard library, while the Arm Toolchain for Embedded (ATfE) uses picolibc. For resource-constrained STM32 microcontroller development, picolibc – with its significantly smaller footprint and design specifically optimized for embedded systems – is clearly better suited.
Therefore, Does ST plan to add support for generating CMake projects based on the ATfE compiler toolchain in future versions of STM32CubeMX?
ATfE link: https://github.com/arm/arm-toolchain/blob/arm-software/arm-software/embedded/README.md