Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 stm8L151c6 微控制器的 cosmic c 中使用 atomthreads 时出现此错误。
clnk - symbol _archFirstThreadRestore not defined (Debug\atomkernel.o)
我发现 _archFirstThreadRestore 是在名为atomports_asm_cosmic.slinker 的汇编文件中定义的,无法在汇编文件中找到这些例程。如何制作链接器以将汇编程序文件添加到使用这些函数的 c 代码中。
atomports_asm_cosmic.s
是的,明白了。我搞定了。问题是我必须将汇编文件添加到项目源文件中。我没有这样做。