Add in functions to enable and disable the MPU background region. Add the calls to it in the MPU Setup function. Change the port's scheduler running variable name so it is different from the Kernels. Fix two incorrect comments SPSR -> CPSR

This commit is contained in:
Soren Ptak 2024-02-01 12:42:02 -05:00
parent fe424a116e
commit 9cf6c26a29
5 changed files with 73 additions and 11 deletions

View file

@ -133,12 +133,14 @@ extern "C" {
/**
* @brief SVC Number to use when requesting a context swap.
* @ingroup Scheduler
* @note This value must not be in use in mpu_syscall_numbers.h
*/
#define portSVC_YIELD 0x0100
/**
* @brief SVC Number to use when exiting a FreeRTOS System Call.
* @ingroup MPU Control
* @note This value must not be in use in mpu_syscall_numbers.h
*/
#define portSVC_SYSTEM_CALL_EXIT 0x0104