找到core_cm3.c,
736行改为:
__ASMvolatile(“strexb%0,%2,[%1]”:"=&r"(result):“r”(addr),“r”(value));
753行改为:
__ASMvolatile(“strexh%0,%2,[%1]”:"=&r"(result):“r”(addr),“r”(value));
GCC ARM 编译出错Error:registersmaynotbethesame--`strexbr0,r0,[r1]'
最新推荐文章于 2024-05-04 10:51:02 发布