关于FreeRTOS 在STM32上的移植的疑问???
__asm void vPortStartFirstTask( void ) //????{
PRESERVE8
/* Use the NVIC offset register to locate the stack. */
ldr r0, =0xE000ED08 //中断向量偏移寄存器
ldr r0,
ldr r0,
/* Set the msp back to the start of the stack. */
msr msp, r0
/* Globally enable interrupts. */
cpsie i
/* Call SVC to start the first task. */
svc 0 //
nop
}
仿真时发现程序跳到SVC 0 后就死机,进入HardFault
已经纠结好几天了,求高手帮忙
RE:关于FreeRTOS 在STM32上的移植的疑问???
HEAP空间设置的小了,不够任务申请的堆栈空间
页:
[1]