add cortex-a fpu support

This commit is contained in:
shaojinchun
2019-05-29 08:26:08 +08:00
parent 91f6abb765
commit 043611b98a
4 changed files with 130 additions and 0 deletions

View File

@@ -60,6 +60,9 @@ rt_uint8_t *rt_hw_stack_init(void *tentry, void *parameter,
*(--stk) = 0; /* user lr */
*(--stk) = 0; /* user sp*/
#endif
#ifdef RT_USING_FPU
*(--stk) = 0; /* not use fpu*/
#endif
/* return task's current stack address */
return (rt_uint8_t *)stk;