Skip to content
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

[DOC]Confusion Between ARM_CM4F and ARM_CM4_MPU Ports for FPU and MPU Support in FreeRTOS #1246

Closed
linhongz opened this issue Feb 12, 2025 · 1 comment
Labels
question Further information is requested

Comments

@linhongz
Copy link

Describe the issue
In the FreeRTOS portable/RVDS/ directory, there are two ports:

ARM_CM4F for Cortex-M4F with FPU support.
ARM_CM4_MPU for Cortex-M4 with MPU support.
Which port should I use if I need both FPU and MPU on Cortex-M4F? Should I combine both, or is there a single port for this configuration?

Expected Behavior
Clarification on whether both features (FPU and MPU) are supported simultaneously on Cortex-M4F and which port to use.

Additional Information
FreeRTOS version: V11.1.0
Processor: ARM Cortex-M4F

@linhongz linhongz added the documentation Improvements or additions to documentation label Feb 12, 2025
@aggarg
Copy link
Member

aggarg commented Feb 13, 2025

Which port should I use if I need both FPU and MPU on Cortex-M4F?

ARM_CM4_MPU has both MPU and FPU support - https://github.com/FreeRTOS/FreeRTOS-Kernel/blob/main/portable/RVDS/ARM_CM4_MPU/port.c#L1229.

@aggarg aggarg added question Further information is requested and removed documentation Improvements or additions to documentation labels Feb 13, 2025
@aggarg aggarg closed this as completed Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants