今天使用 iar-stm8 编译 atomthread 出错,出错提示为: Error[Lc036]: no block or place matches the pattern "ro code section .text in atomport-asm-iar.o"

经过一番搜索,发现,解决办法很简单。

把 atomthread-asm-iar.s 打开,修改如下。

  SECTION .text:code
  改成:      
  SECTION `.near_func.text`:CODE

标签: Assemble

添加新评论