Skip to content

Fix: Rename misnamed linker script in STM32F401RE-Nucleo Template#201

Open
Jorgeto0 wants to merge 1 commit intoSTMicroelectronics:masterfrom
Jorgeto0:fix/f401re-nucleo-linker-script
Open

Fix: Rename misnamed linker script in STM32F401RE-Nucleo Template#201
Jorgeto0 wants to merge 1 commit intoSTMicroelectronics:masterfrom
Jorgeto0:fix/f401re-nucleo-linker-script

Conversation

@Jorgeto0
Copy link
Copy Markdown

Problem

The linker script was incorrectly named STM32F401CEUX_FLASH.ld which references the F401CE chip variant in UFQFPN48 package.

The Nucleo-F401RE board uses the STM32F401RET6 chip (LQFP64 package), so the linker script should be named STM32F401RETX_FLASH.ld to match STM32CubeIDE's auto-generated convention.

Changes made:

  • Renamed STM32F401CEUX_FLASH.ld → STM32F401RETX_FLASH.ld
  • Updated linker script header from F401CEUx to F401RETx
  • Updated all 4 filename references in .cproject file
  • Updated chip name references in .cproject from F401CEUx to F401RETx

This aligns the Template with what STM32CubeIDE actually generates and prevents confusion for developers using this template.

Verification:

  • The Nucleo-F401RE board uses the STM32F401RET6 chip as confirmed in UM1724 Table 1
  • STM32CubeIDE auto-generates STM32F401RETX_FLASH.ld for this board as shown in this example

The linker script was incorrectly named STM32F401CEUX_FLASH.ld which
references the F401CE chip variant in UFQFPN48 package.

The Nucleo-F401RE board uses the STM32F401RET6 chip (LQFP64 package),
so the linker script should be named STM32F401RETX_FLASH.ld to match
STM32CubeIDE's auto-generated convention.

Changes made:
- Renamed STM32F401CEUX_FLASH.ld → STM32F401RETX_FLASH.ld
- Updated linker script header from F401CEUx to F401RETx
- Updated all 4 filename references in .cproject file
- Updated chip name references in .cproject from F401CEUx to F401RETx

This aligns the Template with what STM32CubeIDE actually generates
and prevents confusion for developers using this template.
@ALABSTM ALABSTM added bsp BSP-related issue or pull-request. bug Something isn't working labels Apr 27, 2026
@ALABSTM ALABSTM moved this from In progress to To do in stm32cube-mcu-bsp-dashboard Apr 27, 2026
@ASAHSTM
Copy link
Copy Markdown
Contributor

ASAHSTM commented Apr 27, 2026

Hello @Jorgeto0,

Thank you for your report.
This issue has been tracked internally.

With Regards,

@ASAHSTM
Copy link
Copy Markdown
Contributor

ASAHSTM commented Apr 27, 2026

ST Internal Reference: CDM0062129

@ASAHSTM ASAHSTM moved this from To do to Analyzed in stm32cube-mcu-bsp-dashboard Apr 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bsp BSP-related issue or pull-request. bug Something isn't working

Projects

Development

Successfully merging this pull request may close these issues.

3 participants