Skip to content

chrisbeach59/ambd_sdk_with_chip_non_NDA

 
 

Repository files navigation

Matter (previously CHIP) on AmebaD

CHIP Ameba-D All Clusters Example

README

https://github.com/hank820/connectedhomeip/tree/base0608_gn/examples/all-clusters-app/ambd

Get amebaD SDK & Matter SDK

Test on Ubuntu 20.04

git clone --recurse-submodules https://github.com/hank820/ambd_sdk_with_chip_non_NDA.git

Set Matter build environment

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

Make little CPU

cd ambd_sdk_with_chip_non_NDA/project/realtek_amebaD_va0_example/GCC-RELEASE/project_lp

make all

Make CHIP library by gn and Make lib_main.a

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

Make big CPU

cd ambd_sdk_with_chip_non_NDA/project/realtek_amebaD_va0_example/GCC-RELEASE/project_hp

make all

Flash image

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

Run all-cluster-app example

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

About

ambd_sdk_with_chip_new

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 90.3%
  • Assembly 6.0%
  • Java 1.3%
  • Objective-C 0.8%
  • Makefile 0.7%
  • C++ 0.3%
  • Other 0.6%