Fixed PORT_USE_GUARD_MPU_REGION port option name.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13393 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
Giovanni Di Sirio 2020-03-06 15:02:58 +00:00
parent d9c9a2ccc3
commit 95d66ee7e4
1 changed files with 2 additions and 2 deletions

View File

@ -275,7 +275,7 @@ void port_init(void) {
/* Setting up the guard page on the main() function stack base
initially.*/
mpuConfigureRegion(PORT_USE_MPU_REGION,
mpuConfigureRegion(PORT_USE_GUARD_MPU_REGION,
&__main_thread_stack_base__,
MPU_RASR_ATTR_AP_NA_NA |
MPU_RASR_ATTR_NON_CACHEABLE |
@ -298,7 +298,7 @@ void port_init(void) {
*/
void _port_set_region(void) {
mpuSetRegionAddress(PORT_USE_MPU_REGION,
mpuSetRegionAddress(PORT_USE_GUARD_MPU_REGION,
chThdGetSelfX()->wabase);
}
#endif