Skip to content

Commit 98c92d3

Browse files
etienne-lmsjhedberg
authored andcommitted
soc: st: stm32u0: enable flash instruction cache
Enable flash instruction cache on U0 SoCs. Signed-off-by: Etienne Carriere <[email protected]>
1 parent b564878 commit 98c92d3

File tree

1 file changed

+1
-0
lines changed
  • soc/st/stm32/stm32u0x

1 file changed

+1
-0
lines changed

soc/st/stm32/stm32u0x/soc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ LOG_MODULE_REGISTER(soc);
2727
*/
2828
void soc_early_init_hook(void)
2929
{
30+
LL_FLASH_EnableInstCache();
3031
#if defined(CONFIG_STM32_FLASH_PREFETCH)
3132
/* Enable ART Accelerator prefetch */
3233
LL_FLASH_EnablePrefetch();

0 commit comments

Comments
 (0)