GCC alias to function outside of translation unit -AKA- is this even the right tool for the job?

前端 未结 4 675
野趣味
野趣味 2020-12-10 15:08

I\'m working with FreeRTOS on an STM32 (Cortex-M3), and using the CMSIS library from ST to bootstrap everything.

The CMSIS library defines the weak symbol SV

4条回答
  •  旧时难觅i
    2020-12-10 15:33

    I'm pretty sure SVC handler is only used by FreeRTOS at initial startup, so adding an indirection exception handler isn't going to hurt performance (but its ugly). Best ask this on the FreeRTOS forum, response there is usually great.

    Hope this helps, Best Regards, Dave

提交回复
热议问题