405 链接问题解决

Signed-off-by: a1012112796 <1012112796@qq.com>
This commit is contained in:
2024-07-25 13:38:49 +08:00
parent 481910f755
commit 1b85816262
3 changed files with 11 additions and 3 deletions

View File

@@ -59,9 +59,6 @@ void SystemClock_Config(void)
HAL_RCC_EnableCSS(); HAL_RCC_EnableCSS();
} }
extern int iap_main_entry(void);
INIT_ENV_EXPORT(iap_main_entry);
#include "shell.h" #include "shell.h"
INIT_APP_EXPORT(finsh_system_init); INIT_APP_EXPORT(finsh_system_init);

View File

@@ -221,6 +221,9 @@ SysTick_Handler PROC
EXPORT SysTick_Handler [WEAK] EXPORT SysTick_Handler [WEAK]
B . B .
ENDP ENDP
rt_hw_cpu_link_port PROC
EXPORT rt_hw_cpu_link_port
ENDP
Default_Handler PROC Default_Handler PROC

View File

@@ -272,3 +272,11 @@ int rtthread_startup(void)
return 0; return 0;
} }
#endif /* RT_USING_USER_MAIN */ #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;
}