Skip to content

freertos/port-arm-cm33: add Pebble-customized CM33 port with ARMv8-M MPU #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: pebble
Choose a base branch
from

Conversation

jwise
Copy link

@jwise jwise commented May 13, 2025

Requires a counterpart port of mpu.c from the Pebble kernel to cm33, also.

Signed-off-by: Joshua Wise <joshua@joshuawise.com>
@jwise jwise requested review from Hexxeh and gmarull May 13, 2025 09:32
Copy link
Collaborator

@gmarull gmarull left a comment

Choose a reason for hiding this comment

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

See my comment. Also tried with SF32: system seems not to start, so something's wrong with this port.

Comment on lines +286 to +291
#if MICRO_FAMILY_NRF52840
" ldr r0, =__ISR_VECTOR_TABLE__ \n" /* VTOR does not point where we expect on Nordic-MBR machines! */
#else
" ldr r0, =0xE000ED08 \n" /* Use the NVIC offset register to locate the stack. */
" ldr r0, [r0] \n"
#endif
Copy link
Collaborator

Choose a reason for hiding this comment

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

nRF specifics need to go

@jwise
Copy link
Author

jwise commented May 30, 2025

Did you add the required cm33 mpu.c port to go with it? Where does it hang in SF32 when you use this? I could imagine that things are different.

I basically put this PR up to unblock people who wanted to begin messing with CM33 MPU support but I don't currently have an environment to test it with. Feel free to make any changes needed to make it work.

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.

2 participants