1 /******************************************************************************
2 * @brief provide high-level startup routines for NV32Fxx.
3 *
4 *******************************************************************************/
5
6 #include "start.h"
7 #include "common.h"
8 #include "wdog.h"
9 #include "sysinit.h"
10
11 /********************************************************************/
12 /********************************************************************/
13 /*!
14 * \brief flash SystemInit
15 * \return None
16 *
17 * this is a system initialization function which dediu16Cated in Keil
18 * others complier don't use it.
19 * it is similar to start function
20 */
SystemInit(void)21 void SystemInit( void )
22 {
23 #if !defined(ENABLE_WDOG)
24 /* Disable the watchdog ETMer */
25 WDOG_Disable();
26 #else
27 /* Disable the watchdog ETMer but enable update */
28 WDOG_DisableWDOGEnableUpdate();
29 #endif
30
31 sysinit();
32
33 }
34
35
36
37