8 years, 7 months 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
Be the first to answer this question.