Adding esp32 zigbee sdk to vscode

eskomj
Posts: 3
Joined: Tue Mar 27, 2018 5:24 am

Adding esp32 zigbee sdk to vscode

Postby eskomj » Thu Mar 21, 2024 7:34 am

Hello,

How can I add esp32 zigbee sdk to vscode? I tried to git clone to esp-idf directory and then with import project to import light switch example, but compile won't work. There is some common directories, but when I added those and edited cmakelists.txt accordingly, I got error for ninja. How do I get zigbee examples working in vscode?

git clone https://github.com/espressif/esp-zigbee-sdk.git

Esko

liaifat85
Posts: 137
Joined: Wed Dec 06, 2023 2:46 pm

Re: Adding esp32 zigbee sdk to vscode

Postby liaifat85 » Thu Mar 21, 2024 2:50 pm

Have you Installed the ESP-IDF Extension for VSCode?

eskomj
Posts: 3
Joined: Tue Mar 27, 2018 5:24 am

Re: Adding esp32 zigbee sdk to vscode

Postby eskomj » Thu Mar 21, 2024 3:34 pm

Hello,

Yes, I have esp-idf installed and it works. There is some zigbee examples in esp-idf which I have tried and they work. But In the zigbee sdk there is some examples which I would like to work in vscode, like temperature sensor. I tried with import and copying some directories which are needed. The last error was about ninja.

Esko

User avatar
fb_iceg
Posts: 18
Joined: Tue Aug 22, 2023 7:29 am

Re: Adding esp32 zigbee sdk to vscode

Postby fb_iceg » Wed Apr 17, 2024 12:55 am

直接用Vscode打开sdk内examples文件夹里边的例程,先clean,再更改 target 就可以直接编译了。
注意不要直接复制例程到其余文件夹,除非你修改了 cmakelst.txt

Who is online

Users browsing this forum: Google [Bot] and 219 guests