Other Parts Discussed in Thread: AWR1642,
Hi,friends
I used to compile sbl with AWR1642, i run scripts in mmwave_sdk_03_01_01_02\packages\scripts\windows ,and in setenv.bat i edit like this "set MMWAVE_SDK_DEVICE=awr16xx",and no mre.and I wrote a bat file to call setenv.bat, and make all .c files in C:/ti/mmwave_sdk_03_01_01_02/packages/ti/utils/sbl. Finally,i successed.
But now,I have trouble in compiling sbl with AWR1843,I do what i do in AWR1642, it made some errors,when i run myown bat,the errors like this below:
"C:/ti/mmwave_sdk_03_01_01_02/packages/ti/drivers/soc/include/soc_xwr16xx.h", line 56: error: "SOC_ModuleId_e" has already been declared in the current scope
"C:/ti/mmwave_sdk_03_01_01_02/packages/ti/drivers/soc/include/soc_xwr16xx.h", line 62: error: "SOC_MODULE_DCAN" has already been declared in the current scope
"C:/ti/mmwave_sdk_03_01_01_02/packages/ti/drivers/soc/include/soc_xwr16xx.h", line 68: error: "SOC_MODULE_DMA" has already been declared in the current scope
"C:/ti/mmwave_sdk_03_01_01_02/packages/ti/drivers/soc/include/soc_xwr16xx.h", line 74: error: "SOC_MODULE_DMA2" has already been declared in the current scope
"C:/ti/mmwave_sdk_03_01_01_02/packages/ti/drivers/soc/include/soc_xwr16xx.h", line 80: error: "SOC_MODULE_MCAN" has already been declared in the current scope
"C:/ti/mmwave_sdk_03_01_01_02/packages/ti/drivers/soc/include/soc_xwr16xx.h", line 86: error: "SOC_MODULE_QSPI" has already been declared in the current scope
"C:/ti/mmwave_sdk_03_01_01_02/packages/ti/drivers/soc/include/soc_xwr16xx.h", line 92: error: "SOC_MODULE_SPIA" has already been declared in the current scope
"C:/ti/mmwave_sdk_03_01_01_02/packages/ti/drivers/soc/include/soc_xwr16xx.h", line 98: error: "SOC_MODULE_SPIB" has already been declared in the current scope
"C:/ti/mmwave_sdk_03_01_01_02/packages/ti/drivers/soc/include/soc_xwr16xx.h", line 99: error: invalid redeclaration of type name "SOC_ModuleId" (declared at line 99 of "C:/ti/mmwave_sdk_03_01_01_02/packages/ti/drivers/soc/include/soc_xwr18xx.h")
"src/sbl.c", line 754: error: enumerated type mixed with another type
"src/sbl.c", line 755: error: enumerated type mixed with another type
11 errors detected in the compilation of "src/sbl.c".
>> Compilation failure
gmake: *** [obj_xwr18xx/sbl.oer4f] Error 1
PS C:\ti\mmwave_sdk_03_01_01_02\packages\scripts\windows>