Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion bsp/gd32/arm/gd32h759i-eval/board/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ void Error_Handler(void)
void SystemClock_Config(void)
{
SysTick_Config(SystemCoreClock / RT_TICK_PER_SECOND);
NVIC_SetPriority(SysTick_IRQn, 0);
}

/**
Expand Down Expand Up @@ -65,6 +64,12 @@ void rt_hw_board_init()
SCB->VTOR = (0x08000000 & NVIC_VTOR_MASK);
#endif

/* Enable IChace */
rt_hw_cpu_icache_enable();

/* Enable DChace */
rt_hw_cpu_dcache_enable();

SystemClock_Config();

#ifdef RT_USING_SERIAL
Expand Down
7 changes: 6 additions & 1 deletion bsp/gd32/arm/gd32h759i-start/board/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ void Error_Handler(void)
void SystemClock_Config(void)
{
SysTick_Config(SystemCoreClock / RT_TICK_PER_SECOND);
NVIC_SetPriority(SysTick_IRQn, 0);
}

/**
Expand Down Expand Up @@ -65,6 +64,12 @@ void rt_hw_board_init()
SCB->VTOR = (0x08000000 & NVIC_VTOR_MASK);
#endif

/* Enable IChace */
rt_hw_cpu_icache_enable();

/* Enable DChace */
rt_hw_cpu_dcache_enable();

SystemClock_Config();

#ifdef RT_USING_SERIAL
Expand Down