Skip to content

Commit c8cc4fa

Browse files
feilongflnandojve
authored andcommitted
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 4b43379 commit c8cc4fa

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

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

Lines changed: 8 additions & 6 deletions
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-
133-
#ifdef VECT_TAB_SRAM
134-
nvic_vector_table_set(NVIC_VECTTAB_RAM,VECT_TAB_OFFSET);
135-
#else
136-
nvic_vector_table_set(NVIC_VECTTAB_FLASH,VECT_TAB_OFFSET);
137-
#endif
132+
133+
/*
134+
#ifdef VECT_TAB_SRAM
135+
nvic_vector_table_set(NVIC_VECTTAB_RAM,VECT_TAB_OFFSET);
136+
#else
137+
nvic_vector_table_set(NVIC_VECTTAB_FLASH,VECT_TAB_OFFSET);
138+
#endif
139+
*/
138140

139141
}
140142

0 commit comments

Comments
 (0)