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.

IWR1843: CCS/1843: mmWave SDK 3.6. dependency error "crc.h"

Part Number: IWR1843

I am trying to compile in CCS a project based on MRR for the IWR1843 but I am getting this error:

"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/crc/crc.h", line 379: error #20: identifier "uint32_t" is undefined
"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/crc/crc.h", line 385: error #20: identifier "uint8_t" is undefined
"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/crc/crc.h", line 390: error #20: identifier "uint32_t" is undefined
"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/crc/crc.h", line 401: error #20: identifier "int32_t" is undefined
"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/crc/crc.h", line 402: error #20: identifier "int32_t" is undefined
"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/crc/crc.h", line 402: error #20: identifier "int32_t" is undefined
"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/crc/crc.h", line 403: error #20: identifier "int32_t" is undefined
"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/crc/crc.h", line 403: error #20: identifier "uint32_t" is undefined
"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/crc/crc.h", line 403: error #20: identifier "int32_t" is undefined
"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/crc/crc.h", line 404: error #20: identifier "int32_t" is undefined
"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/crc/crc.h", line 404: error #20: identifier "int32_t" is undefined
"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/crc/crc.h", line 405: error #20: identifier "int32_t" is undefined
"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/crc/crc.h", line 405: error #20: identifier "uint32_t" is undefined
"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/crc/crc.h", line 405: error #20: identifier "uint64_t" is undefined
"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/crc/crc.h", line 405: error #20: identifier "int32_t" is undefined
"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/crc/crc.h", line 406: error #20: identifier "int32_t" is undefined
"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/crc/crc.h", line 406: error #20: identifier "uint32_t" is undefined
"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/crc/crc.h", line 406: error #20: identifier "int32_t" is undefined

Looking through "crc.h" header file it just include "mmwave_error.h" but doesn´t include "stdint.h" which causes the undefined identifier error.

Including "#include <stdint.h>" on my local file lets me compile so it´s clear that there is a dependency problem in the SDK file.

Does anyone experiment the same problem?

Thank you.

  • Hi,

    Looking at the CRC driver test code, I believe CRC.h assumes that stdint is already included (which is how it is in the CRC driver test code. I suspect if you look at the demo file which is including CRC.h, you can likely reorganize the includes in that file to avoid this error. It does not appear that there were any changes in CRC.h in SDK 3.6, but we will look into this further on our side. If you face any other issues, let me know.

    Best Regards,
    Alec