Skip to content

Commit

Permalink
[stm32] Use SCB_CleanInvalidateDCache() on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
jgmess-dlr committed Dec 1, 2024
1 parent 527a9ce commit e583a8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modm/platform/core/cortex/startup.c.in
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ void __modm_startup(void)
%% endif
%% if with_dcache
// Enable data cache with default WBWA policy
SCB_InvalidateDCache();
SCB_CleanInvalidateDCache();
SCB_EnableDCache();
%% endif
%#
Expand Down

0 comments on commit e583a8c

Please sign in to comment.