Build matter SDK Tools for Raspberry pi
Yocto recipies to build chip-tool and other Matter SDK related tools on Raspberry pi 4 using NXP's mater SDK. Use the source at the URL below. https://github.com/NXP/matter
matter SDk build requires gn. Therefore, you need to add meta-qt6.
cd poky
git clone https://github.com/kobayutapon/meta-matter-raspberrypi.git
bitbake-layers add-layer ../meta-matter-raspberrypi
bitbake-layers add-layer ../meta-qt6
Verify that the following line has been added to bblayer.conf
/build/poky/meta-matter-raspberrypi \
/build/poky/meta-qt6 \
Add following line.
IMAGE_INSTALL:append = " matter"
Run bitbake
matter tools( like chip-tool, etc.. ) needs Wi-Fi and Bluetooth environment. Remember to add these features.