Changeset 93 for ctrl/firmware/Main/CubeMX/Core
- Timestamp:
- Feb 14, 2025, 9:14:21 AM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ctrl/firmware/Main/CubeMX/Core/Src/main.c
r92 r93 309 309 310 310 HAL_MPU_ConfigRegion(&MPU_InitStruct); 311 312 /** Initializes and configures the Region and the memory to be protected 313 */ 314 MPU_InitStruct.Number = MPU_REGION_NUMBER2; 315 MPU_InitStruct.BaseAddress = 0x38000000; 316 MPU_InitStruct.Size = MPU_REGION_SIZE_512B; 317 318 HAL_MPU_ConfigRegion(&MPU_InitStruct); 311 319 /* Enables the MPU */ 312 320 HAL_MPU_Enable(MPU_PRIVILEGED_DEFAULT);
Note: See TracChangeset
for help on using the changeset viewer.