README
https://github.com/hank820/connectedhomeip/tree/base0608_gn/examples/all-clusters-app/ambd
Test on Ubuntu 20.04
git clone --recurse-submodules https://github.com/hank820/ambd_sdk_with_chip_non_NDA.git
cd third_party/connectedhomeip
source scripts/bootstrap.sh
source scripts/activate.sh
Find more details to setup linux build environment https://github.com/hank820/connectedhomeip/blob/base0405_gn/docs/BUILDING.md
cd ambd_sdk_with_chip_non_NDA/project/realtek_amebaD_va0_example/GCC-RELEASE/project_lp
make all
cd ambd_sdk_with_chip_non_NDA/project/realtek_amebaD_va0_example/GCC-RELEASE/project_hp
make -C asdk lib_all
output : ambd_sdk_with_chip_non_NDA/project/realtek_amebaD_va0_example/GCC-RELEASE/project_hp/asdk/lib/application
cd ambd_sdk_with_chip_non_NDA/project/realtek_amebaD_va0_example/GCC-RELEASE/project_hp
make all
ambd_sdk_with_chip_non_NDA/project/realtek_amebaD_va0_example/GCC-RELEASE/project_lp/asdk/image/km0_boot_all.bin
ambd_sdk_with_chip_non_NDA/project/realtek_amebaD_va0_example/GCC-RELEASE/project_hp/asdk/image/km4_boot_all.bin
ambd_sdk_with_chip_non_NDA/project/realtek_amebaD_va0_example/GCC-RELEASE/project_hp/asdk/image/km0_km4_image2.bin
enter command in console
ATW0=testAP
ATW1=password
ATWC
ATS$ => Run chip task
Test with chip-tool
Use standalone chip-tool app(linux) to communicate with the device.
./chip-tool pairing bypass 192.168.0.xxx 11097 (AmebaD IP)
./chip-tool onoff on 1
./chip-tool onoff off 1