Skip to content

Commit

Permalink
skip d-cache enable in RAMCODE
Browse files Browse the repository at this point in the history
  • Loading branch information
bhav97 committed Dec 12, 2021
1 parent 7b0d4ab commit af609f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ports/stm32h7/boards.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
void board_init(void)
{
SCB_EnableICache();
#ifndef RAMCODE
SCB_EnableDCache();
#endif
__HAL_RCC_SYSCFG_CLK_ENABLE();
clock_init();
SystemCoreClockUpdate();
Expand Down

0 comments on commit af609f0

Please sign in to comment.