SiliconLabs / matter

Matter is creating more connections between more objects, simplifying development for manufacturers and increasing compatibility for consumers, guided by the Connectivity Standards Alliance.
https://www.silabs.com/wireless/matter
Apache License 2.0
160 stars 46 forks source link

build failed #55

Closed Leo2442926161 closed 1 year ago

Leo2442926161 commented 1 year ago

Description of the issue

I am trying to flash DAC and CD to efr32, I followed https://github.com/SiliconLabs/matter/blob/release_0.4.0/silabs_examples/credentials but the build is failed, could you help me? thank you.

python3 ./creds.py -p /dev/ttyACM1 -S 59406895 -B brd4186a -C pai_cert.pem -K pai_priv.pem -D cd.bin

**Linking build/debug/device-creds.out /home/leo/armGNU/gnu/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld:/home/leo/matter/connectedhomeip/third_party/silabs/gecko_sdk//platform/emdrv/nvm3/lib/libnvm3_CM33_gcc.a: file format not recognized; treating as linker script /home/leo/armGNU/gnu/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld:/home/leo/matter/connectedhomeip/third_party/silabs/gecko_sdk//platform/emdrv/nvm3/lib/libnvm3_CM33_gcc.a:1: syntax error collect2: error: ld returned 1 exit status make: * [device-creds.Makefile:156: build/debug/device-creds.out] Error 1 make: Leaving directory '/home/leo/matter/connectedhomeip/silabs_examples/credentials/device/brd4186a' ERROR: 2

Steps to reproduce the issue

execute: python3 ./creds.py -p /dev/ttyACM1 -S 59406895 -B brd4186a -C pai_cert.pem -K pai_priv.pem -D cd.bin

Device type(s) and network topology

Ubuntu 20.04

Proposed solution(s)

No response

SMG version

release_0.4.0

Protocol(s)

Openthread

Hardware platform(s)

MG24

Development platform(s)

No response

Captured data or logs

No response

silabs-sebastien commented 1 year ago

For support requests, please ask your questions in Silabs Matter Community.

Leo2442926161 commented 1 year ago

thank you,have fixed it.