This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC1310: creating output section ".vtable_ram" without a SECTIONS specification 的警告问题

Part Number: CC1310

前段时间基于simplelink_cc13x0_sdk_4_20_00_05的collector项目,编写了iic_user.c,实现了iic slave功能。

现在项目需求更改,不需要154stack功能了,直接裁剪太麻烦,就准备重新建一个功能开发。

开发方式是,基于simplelink_cc13x0_sdk_4_20_00_05的empty项目,导入iic_user.c,并在main中新建任务。

但是在编译的过程中,出现以下警告:

#10247-D creating output section ".vtable_ram" without a SECTIONS specification

忽略警告直接下载,无法进入main函数。

研究发现,注释掉下面这行函数后,就不会有上述警告了,并且能够进入main函数,但iic的功能无法实现。

I2CIntRegister(I2C0_BASE, iic_interrupt_callback);   

所以想知道关于.vtable_ram警告如何正确解决。