|
|
@@ -122,7 +122,7 @@ static void system_clock_8m_irc8m(void);
|
|
|
#endif /* __SYSTEM_CLOCK_8M_HXTAL */
|
|
|
|
|
|
/* configure the system clock */
|
|
|
-static void system_clock_config(void);
|
|
|
+void system_clock_config(void);
|
|
|
|
|
|
/*!
|
|
|
\brief setup the microcontroller system, initialize the system
|
|
|
@@ -189,12 +189,12 @@ void SystemInit (void)
|
|
|
RCU_ADDINT = 0x00000000U;
|
|
|
|
|
|
/* configure system clock */
|
|
|
- system_clock_config();
|
|
|
+ //system_clock_config();
|
|
|
|
|
|
#ifdef VECT_TAB_SRAM
|
|
|
- // nvic_vector_table_set(NVIC_VECTTAB_RAM,VECT_TAB_OFFSET);
|
|
|
+ nvic_vector_table_set(NVIC_VECTTAB_RAM,VECT_TAB_OFFSET);
|
|
|
#else
|
|
|
- // nvic_vector_table_set(NVIC_VECTTAB_FLASH,VECT_TAB_OFFSET);
|
|
|
+ nvic_vector_table_set(NVIC_VECTTAB_FLASH,VECT_TAB_OFFSET);
|
|
|
#endif
|
|
|
}
|
|
|
|
|
|
@@ -204,7 +204,7 @@ void SystemInit (void)
|
|
|
\param[out] none
|
|
|
\retval none
|
|
|
*/
|
|
|
-static void system_clock_config(void)
|
|
|
+void system_clock_config(void)
|
|
|
{
|
|
|
#ifdef __SYSTEM_CLOCK_8M_HXTAL
|
|
|
system_clock_8m_hxtal();
|