You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -778,15 +778,17 @@ is to use the nRF Connect platform build system that creates factory data
778
778
content automatically using Kconfig options and includes the content in the
779
779
final firmware binary.
780
780
781
+
Warning, from NCS 2.7.0 release if you modify any of the factory data-related Kconfig option you need to build a Matter sample with the pristine option to clear the CMake cache or clear the cache manually.
782
+
781
783
To enable generating the factory data set automatically, go to the example's
782
784
directory and build the example with the following option (replace
783
785
`nrf52840dk_nrf52840` with your board name):
784
786
785
787
```
786
-
$ west build -b nrf52840dk_nrf52840 -- -DCONFIG_CHIP_FACTORY_DATA=y -DCONFIG_CHIP_FACTORY_DATA_BUILD=y
788
+
$ west build -b nrf52840dk_nrf52840 -- -DCONFIG_CHIP_FACTORY_DATA=y -DSB_CONFIG_MATTER_FACTORY_DATA_GENERATE=y
787
789
```
788
790
789
-
Alternatively, you can also add `CONFIG_CHIP_FACTORY_DATA_BUILD=y` Kconfig
791
+
Alternatively, you can also add `SB_CONFIG_MATTER_FACTORY_DATA_GENERATE=y` Kconfig
790
792
setting to the example's `prj.conf` file.
791
793
792
794
Each factory data parameter has a default value. These are described in the
@@ -802,7 +804,7 @@ them as an additional option for the west command. For example (replace
802
804
`nrf52840dk_nrf52840` with own board name):
803
805
804
806
```
805
-
$ west build -b nrf52840dk_nrf52840 -- -DCONFIG_CHIP_FACTORY_DATA=y --DCONFIG_CHIP_FACTORY_DATA_BUILD=y --DCONFIG_CHIP_DEVICE_DISCRIMINATOR=0xF11
807
+
$ west build -b nrf52840dk_nrf52840 -- -DCONFIG_CHIP_FACTORY_DATA=y --DSB_CONFIG_MATTER_FACTORY_DATA_GENERATE=y --DCONFIG_CHIP_DEVICE_DISCRIMINATOR=0xF11
806
808
```
807
809
808
810
Alternatively, you can add the relevant Kconfig option lines to the example's
@@ -922,26 +924,26 @@ Another way to program the factory data to a device is to use the nRF Connect
922
924
platform build system described in
923
925
[Building an example with factory data](#building-an-example-with-factory-data),
0 commit comments