Ignore:
Timestamp:
Dec 2, 2024, 10:39:52 AM (6 weeks ago)
Author:
Zed
Message:

Instruction and Data caches were activated.

Location:
ctrl/firmware/Main/CubeMX
Files:
3 edited

Legend:

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

    r13 r38  
    7272  MPU_Config();
    7373
     74  /* Enable the CPU Cache */
     75
     76  /* Enable I-Cache---------------------------------------------------------*/
     77  SCB_EnableICache();
     78
     79  /* Enable D-Cache---------------------------------------------------------*/
     80  SCB_EnableDCache();
     81
    7482  /* MCU Configuration--------------------------------------------------------*/
    7583
  • ctrl/firmware/Main/CubeMX/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_cortex.c

    r11 r38  
    323323
    324324/**
    325   * @brief  Initializes and configures the Region and the m
     325  * @brief  Initializes and configures the Region and the memory to be protected.
    326326  * @param MPU_Init Pointer to a MPU_Region_InitTypeDef structure that contains
    327327  *                the initialization and configuration information.
  • ctrl/firmware/Main/CubeMX/charger.ioc

    r10 r38  
    33CAD.pinconfig=
    44CAD.provider=
    5 CORTEX_M7.IPParameters=default_mode_Activation
     5CORTEX_M7.CPU_DCache=Enabled
     6CORTEX_M7.CPU_ICache=Enabled
     7CORTEX_M7.IPParameters=default_mode_Activation,CPU_ICache,CPU_DCache
    68CORTEX_M7.default_mode_Activation=1
    79File.Version=6
Note: See TracChangeset for help on using the changeset viewer.