请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:MSPM0G1505 Thread: MSPM0L1303、 SysConfig 中讨论的其他器件
工具/软件:
我将一个工程从 MSPM0L1303 迁移到 MSPM0G1505。
当我使用 SysConfig 重新创建配置时、我为比较器 (COMP0) 选择“Channel Input enabled for the Positive Terminal“后就会收到错误。
TypeError: Cannot read properties of undefined (reading 'match')
at getGPIOPort (/home/marne/Downloads/mspm0_sdk_1_30_00_03/source/ti/driverlib/.meta/Common.js:1812:25)
at Object.getGPIOPortMultiPad (/home/marne/Downloads/mspm0_sdk_1_30_00_03/source/ti/driverlib/.meta/Common.js:1829:12)
at printDefine (/home/marne/Downloads/mspm0_sdk_1_30_00_03/source/ti/driverlib/.meta/comp/COMP.Board.h.xdt:180:37)
at subTemplateFunction (/home/marne/Downloads/mspm0_sdk_1_30_00_03/source/ti/driverlib/.meta/comp/COMP.Board.h.xdt:54:13)
at webpack://sysconfig/src/pinmux/services/metaEnvironment/runtimeContext.ts:1102:11
at templateFunc (/home/marne/Downloads/mspm0_sdk_1_30_00_03/source/ti/driverlib/.meta/templates/Board.h.xdt:50:10)
at func (webpack://sysconfig/src/pinmux/services/codeGeneration/templateRunner.ts:29:39)
at allowPathVisibility (webpack://sysconfig/src/pinmux/services/pathsVisibility.ts:11:10)
at runTemplate (webpack://sysconfig/src/pinmux/services/codeGeneration/templateRunner.ts:29:13)
at t.CodeGenerator.generate (webpack://sysconfig/src/pinmux/services/codeGeneration/codeGenerator.ts:136:10)
我已经尝试了 SysConfig 1.23.0 和 1.24.0(截至编写时的最新版本)。
我附加了 syscfg-file。