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 Jul 26, 2023
1 parent ccd089e commit 55d76f7
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 55d76f7

Please sign in to comment.