随笔分类 -  cortex-m

摘要:跳转前指定sp和msp: #if defined(__GNUC__)__attribute__(( naked )) static void set_sp(unsigned long addr){ __asm volatile ( "mov sp, r0 \n" "bx lr \n" );}__at 阅读全文
posted @ 2021-09-23 17:21 decrement 阅读(99) 评论(0) 推荐(0)
摘要:Cortex-M官方: https://developer.arm.com/search#q=Cortex-M4 Devices Generic User Guide HardFault问题的调试解决: https://blog.csdn.net/_xiao/article/details/7847 阅读全文
posted @ 2021-09-23 09:11 decrement 阅读(49) 评论(0) 推荐(0)