Skip to content

fix: mark PHY CLI delay routines as Thumb functions - #121

Open
AbdelrhmanAtta wants to merge 1 commit into
STMicroelectronics:masterfrom
AbdelrhmanAtta:fix/phy-cli-thumb-functions
Open

AbdelrhmanAtta wants to merge 1 commit into
STMicroelectronics:masterfrom
AbdelrhmanAtta:fix/phy-cli-thumb-functions

Conversation

@AbdelrhmanAtta

Copy link
Copy Markdown

Description

Fixes #119.

The Phy_802_15_4_Cli example fails to link with GCC 14.3.1 because its assembly delay routines lack Thumb function metadata.

This change adds .syntax unified, .cpu cortex-m4, .thumb, and .thumb_func declarations for both delay routines without modifying their instructions.

Validation

  • Target: STM32WB55RG
  • Toolchain: GCC 14.3.1
  • IDE: STM32CubeIDE 2.2.0
  • Clean build: Successful
  • PHY CLI: Verified on hardware

@ALABSTM ALABSTM added enhancement New feature or request bug Something isn't working projects Projects-related (demos, applications, examples) issue or pull-request. and removed enhancement New feature or request labels Oct 9, 2026
@ASAHSTM

ASAHSTM commented Oct 14, 2026

Copy link
Copy Markdown

ST Internal Reference: 3f3b50338f3783d0a0b93f7fbda575e7

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

Labels

bug Something isn't working projects Projects-related (demos, applications, examples) issue or pull-request.

Projects

Development

Successfully merging this pull request may close these issues.

STM32WB55 PHY CLI build fails with GCC 14.3.1 due to missing Thumb function declarations

3 participants