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.

[参考译文] CC1352R:在 TI-RTOS7中配置 Hwi resetVectorAddress

Guru**** 649970 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/bluetooth-group/bluetooth/f/bluetooth-forum/1131096/cc1352r-configure-hwi-resetvectoraddress-in-ti-rtos7

器件型号:CC1352R
Thread 中讨论的其他器件:SYSBIOS

大家好、

我目前正在将一个行业项目更新为 TI-RTOS7。

之前、我们将 cfg 文件中的 m3Hwi.resetVectorAddress 设置为地址0x90、如下所示:

var m3Hwi = xdc.useModule('ti.sysbios.family.arm.m3.Hwi');

m3Hwi.resetVectorAddress = 0xXXXX;

现在、我尝试将其引入如下的 syscfg:

const Hwi          = scripting.addModule("/ti/sysbios/family/arm/m3/Hwi");

Hwi.resetVectorAddress = 0xXXXX;

当我这么做时、会产生一个错误、无法将"setVectorAddress"设置为 XXXX:类型不匹配、预期= BigInteger、实际= number

请大家提出建议,如何做到这一点?

谢谢

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    明白了...

    Hwi.resetVectorAddress = system.utils.bigInt("XXXX",16)