feat add watchdog on xidatong board

This commit is contained in:
Liu_Weichao
2022-05-06 15:58:01 +08:00
parent 46291764d4
commit 67666c1707
15 changed files with 798 additions and 10 deletions

View File

@@ -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;