@@ -59,9 +59,6 @@ void SystemClock_Config(void)
|
||||
HAL_RCC_EnableCSS();
|
||||
}
|
||||
|
||||
extern int iap_main_entry(void);
|
||||
INIT_ENV_EXPORT(iap_main_entry);
|
||||
|
||||
#include "shell.h"
|
||||
INIT_APP_EXPORT(finsh_system_init);
|
||||
|
||||
|
@@ -221,6 +221,9 @@ SysTick_Handler PROC
|
||||
EXPORT SysTick_Handler [WEAK]
|
||||
B .
|
||||
ENDP
|
||||
rt_hw_cpu_link_port PROC
|
||||
EXPORT rt_hw_cpu_link_port
|
||||
ENDP
|
||||
|
||||
Default_Handler PROC
|
||||
|
||||
|
@@ -272,3 +272,11 @@ int rtthread_startup(void)
|
||||
return 0;
|
||||
}
|
||||
#endif /* RT_USING_USER_MAIN */
|
||||
|
||||
// empty function for link only.
|
||||
void rt_hw_cpu_link_port(void);
|
||||
int rt_conponents_init()
|
||||
{
|
||||
RT_ASSERT(rt_hw_cpu_link_port != RT_NULL);
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user