Giovanni wrote:Hi,
No need to struggle too much, in mcuconf.h there is this:Code: Select all
/*
* Memory attributes settings.
*/
#define STM32_NOCACHE_MPU_REGION MPU_REGION_6
#define STM32_NOCACHE_SRAM1_SRAM2 FALSE
#define STM32_NOCACHE_SRAM3 TRUE
The related code is in hal_lld.c, you can use that as example.
Giovanni
Ah great thanks. We are on 19.1.x at the moment - is this a later feature?