Question
ENABLE_SD_DMA_CACHE_MAINTENANCE is deactivated after Code Generation with CUBE MX V 5.0.1
Note on a specific code creation problem:
I use CubeMX for a project with STM32H743 and SD card interface with FatFS. When creating code the sd_diskio.c source has the following entry:
/* USER CODE BEGIN enableSDDmaCacheMaintenance */
/* #define ENABLE_SD_DMA_CACHE_MAINTENANCE 1 */
/* USER CODE BEGIN enableSDDmaCacheMaintenance */
- After uncommenting "#define ENABLE_SD_DMA_CACHE_MAINTENANCE" the definition is commented again after a new code generation with STM32CubeMX. So I have to place the define in another place to have it active after a new Code Generation.
- The USER CODE BEGIN section has no USER CODE END entry. Instead another BEGIN with the same name is present (see above).