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.

AWRL6844: Use CCS20.1 import rti demo issue

Part Number: AWRL6844

Tool/software:

software : MMWAVE_L_SDK_06_00_04_01

IDE : CCS20.1.1

Hi expert,

My operation process is as follows:
1. Using CCS20.1.1 to import the project C:\ti\MMWAVE_L_SDK_06_00_04_01\mmwave_l_sdk_06_00_04_01\examples\drivers\rti
2. Add the WDT function in the example.syscfg file of the project.
3. Rebuild. T
The following errors will be reported:

[40]C:/ti/MMWAVE_L_SDK_06_00_04_01/mmwave_l_sdk_06_00_04_01/source\drivers/watchdog/v0/watchdog_rti.h:142:39: error: use of undeclared identifier 'CSL_APP_RTI_RTIWWDSIZECTRL_WWDSIZE_100_PERCENT'
[41] 142 | Watchdog_WINDOW_100_PERCENT = CSL_APP_RTI_RTIWWDSIZECTRL_WWDSIZE_100_PERCENT, /**< Window size is 100% */
[42] | ^
[43]C:/ti/MMWAVE_L_SDK_06_00_04_01/mmwave_l_sdk_06_00_04_01/source\drivers/watchdog/v0/watchdog_rti.h:143:39: error: use of undeclared identifier 'CSL_APP_RTI_RTIWWDSIZECTRL_WWDSIZE_50_PERCENT'
[44] 143 | Watchdog_WINDOW_50_PERCENT = CSL_APP_RTI_RTIWWDSIZECTRL_WWDSIZE_50_PERCENT, /**< Window size is 50% */
[45] | ^
[46]C:/ti/MMWAVE_L_SDK_06_00_04_01/mmwave_l_sdk_06_00_04_01/source\drivers/watchdog/v0/watchdog_rti.h:144:39: error: use of undeclared identifier 'CSL_APP_RTI_RTIWWDSIZECTRL_WWDSIZE_25_PERCENT'
[47] 144 | Watchdog_WINDOW_25_PERCENT = CSL_APP_RTI_RTIWWDSIZECTRL_WWDSIZE_25_PERCENT, /**< Window size is 25% */
[48] | ^
[49]C:/ti/MMWAVE_L_SDK_06_00_04_01/mmwave_l_sdk_06_00_04_01/source\drivers/watchdog/v0/watchdog_rti.h:145:39: error: use of undeclared identifier 'CSL_APP_RTI_RTIWWDSIZECTRL_WWDSIZE_12_5_PERCENT'
[50] 145 | Watchdog_WINDOW_12_5_PERCENT = CSL_APP_RTI_RTIWWDSIZECTRL_WWDSIZE_12_5_PERCENT, /**< Window size is 12.5% */
[51] | ^
[52]C:/ti/MMWAVE_L_SDK_06_00_04_01/mmwave_l_sdk_06_00_04_01/source\drivers/watchdog/v0/watchdog_rti.h:146:39: error: use of undeclared identifier 'CSL_APP_RTI_RTIWWDSIZECTRL_WWDSIZE_6_25_PERCENT'
[53] 146 | Watchdog_WINDOW_6_25_PERCENT = CSL_APP_RTI_RTIWWDSIZECTRL_WWDSIZE_6_25_PERCENT, /**< Window size is 6.25% */
[54] | ^
[55]C:/ti/MMWAVE_L_SDK_06_00_04_01/mmwave_l_sdk_06_00_04_01/source\drivers/watchdog/v0/watchdog_rti.h:147:39: error: use of undeclared identifier 'CSL_APP_RTI_RTIWWDSIZECTRL_WWDSIZE_3_125_PERCENT'
[56] 147 | Watchdog_WINDOW_3_125_PERCENT = CSL_APP_RTI_RTIWWDSIZECTRL_WWDSIZE_3_125_PERCENT /**< Window size is 3.125% */
[57] | ^
[58]6 errors genera

In fact, the header file that defines the relevant macros has already been included, but the error of undeclared identifier still occurs.

My question is, how should I solve this problem?

Thank you,

Rick

  • Hey Rick,

    Thank you for reaching out regarding this compilation issue. Please give me a day or two to look into this.

    Thank you for your patience,

    Kristien

  • Hi Kristien,

    Is there any update?

  • Hey Rick,

    Sorry for the delay here. We were able to determine that this is caused by the header guards for cslr_app_rti.h and cslr_rti.h being the same - i.e., both are set as CSLR_APP_RTI_H_. You can manually change cslr_app_rti.h to its own unique header guard such as CSLR_APP_RTI_WD_H_. You may also run into a redefinition error for CSL_app_rtiRegs, the so you can also give it a unique name. After implementing the above changes, you should be able to recompile the RTI example with the WDT.

    This issue has been reported as a bug and will be fixed in a future release. Let me know if you have any other questions.

    Cheers,

    Kristien