回复
发帖数: 20
注册日期: ‎04-12-2017

用simplicity IDE 生成Z3lightsoc的项目,芯片采用EFR32MG1P232F256MG32,IAR代码编译出错

用simplicity IDE 生成Z3lightsoc的项目,芯片采用EFR32MG1P232F256MG32,IAR代码编译出错。

用EmberZNet5.9.0.0 GA SoC 5.9.0.0,选用Z3Light application.只在HAL configuration中的Bootloader改为None,生成代码,用IAR 7.80.4编译会出错。

附件是文件源代码及simplicity IDE 工程。请协助检查。

错误显示如下:

 

 


heartbeat.c
Error[Pe020]: identifier "BOARD_HEARTBEAT_LED" is undefined D:\SiliconLabs\SimplicityStudio\v4\developer\sdks\gecko_sdk_suite\v1.0\protocol\zigbee_5.9\app\framework\plugin\heartbeat\heartbeat.c 13
Error while running C/C++ Compiler
groups-server.c
identify-cli.c
identify.c
interpan-cli.c
interpan-soc.c
led.c
Error[Pe070]: incomplete type is not allowed D:\SiliconLabs\SimplicityStudio\v4\developer\sdks\gecko_sdk_suite\v1.0\platform\base\hal\micro\cortexm3\efm32\led.c 23
Error[Pe070]: incomplete type is not allowed D:\SiliconLabs\SimplicityStudio\v4\developer\sdks\gecko_sdk_suite\v1.0\platform\base\hal\micro\cortexm3\efm32\led.c 27
Error[Pe070]: incomplete type is not allowed D:\SiliconLabs\SimplicityStudio\v4\developer\sdks\gecko_sdk_suite\v1.0\platform\base\hal\micro\cortexm3\efm32\led.c 31
Error while running C/C++ Compiler
interpan.c
library.c
level-control.c
mem-util.c
message.c
mfg-token.c
micro-common.c
micro.c
Error[Pe020]: identifier "CMU_HFXOINIT_WSTK_DEFAULT" is undefined D:\SiliconLabs\SimplicityStudio\v4\developer\sdks\gecko_sdk_suite\v1.0\platform\base\hal\micro\cortexm3\efm32\micro.c 90
Error while running C/C++ Compiler
mpu.c
Z3LightSoc_EFR32_005_callbacks.c
Error[Pe020]: identifier "BOARDLED2" is undefined D:\SiliconLabs\SimplicityStudio\v4\developer\sdks\gecko_sdk_suite\v1.0\app\builder\Z3LightSoc_EFR32_005\Z3LightSoc_EFR32_005_callbacks.c 33
Error[Pe020]: identifier "BOARDLED2" is undefined D:\SiliconLabs\SimplicityStudio\v4\developer\sdks\gecko_sdk_suite\v1.0\app\builder\Z3LightSoc_EFR32_005\Z3LightSoc_EFR32_005_callbacks.c 37
Error[Pe020]: identifier "BOARDLED2" is undefined D:\SiliconLabs\SimplicityStudio\v4\developer\sdks\gecko_sdk_suite\v1.0\app\builder\Z3LightSoc_EFR32_005\Z3LightSoc_EFR32_005_callbacks.c 78
Error[Pe020]: identifier "BOARDLED2" is undefined D:\SiliconLabs\SimplicityStudio\v4\developer\sdks\gecko_sdk_suite\v1.0\app\builder\Z3LightSoc_EFR32_005\Z3LightSoc_EFR32_005_callbacks.c 81
Error[Pe020]: identifier "BOARDLED2" is undefined D:\SiliconLabs\SimplicityStudio\v4\developer\sdks\gecko_sdk_suite\v1.0\app\builder\Z3LightSoc_EFR32_005\Z3LightSoc_EFR32_005_callbacks.c 206
Error[Pe020]: identifier "BOARDLED2" is undefined D:\SiliconLabs\SimplicityStudio\v4\developer\sdks\gecko_sdk_suite\v1.0\app\builder\Z3LightSoc_EFR32_005\Z3LightSoc_EFR32_005_callbacks.c 208
Error while running C/C++ Compiler
util.c
zll-identify-server.c
Error[Pe020]: identifier "BOARDLED0" is undefined D:\SiliconLabs\SimplicityStudio\v4\developer\sdks\gecko_sdk_suite\v1.0\protocol\zigbee_5.9\app\framework\plugin\zll-identify-server\zll-identify-server.c 174
Error[Pe020]: identifier "BOARDLED1" is undefined D:\SiliconLabs\SimplicityStudio\v4\developer\sdks\gecko_sdk_suite\v1.0\protocol\zigbee_5.9\app\framework\plugin\zll-identify-server\zll-identify-server.c 175
Error[Pe020]: identifier "BOARDLED2" is undefined D:\SiliconLabs\SimplicityStudio\v4\developer\sdks\gecko_sdk_suite\v1.0\protocol\zigbee_5.9\app\framework\plugin\zll-identify-server\zll-identify-server.c 176
Error[Pe020]: identifier "BOARDLED3" is undefined D:\SiliconLabs\SimplicityStudio\v4\developer\sdks\gecko_sdk_suite\v1.0\protocol\zigbee_5.9\app\framework\plugin\zll-identify-server\zll-identify-server.c 177
Error while running C/C++ Compiler
zll-level-control-server.c
zll-on-off-server.c
zll-scenes-server.c
zll-utility-server.c

Total number of errors: 15
Total number of warnings: 46

 

Highlighted
发帖数: 149
注册日期: ‎11-07-2014

回复: 用simplicity IDE 生成Z3lightsoc的项目,芯片采用EFR32MG1P232F256MG32,IAR代码编译出错

It looks like you are missing some defines that the project expects. Since we don't have a default board header for the EFR32MG1P232F256MG32 part, you will need to add these defines in your custom board header.

 

Best regards,

Yuping