Unable to build matter template for particle_xenon

Hello, I'm attempting to build the matter template, but it won't link when I switch the board to a particle xenon. I get the following error:

ld.bfd: zephyr/boards/boards/arm/particle_xenon/libboards__arm__particle_xenon.a(board.c.obj): in function `board_particle_xenon_init':
...zephyr/boards/arm/particle_xenon/board.c:43: undefined reference to `__device_dts_ord_7'
ld.bfd: zephyr/boards/boards/arm/particle_xenon/libboards__arm__particle_xenon.a(board.c.obj):(.rodata+0x0): undefined reference to `__device_dts_ord_7'
ld.bfd: zephyr/boards/boards/arm/particle_xenon/libboards__arm__particle_xenon.a(board.c.obj):(.rodata+0x8): undefined reference to `__device_dts_ord_7'
collect2: error: ld returned 1 exit status

This appears to be something to do with the antenna initialization. Would you have any suggestions?
  • Hi Kenmacd,

    This is as expected. This warning typically means you do not have the peripherals that are requested by the application in devicetree.

    Matter samples are only adapted for Nordic nRF DK boards and it may not be easy to use third-party boards for testing Matter applications directly.

    If you do serious Matter application design, I would suggest you start with supported nRF DK boards and modify them to design your custom hardware.

    Best regards,

    Charlie 

  • Hi, thanks for the reply. In this case the code that is failing is in the init code for the board in question. It's in the board.c for the particle_xenon board, so it seems unlikely that it's for peripherals that are missing. Any chance you might take a close look?

Related