summaryrefslogtreecommitdiff
path: root/bsp/nv32f100x/board/src/start.c
blob: 9fdaeed0c2459c528ac70849025a9d051fa85c16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/******************************************************************************
* @brief provide high-level startup routines for NV32Fxx.
*
*******************************************************************************/

#include "start.h"
#include "common.h"
#include "wdog.h"
#include "sysinit.h"

/********************************************************************/
/********************************************************************/
/*!
 * \brief   flash SystemInit
 * \return  None
 *
 * this is a system initialization function which dediu16Cated in Keil
 * others complier don't use it.
 * it is similar to start function
 */
void SystemInit( void )
{
#if !defined(ENABLE_WDOG)
    /* Disable the watchdog ETMer */
    WDOG_Disable();
#else
    /* Disable the watchdog ETMer but enable update */
    WDOG_DisableWDOGEnableUpdate();
#endif

    sysinit();

}