Skip to content

Fix GCC warning due to __STACK_SEAL type ARM-software/CMSIS_6#259 - #22

Merged
JonatanAntoni merged 1 commit into
ARM-software:mainfrom
tarek-bochkati:pr/fix-stack-seal-gcc-warning
Oct 6, 2025
Merged

JonatanAntoni merged 1 commit into
ARM-software:mainfrom
tarek-bochkati:pr/fix-stack-seal-gcc-warning

Conversation

@tarek-bochkati

Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: Tarek BOCHKATI <tarek.bouchkati@st.com>
@tarek-bochkati
tarek-bochkati force-pushed the pr/fix-stack-seal-gcc-warning branch from 7d90097 to 0257db7 Compare October 6, 2025 15:58
@tarek-bochkati tarek-bochkati changed the title Fix GCC warning due to __STACK_SEAL type 259 Fix GCC warning due to __STACK_SEAL type #259 Oct 6, 2025
@tarek-bochkati tarek-bochkati changed the title Fix GCC warning due to __STACK_SEAL type #259 Fix GCC warning due to __STACK_SEAL type ARM-software/CMSIS_6#259 Oct 6, 2025
@JonatanAntoni
JonatanAntoni requested a review from Copilot October 6, 2025 17:02

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a GCC compiler warning by changing the data type of the __STACK_SEAL external variable from uint32_t to uint64_t across multiple ARM Cortex-M device startup files.

  • Changes the __STACK_SEAL variable declaration from 32-bit to 64-bit unsigned integer type
  • Applied consistently across all ARM Cortex-M devices that support TrustZone (CMSE feature)
  • Addresses compiler warning related to type mismatch in stack sealing functionality

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
Device/ARMCM85/Source/startup_ARMCM85.c Updated __STACK_SEAL type from uint32_t to uint64_t
Device/ARMCM55/Source/startup_ARMCM55.c Updated __STACK_SEAL type from uint32_t to uint64_t
Device/ARMCM52/Source/startup_ARMCM52.c Updated __STACK_SEAL type from uint32_t to uint64_t
Device/ARMCM35P/Source/startup_ARMCM35P.c Updated __STACK_SEAL type from uint32_t to uint64_t
Device/ARMCM33/Source/startup_ARMCM33.c Updated __STACK_SEAL type from uint32_t to uint64_t
Device/ARMCM23/Source/startup_ARMCM23.c Updated __STACK_SEAL type from uint32_t to uint64_t

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@JonatanAntoni
JonatanAntoni merged commit efc0b4f into ARM-software:main Oct 6, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants