build error : 'apduZDP' undeclared (first use in this function)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

build error : 'apduZDP' undeclared (first use in this function)

跳至解决方案
577 次查看
y_miya
Contributor II

Build error: 'apduZDP' undeclared (first use in this function)

I searched but couldn't find apduZDP.

y_miya_1-1745822453771.png

../zigbee/BDB/Source/FindAndBind/bdb_fb_initiator.c:504:48: error: 'apduZDP' undeclared (first use in this function)
arm-none-eabi-gcc -std=gnu99 -DCPU_K32W1480VFTA -DCPU_K32W1480VFTA_cm33 -

...

MT"source/app_main.d" -o "source/app_main.o" "../source/app_main.c"
  504 |     hAPduInst = PDUM_hAPduAllocateAPduInstance(apduZDP);
Finished building: ../utilities/fsl_memcpy.S
Building file: ../source/app_serial_commands.c
      |                                                ^~~~~~~

SDK Details

  • Windows
  • 24.12.00
  • K32W148-EVK
  • MCUXpresso IDE

Import SDK example : zigbee_coordinator_freertos

y_miya_0-1745821769432.png

 

 

标记 (1)
0 项奖励
回复
1 解答
557 次查看
sofiaurueta
NXP Employee
NXP Employee

Hello,

 

Hope you are doing well.

 

This error may be due to some missing python modules, could you please try installing lxml module for python? You can try using:

 

pip install lxml

 

This action does a modification in the content for .h files, so the library content inside pdum_gen.h changes, this modification declares the apduZDP and apduZCL inside this library.

 

Best Regards,

Ana Sofia.

在原帖中查看解决方案

1 回复
558 次查看
sofiaurueta
NXP Employee
NXP Employee

Hello,

 

Hope you are doing well.

 

This error may be due to some missing python modules, could you please try installing lxml module for python? You can try using:

 

pip install lxml

 

This action does a modification in the content for .h files, so the library content inside pdum_gen.h changes, this modification declares the apduZDP and apduZCL inside this library.

 

Best Regards,

Ana Sofia.