2025-05-15 6:50 AM
Hi all,
I'm currently looking to get Trusted Firmware-M (TF-M) running on the Cortex-M33 core of an STM32MP257F-DK board. But I couldn't find an example for it.
My plan is to adapt the existing TF-M port for the STM32MP257F-EV1 board as a reference. I'm specifically looking at the STMicroelectronics' TF-M GitHub repository https://github.com/STMicroelectronics/trusted-firmware-m/tree/v1.7.0-stm32mp25-w2441 (platform/ext/target/stm/stm32mp257f_ev1).
I understand the DK board has some hardware differences from the EV1, particularly concerning the flash memory available to the M33 (the EV1 has S-NOR, while the DK product page mentions a "Macronix OctaFlash," which I assume is an OctoSPI NOR).
Could anyone share any resources or general advice for when porting TF-M to the STM32MP257F-DK?