Ignore:
Timestamp:
Feb 14, 2025, 9:14:21 AM (3 months ago)
Author:
Zed
Message:

Fixing project.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ctrl/firmware/Main/CubeMX/Core/Src/main.c

    r92 r93  
    309309
    310310  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);
    311319  /* Enables the MPU */
    312320  HAL_MPU_Enable(MPU_PRIVILEGED_DEFAULT);
Note: See TracChangeset for help on using the changeset viewer.