I don’t have a TI Launchpad at hand to test, but I had look at the code, and wonder how this port does even compile, or if it does, how it should successfully run.
File portable/CCS/ARM_Cortex-R4/portmacro.h
declares a SWI_ALIAS
:
/* Scheduler utilities. */
#pragma SWI_ALIAS( vPortYield, 0 )
extern void vPortYield( void );
#define portYIELD() vPortYield()
but in File portable/CCS/ARM_Cortex-R4/portASM.asm
there is no table that implements the SWI alias.
So I wonder how this can work? Where does portYIELD
jump to?
The code I checked is the current main (7215c89aa81501f60af8df68dfa99fc2c118a293
).