forked from xuos/xiuos
feat add watchdog on xidatong board
This commit is contained in:
@@ -31,6 +31,10 @@
|
||||
#include "connect_usb.h"
|
||||
#endif
|
||||
|
||||
#ifdef BSP_USING_WDT
|
||||
#include "connect_wdt.h"
|
||||
#endif
|
||||
|
||||
#ifdef KERNEL_USER_MAIN
|
||||
#ifndef MAIN_KTASK_STACK_SIZE
|
||||
#define MAIN_KTASK_STACK_SIZE 2048
|
||||
@@ -242,6 +246,10 @@ extern int InitUserspace(void);
|
||||
HwLockSpinlock(&AssignSpinLock);
|
||||
#endif
|
||||
|
||||
#ifdef BSP_USING_WDT
|
||||
StartWatchdog();
|
||||
#endif
|
||||
|
||||
StartupOsAssign();
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user