ENABLE_SD_DMA_CACHE_MAINTENANCE is deactivated after Code Generation with CUBE MX V 5.0.1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-01-05 8:47 AM
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).
Labels:
- Labels:
-
STM32CubeMX
-
STM32H7 Series
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-01-09 9:09 PM
Probably it is bug of CubeMX - last BEGIN it is END
