主题中讨论的其他器件:SysConfig
您好!
我们需要在将 I2C SCL 引脚配置为 PA1/NRST 的同时禁用 BSL。
当我们在 syscfg 文件中禁用 BSL 时、编译器会抛出流错误:

如何正确地禁用 BSL?
谢谢、此致、
安布罗维斯
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.
您好!
我们需要在将 I2C SCL 引脚配置为 PA1/NRST 的同时禁用 BSL。
当我们在 syscfg 文件中禁用 BSL 时、编译器会抛出流错误:

如何正确地禁用 BSL?
谢谢、此致、
安布罗维斯
您好!
是的、客户更新了 SDK 1.2.0.05和 SysCfg 1.18.0。
我对它进行了测试、也遇到了一些错误:
subdir_rules.mk:23: recipe for target 'syscfg/ti_msp_dl_config.o' failed
syscfg/ti_msp_dl_config.c:92:9: error: use of undeclared identifier 'IOMUX_PINCMNone'
IOMUX_PINCMNone, IOMUX_PINCMNone, IOMUX_PINCMNone, IOMUX_PINCM5,
^
syscfg/ti_msp_dl_config.c:92:26: error: use of undeclared identifier 'IOMUX_PINCMNone'
IOMUX_PINCMNone, IOMUX_PINCMNone, IOMUX_PINCMNone, IOMUX_PINCM5,
^
syscfg/ti_msp_dl_config.c:92:43: error: use of undeclared identifier 'IOMUX_PINCMNone'
IOMUX_PINCMNone, IOMUX_PINCMNone, IOMUX_PINCMNone, IOMUX_PINCM5,
^
syscfg/ti_msp_dl_config.c:96:30: error: invalid application of 'sizeof' to an incomplete type 'const uint8_t[]' (aka 'const unsigned char[]')
for(int i = 0; i < sizeof(unusedPinIndexes)/sizeof(unusedPinIndexes[0]); i++)
^~~~~~~~~~~~~~~~~~
4 errors generated.
gmake: *** [syscfg/ti_msp_dl_config.o] Error 1
gmake: Target 'all' not remade because of errors.禁用"Configure Unused Pins"确实可以解决该问题、但在将 I2C SCL 引脚定义为 PA1/NRST 时、无法停用 BSL。 因此、原始问题仍然存在。
此致、
安布罗维斯