mirror of
https://github.com/flyingcys/realtek_ameba.git
synced 2024-12-04 20:20:30 +00:00
commit
796bcbffa0
1 changed files with 6 additions and 2 deletions
|
@ -9,10 +9,14 @@
|
||||||
|
|
||||||
#include "ameba_soc.h"
|
#include "ameba_soc.h"
|
||||||
#include "build_info.h"
|
#include "build_info.h"
|
||||||
#include "rtconfig.h"
|
#include "rtthread.h"
|
||||||
|
|
||||||
extern int rtthread_startup(void);
|
extern int rtthread_startup(void);
|
||||||
|
|
||||||
|
RT_WEAK void SVC_Handler(void)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
void APP_Start(void)
|
void APP_Start(void)
|
||||||
{
|
{
|
||||||
#if CONFIG_SOC_PS_MODULE
|
#if CONFIG_SOC_PS_MODULE
|
||||||
|
@ -21,7 +25,7 @@ void APP_Start(void)
|
||||||
|
|
||||||
extern void PendSV_Handler(void);
|
extern void PendSV_Handler(void);
|
||||||
extern void SysTick_Handler(void);
|
extern void SysTick_Handler(void);
|
||||||
InterruptForOSInit((VOID*)NULL,
|
InterruptForOSInit((VOID*)SVC_Handler,
|
||||||
(VOID*)PendSV_Handler,
|
(VOID*)PendSV_Handler,
|
||||||
(VOID*)SysTick_Handler);
|
(VOID*)SysTick_Handler);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue