Skip to content

Commit 2f409f0

Browse files
committed
hal:gd32e10x: drop nvic settring in SystemInit
drop `nvic_vector_table_set`call in `SystemInit` function. Signed-off-by: YuLong Yao <[email protected]>
1 parent 26a576f commit 2f409f0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

gd32e10x/cmsis/gd/gd32e10x/source/system_gd32e10x.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,12 +129,14 @@ void SystemInit (void)
129129

130130
/* configure the system clock source, PLL Multiplier, AHB/APBx prescalers and Flash settings */
131131
system_clock_config();
132-
132+
133+
/*
133134
#ifdef VECT_TAB_SRAM
134135
nvic_vector_table_set(NVIC_VECTTAB_RAM,VECT_TAB_OFFSET);
135136
#else
136137
nvic_vector_table_set(NVIC_VECTTAB_FLASH,VECT_TAB_OFFSET);
137138
#endif
139+
*/
138140

139141
}
140142

0 commit comments

Comments
 (0)