2020/5/5

mmwave sdk 3.4, build demo project

好像沒有用 3.4 的 project (能 import) 的,所以只好用 command line build..
結果出現 Error:
[R4 Device/Type: iwr68xx/xwr68xx] Building file: ./mss/mss_main.c
"./mss/mss_main.c", line 1853: error: identifier "SOC_XWR16XX_MSS_ADCBUF_BASE_ADDRESS" is undefined
SOC_XWR16XX_MSS_ADCBUF_BASE_ADDRESS 定義在 /common/sys_common_xwr16xx_mss.h
included in ./common/sys_common_xwr16xx.h:
#if (defined(SOC_XWR16XX))

#ifdef SUBSYS_MSS
#include 
#endif

所以要找 SOC_XWR16XX 有沒有 define:
mmwave_sdk.mak:# PLATFORM_DEFINE       : SOC_XWR14XX, SOC_XWR16XX, SOC_XWR18XX, SOC_XWR68XX
mmwave_sdk_xwr16xx.mak:PLATFORM_DEFINE         = SOC_XWR16XX
mmwave_sdk.make:
ifeq ($(MMWAVE_SDK_DEVICE), awr14xx)
include $(MMWAVE_SDK_INSTALL_PATH)/ti/common/mmwave_sdk_xwr14xx.mak
else ifeq ($(MMWAVE_SDK_DEVICE), awr16xx)
include $(MMWAVE_SDK_INSTALL_PATH)/ti/common/mmwave_sdk_xwr16xx.mak
..
所以要找 MMWAVE_SDK_DEVICE..



最後用 diff 的方式,找到.. setenv.bat
@REM Select your device. Options (case sensitive) are: awr14xx, iwr14xx, awr16xx, iwr16xx, awr18xx, iwr18xx, awr68xx, iwr68xx
set MMWAVE_SDK_DEVICE=iwr68xx
要改 awr16xx

這樣就成功了...
call C:/ti/mmwave_sdk_03_04_00_03/packages\scripts\ImageCreator\append_bin_crc\gen_bincrc32.exe xwr16xx_mmw_demo.bin

沒有留言:

張貼留言