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.

SmartRF06和CC2650EM-4XS编译HOME 1.2.a例程出错

Other Parts Discussed in Thread: CC2650

我硬件用的SmartRF06EB,并且插上CC2650EM-4XS的目标板。

用的IAR FOR ARM 7.40编译的是Z-stack HOME 1.2.a的协议栈,编译的是这个目录下的文件C:\ti\simplelink\zstack_home_1_02_02a_44539\Projects\zstack\HomeAutomation\SampleSwitch,编译的时候没有问题,

因为我们用的是CC2650EM-4XS,所以需要把MODULE_CC26XX_7X7改成MODULE_CC26XX_4X4,编译的时候就有出现下面的错误问:

Error[Li005]: no definition for "LCD_config" [referenced from LCDDogm1286.orm3(drivers_cc26xxware.arm3)]

根据论坛教程,在编译环境中添加

IAR-->Project-->C/C++ compiler-->preprocessor-->

$TI_RTOS_DRIVERS_BASE$\ti\boards\SRF06EB\CC2650EM_4XS

编译还是出错,如下图。

另外:

iar-->tools-->configure custom argument variables

我导入的是

C:\ti\simplelink\zstack_home_1_02_02a_44539\Projects\zstack\HomeAutomation\SampleSwitch\CC26xx\SampleSwitch.custom_argvars

不知道是什么原因,还希望指导一下!谢谢!