I have an IOTZTB-DK006 from NXP.
I'm currently looking at the DOC(K32W0X1-MATTER-QSG_Rev1.0(Getting started with K32W0x1 in Matter).pdf) and trying to build an environment.
I used virtual Box to create an image of ubuntu64-22.04.3.
I have read and followed the documentation, but I am not able to progress in the python Part as shown below.
I've searched the internet and installed several pip packages, but I'm still unable to resolve the issue.
What's the problem?
... error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. × Getting requirements to build wheel did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. |
ubuntu64-22:~/NXP/matter$ pip list
Package Version oauthlib 3.2.0 |
paramiko 2.9.3 pexpect 4.8.0 Pillow 9.0.1 pip 24.0 platformdirs 2.5.1 protobuf 3.12.4 ptyprocess 0.7.0 pycairo 1.20.1 pycups 2.0.1 Pygments 2.11.2 PyGObject 3.42.1 PyJWT 2.3.0 pymacaroons 0.13.0 PyNaCl 1.5.0 pyparsing 2.4.7 pyRFC3339 1.1 python-apt 2.4.0+ubuntu2 python-dateutil 2.8.1 python-debian 0.1.43+ubuntu1.1 python-dotenv 1.0.1 pytz 2022.1 pyxdg 0.27 PyYAML 5.4.1 reportlab 3.6.8 requests 2.25.1 SecretStorage 3.3.1 setuptools 69.1.1 six 1.16.0 ssh-import-id 5.11 systemd-python 234 ubuntu-advantage-tools 8001 ubuntu-drivers-common 0.0.0 ufw 0.36.1 unattended-upgrades 0.1 urllib3 1.26.5 usb-creator 0.3.7 virtualenv 20.13.0+ds wadllib 1.3.6 wheel 0.42.0 xdg 5 xkit 0.0.0 zipp 1.0.0 |
ubuntu64-22:~/NXP/matter$ ls -al /home/ahn/NXP/matter/.environment/pigweed-venv/bin
total 24 drwxrwxr-x 2 ahn ahn 4096 2월 25 23:45 . drwxrwxr-x 5 ahn ahn 4096 2월 25 23:45 .. -rwxrwxr-x 1 ahn ahn 262 2월 25 23:45 pip -rwxrwxr-x 1 ahn ahn 262 2월 25 23:45 pip3 -rwxrwxr-x 1 ahn ahn 262 2월 25 23:45 pip3.10 lrwxrwxrwx 1 ahn ahn 7 2월 25 23:45 python -> python3 lrwxrwxrwx 1 ahn ahn 16 2월 25 23:45 python3 -> /usr/bin/python3 lrwxrwxrwx 1 ahn ahn 7 2월 25 23:45 python3.10 -> python3 -rwxrwxr-x 1 ahn ahn 249 2월 25 23:45 wheel |
已解决! 转到解答。
Hello,
Hope you are doing well. What Releases · NXP/matter · GitHub are you using?
Have you tried this?
pip install --upgrade prompt-toolkit
Regards,
Ricardo
I proceeded the same as with the NXP DOC.
"K32W0X1-MATTER-QSG_Rev1.0(Getting started with K32W0x1 in Matter).pdf" 9page
3. Matter Building Setup instructions: |
ubuntu64-22:~/NXP/matter$ git branch
I followed the DOC procedure. and I am using K32W061 EVK(IOTZTB-DK006)
Is there a problem?
Hello @Mason-Ahn
The document you used may not be up to date. Please, consider using the latest stable Matter release for your device from the matter repository, since v1.0 branch was updated after the QSG document was released; the best path would be to keep up with the READMEs from the application folder.
Specific steps for each example should be included in matter/examples/"example"/nxp/k32w/k32w0. There you should find the requirements, setup and building steps for the corresponding demo application.
Regards,
Eduardo.
I successfully built the lighting-app and contact-sensor-app for Matter.
and I flashed the binary I built, but K32W061 board doesn't work.
1. Is there something wrong with the Build Procedure below? check plz..
2. Can you share a pre-built image for Matters? ("K32W061 + OM15082")
I want 2 binarys for K32W061. (chip-k32w0x-light-example.bin , chip-k32w0x-contact-example.bin)
I just want to flash the binary to check if the board working well.
"Build Procedure"
-https://github.com/NXP/matter/blob/v1.2.0.1-tag-nxp/examples/lighting-app/nxp/k32w/k32w0/README.md
-https://github.com/NXP/matter/blob/v1.2.0.1-tag-nxp/examples/contact-sensor-app/nxp/k32w/k32w0/README.md
-K32W0X1-MATTER-QSG_Rev1.0(Getting started with K32W0x1 in Matter).pdf
(I referred to link and DOC. I just wrote down the main points below.)
a. git clone https://github.com/NXPmicro/matter/ c. git pull f. west init -l manifest --mf west.yml h. export NXP_K32W0_SDK_ROOT=~/NXP/SDK_2_6_13_K32W061DK6/ k. $NXP_K32W0_SDK_ROOT/tools/imagetool/sign_images.sh out/debug/ l. Connecting the board, Flashing the application using DK6Programmer. m. DK6Programmer.exe -V 5 -P 1000000 -s COM5 -e Flash k32w061dk6_ssbl.bin(SSBL project using MCUXpresso, compiled with the PDM_EXT_FLASH) -> I have tried flashing the binaries "chip-k32w0x-light-example.bin and chip-k32w0x-contact-example.bin" respectively, but board doesn't work.
|
Hello,
Could you please use one of the Releases · NXP? For example, v1.2.0.1.3 is the latest release, and also you can check the features and platforms supported.
And unfortunately, we cannot provide a compiled binary. Every customer needs to build it.
Best Regards,
Ricardo
Hi,
I tried the instructions from matter/examples/lighting-app/nxp/k32w/k32w0 at v1.2.0.1-tag-nxp · NXP/matter (github.com), and successfully built chip-k32w0x-light-example.bin.
I then flashed the DK6 board with command
C:\nxp\DK6Programmer> ./DK6Programmer.exe -s COM10 -p chip-k32w0x-light-example.bin
but the board UI LED does not correspond to the README file, i.e. no blinking, as below
Please advise
I did it on the latest v1.2.0.1.3 you mentioned.
https://github.com/NXP/matter/blob/v1.2.0.1.3/examples/lighting-app/nxp/k32w/k32w0/README.md
-> I built it, and verified the Lighting APP UI behaviour on the K32W061 board.
https://github.com/NXP/matter/blob/v1.2.0.1.3/examples/contact-sensor-app/nxp/k32w/k32w0/README.md
-> I followed the same procedure as lighting-app above.
However, I encountered the following issue during the build.
If you look at the "/home/ahn/.cache/pip-tools" folder permissions mentioned above, it looks no problem.
Now "contact-sensor-app" is the problem. T.T