Hi, could anyone show me how I can build nrf52840 dongles with customzied open thread library?
Right now, the nrfconnect examples in matter repo is using prebuilt open-thread library.
Hi, could anyone show me how I can build nrf52840 dongles with customzied open thread library?
Right now, the nrfconnect examples in matter repo is using prebuilt open-thread library.
Hello,
In order to make the Matter samples (or any samples) use the source files for OpenThread instead of the pre-built library, you can add
CONFIG_OPENTHREAD_SOURCES=y
in your prj.conf. This should make it use the source files for OpenThread.
Alternatively, if you want to select a different version of the pre-built libraries, you can set one of these:
CONFIG_OPENTHREAD_NORDIC_LIBRARY_MASTER=y
CONFIG_OPENTHREAD_NORDIC_LIBRARY_FTD=y
CONFIG_OPENTHREAD_NORDIC_LIBRARY_MTD=y
CONFIG_OPENTHREAD_NORDIC_LIBRARY_RCP=y
(You can only choose one of these at the time)
You can read more about them here:
Best regards,
Edvin
Hello,
In order to make the Matter samples (or any samples) use the source files for OpenThread instead of the pre-built library, you can add
CONFIG_OPENTHREAD_SOURCES=y
in your prj.conf. This should make it use the source files for OpenThread.
Alternatively, if you want to select a different version of the pre-built libraries, you can set one of these:
CONFIG_OPENTHREAD_NORDIC_LIBRARY_MASTER=y
CONFIG_OPENTHREAD_NORDIC_LIBRARY_FTD=y
CONFIG_OPENTHREAD_NORDIC_LIBRARY_MTD=y
CONFIG_OPENTHREAD_NORDIC_LIBRARY_RCP=y
(You can only choose one of these at the time)
You can read more about them here:
Best regards,
Edvin