Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 1 month ago.
mbed-rtos run problem
Hi,
I export mbed-rtos to local, with platform- STM32F103RB, and I modify it to my new board: STM32F103VET6.
When I run the program, it is halt at :
In file: mbed-rtos/rtx/TARGET_CORTEX_M/rt_CMSIS.c L414 SVC_0_1(svcKernelStart, osStatus, RET_osStatus)
and could not reach main function.
I expand this macro to check as follow:
osStatus svcKernelStart(void); _Pragma("swi_number=0") swi osStatus _svcKernelStart(void); static inline osStatus svcKernelStart(void){ SVC_Setup(svcKernelStart); \ return _svcKernelStart(); }
Then, what's wrong?
It is solved, because I do not give it the reserved ram at first.
posted by yu sp 05 Oct 2015