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.

[FAQ] SIMPLELINK-CC13XX-CC26XX-SDK: 从 simplelink_cc13x2_26x2_SDK_5_20_00_52 移植到 simplelink_cc13xx_cc26xx_SDK_5_30_00_56 SDK 的其他信息

Part Number: SIMPLELINK-CC13XX-CC26XX-SDK
Other Parts Discussed in Thread: SYSCONFIG

simplelink_cc13xx_cc26xx_sdk_5_30_00_56 SDK 的 TI 内核 sysconfig 工具中增加了一项新功能。

project.syscfg(例如:simple_peripheral.syscfg)文件在 simplelink_cc13xx_cc26xx_sdk_5_30_00_56 SDK 中还需要一个参数。

该参数的作用是为项目设置 rtos 版本,可能是 tirtos 或 freertos。如果没有参数,将导致链接器错误,从而造成内核对象符号丢失。

因此,当从 5.20 SDK 移植到 5.30 SDK 时,您需要手动更新 project.syscfg 文件,从

// @cliArgs --board /ti/boards/CC26X2R1_LAUNCHXL

更新到

// @cliArgs --board /ti/boards/CC26X2R1_LAUNCHXL --rtos tirtos

假设您在项目中使用的是 tirtos

TI Drivers 在 5.30SDK 中发生了重大变化,因此当从 5.20 SDK 移动到 5.30 SDK 时,需要重新运行 sysconfig 工具以重新生成 ti_drivers_config.c 和 ti_drivers_config.h 文件。如果不这样做,驱动程序可能无法工作