Changeset 93 for ctrl/firmware/Main/CubeMX
- Timestamp:
- Feb 14, 2025, 9:14:21 AM (3 months ago)
- Location:
- ctrl/firmware/Main/CubeMX
- Files:
-
- 3 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); -
ctrl/firmware/Main/CubeMX/FATFS/App/fatfs.c
r92 r93 21 21 uint8_t retSD; /* Return value for SD */ 22 22 char SDPath[4]; /* SD logical drive path */ 23 FATFS SDFatFS __attribute__((section(". RAM_4_DMA"))); /* File system object for SD logical drive */24 FIL SDFile __attribute__((section(". RAM_4_DMA"))); /* File object for SD */23 FATFS SDFatFS __attribute__((section(".AXI_RAM_4_DMA"))); /* File system object for SD logical drive */ 24 FIL SDFile __attribute__((section(".AXI_RAM_4_DMA"))); /* File object for SD */ 25 25 26 26 /* USER CODE BEGIN Variables */ -
ctrl/firmware/Main/CubeMX/charger.ioc
r92 r93 54 54 CAD.provider= 55 55 CORTEX_M7.AccessPermission_S-Cortex_Memory_Protection_Unit_Region1_Settings_S=MPU_REGION_FULL_ACCESS 56 CORTEX_M7.AccessPermission_S-Cortex_Memory_Protection_Unit_Region2_Settings_S=MPU_REGION_FULL_ACCESS 56 57 CORTEX_M7.BaseAddress_S-Cortex_Memory_Protection_Unit_Region1_Settings_S=0x24000000 58 CORTEX_M7.BaseAddress_S-Cortex_Memory_Protection_Unit_Region2_Settings_S=0x38000000 57 59 CORTEX_M7.CPU_DCache=Enabled 58 60 CORTEX_M7.CPU_ICache=Enabled 59 61 CORTEX_M7.DisableExec_S-Cortex_Memory_Protection_Unit_Region1_Settings_S=MPU_INSTRUCTION_ACCESS_DISABLE 62 CORTEX_M7.DisableExec_S-Cortex_Memory_Protection_Unit_Region2_Settings_S=MPU_INSTRUCTION_ACCESS_DISABLE 60 63 CORTEX_M7.Enable_S-Cortex_Memory_Protection_Unit_Region1_Settings_S=MPU_REGION_ENABLE 61 CORTEX_M7.IPParameters=default_mode_Activation,CPU_ICache,CPU_DCache,Enable_S-Cortex_Memory_Protection_Unit_Region1_Settings_S,BaseAddress_S-Cortex_Memory_Protection_Unit_Region1_Settings_S,Size_S-Cortex_Memory_Protection_Unit_Region1_Settings_S,TypeExtField_S-Cortex_Memory_Protection_Unit_Region1_Settings_S,AccessPermission_S-Cortex_Memory_Protection_Unit_Region1_Settings_S,DisableExec_S-Cortex_Memory_Protection_Unit_Region1_Settings_S 64 CORTEX_M7.Enable_S-Cortex_Memory_Protection_Unit_Region2_Settings_S=MPU_REGION_ENABLE 65 CORTEX_M7.IPParameters=default_mode_Activation,CPU_ICache,CPU_DCache,Enable_S-Cortex_Memory_Protection_Unit_Region1_Settings_S,BaseAddress_S-Cortex_Memory_Protection_Unit_Region1_Settings_S,Size_S-Cortex_Memory_Protection_Unit_Region1_Settings_S,TypeExtField_S-Cortex_Memory_Protection_Unit_Region1_Settings_S,AccessPermission_S-Cortex_Memory_Protection_Unit_Region1_Settings_S,DisableExec_S-Cortex_Memory_Protection_Unit_Region1_Settings_S,Enable_S-Cortex_Memory_Protection_Unit_Region2_Settings_S,BaseAddress_S-Cortex_Memory_Protection_Unit_Region2_Settings_S,Size_S-Cortex_Memory_Protection_Unit_Region2_Settings_S,TypeExtField_S-Cortex_Memory_Protection_Unit_Region2_Settings_S,AccessPermission_S-Cortex_Memory_Protection_Unit_Region2_Settings_S,DisableExec_S-Cortex_Memory_Protection_Unit_Region2_Settings_S 62 66 CORTEX_M7.Size_S-Cortex_Memory_Protection_Unit_Region1_Settings_S=MPU_REGION_SIZE_8KB 67 CORTEX_M7.Size_S-Cortex_Memory_Protection_Unit_Region2_Settings_S=MPU_REGION_SIZE_512B 63 68 CORTEX_M7.TypeExtField_S-Cortex_Memory_Protection_Unit_Region1_Settings_S=MPU_TEX_LEVEL1 69 CORTEX_M7.TypeExtField_S-Cortex_Memory_Protection_Unit_Region2_Settings_S=MPU_TEX_LEVEL1 64 70 CORTEX_M7.default_mode_Activation=1 65 71 Dma.Request0=SPI4_TX
Note: See TracChangeset
for help on using the changeset viewer.