分离了驱动和协议栈,但性能还需要优化,速度800KB

This commit is contained in:
zhangzheng
2024-01-21 22:07:41 +08:00
parent 68b3349e1b
commit 9f3f842904
29 changed files with 1350 additions and 37 deletions

View File

@@ -12,8 +12,10 @@ void sram_init(void)
}
void jump2kernel(void)
{
#if CONFIG_KNL_EXRAM
sram_init();
sram_test();
// sram_test();
#endif
if (((*(__IO uint32_t *)KERNEL_IMG_START_ADDR) & 0x2FFE0000) == 0x20000000) // 检查栈顶地址是否合法,即检查此段Flash中是否已有APP程序
{
__set_PRIMASK(1);