Skip to content

Hotfix/MPU Part 3#637

Merged
FoniksFox merged 2 commits into
developmentfrom
hotfix/MPU-Part-3
Apr 29, 2026
Merged

Hotfix/MPU Part 3#637
FoniksFox merged 2 commits into
developmentfrom
hotfix/MPU-Part-3

Conversation

@FoniksFox
Copy link
Copy Markdown
Contributor

The MPU dynamic regions (Non-Cached regions) were being configured with linker symbol values instead of addresses, which caused undefined behaviour that even could acouse hardfault.

@github-actions
Copy link
Copy Markdown
Contributor

ST-LIB Release Plan

  • Current version: 5.2.0
  • Pending changesets: 3
  • Highest requested bump: minor
  • Next version if merged now: 5.3.0

Pending changes

  • minor add an ethernet connected check (.changesets/add_check_ethernet.md)
  • patch MPUDomain dynamic regions were configured using the linker symbol values instead of their addresses (that is the correct way of using linker symbols). That made non-cached regions cached, and caused harware undefined behaviour. (.changesets/hotfix-mpu-synamic-regions-linker-symbols.md)
  • patch fix prescaler calculation in scheduler (.changesets/hotfix-sched-prescaler.md)

Copy link
Copy Markdown
Contributor

@jorgecanut jorgecanut left a comment

Choose a reason for hiding this comment

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

Worked for me

@oganigl
Copy link
Copy Markdown
Contributor

oganigl commented Apr 29, 2026

I've seen it work in live.

@FoniksFox FoniksFox merged commit a6be4c8 into development Apr 29, 2026
26 checks 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