您好、支持团队、
我们的产品使用 CC3220SF SoC。 SimpleLink-SDK 版本:simplelink_cc32xx_sdk_4_30_00_06。
我的问题:
1.在我的自定义代码(基于 network_terminal)中,我不知道何时将 common.syscfg 加载到 main()? 或 common.syscfg 在 main()之前加载?
2.如果要更改 GPIO 设置以动态更改、代码添加效果会好得多?
谢谢、
Lishen
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.
您好、支持团队、
我们的产品使用 CC3220SF SoC。 SimpleLink-SDK 版本:simplelink_cc32xx_sdk_4_30_00_06。
我的问题:
1.在我的自定义代码(基于 network_terminal)中,我不知道何时将 common.syscfg 加载到 main()? 或 common.syscfg 在 main()之前加载?
2.如果要更改 GPIO 设置以动态更改、代码添加效果会好得多?
谢谢、
Lishen
您好、Lishen、
编译工程时、.syscfg 文件会在 Debug/syscfg 或 MCU+Image/syscfg 文件夹中自动生成源代码、如 ti_drivers_config.c 在应用程序中打开该驱动程序(如 GPIO_init 或 SPI_open)之前、通常不会应用引脚配置。
GPIO 易于动态更改。 请参阅 TI 驱动程序文档中的 GPIO_setConfig API。
此致、
Sarah
您好、Lishen、
只需双击 CCS 中的.syscfg 文件、即可将其作为 GUI 打开。 还有一个有关 SimpleLink Academy 的教程: SysConfig 工具基础知识
此致、
Sarah