paoloteti / ti-hercules-bsp

Bare Metal Board Support Package for Texas Instruments Cortex-R4F/R5F TMS570
Other
25 stars 4 forks source link

inline init_stack_pointers() to avoid recursive calls. #6

Closed paoloteti closed 6 years ago

paoloteti commented 6 years ago

As reported in #5 We need to avoid to the double call that, before stack initialization is completed, trigger a recursive calls to _cpu_stack().

For now just move back to hard-coded asm due to issue in _cpu_stack() when in release mode.

Tested in both debug and release mode on TMS570LS3132

Close #5