From 68cca5b4caa6e1fc8c277870f46a77af7d13bd8f Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Wed, 10 Aug 2022 13:59:06 +0000 Subject: [PATCH 1/2] Restyled by prettier-markdown --- .../nrfconnect_factory_data_configuration.md | 24 +++++++++++-------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/docs/guides/nrfconnect_factory_data_configuration.md b/docs/guides/nrfconnect_factory_data_configuration.md index 6f93b924d067e7..c76481397ffbc2 100644 --- a/docs/guides/nrfconnect_factory_data_configuration.md +++ b/docs/guides/nrfconnect_factory_data_configuration.md @@ -558,9 +558,10 @@ Alternatively, you can also add `CONFIG_CHIP_FACTORY_DATA_BUILD=y` Kconfig setting to the example's `prj.conf` file. Each factory data parameter has a default value. These are described in the -[Kconfig file](https://github.com/project-chip/connectedhomeip/blob/master/config/nrfconnect/chip-module/Kconfig). Setting a new value -for the factory data parameter can be done either by providing it as a build -argument list or by using interactive Kconfig interfaces. +[Kconfig file](https://github.com/project-chip/connectedhomeip/blob/master/config/nrfconnect/chip-module/Kconfig). +Setting a new value for the factory data parameter can be done either by +providing it as a build argument list or by using interactive Kconfig +interfaces. ### Providing factory data parameters as a build argument list @@ -581,8 +582,8 @@ Alternatively, you can add the relevant Kconfig option lines to the example's You can edit all configuration options using the interactive Kconfig interface. See the -[Configuring nRF Connect examples](./nrfconnect_examples_configuration.md) -page for information about how to configure Kconfig options. +[Configuring nRF Connect examples](./nrfconnect_examples_configuration.md) page +for information about how to configure Kconfig options. In the configuration window, expand the items `Modules -> connectedhomeip (/home/arbl/matter/connectedhomeip/config/nrfconnect/chip-module) -> Connected Home over IP protocol stack`. @@ -690,15 +691,18 @@ file containing all [factory data components](#factory-data-components) in any format and then implement a parser to read out all parameters and pass them to a provider. Each manufacturer can implement a factory data set on its own by implementing a parser and a factory data accessor inside the Matter stack. Use -the [nRF Connect Provider](https://github.com/project-chip/connectedhomeip/blob/master/src/platform/nrfconnect/FactoryDataProvider.h) -and [FactoryDataParser](https://github.com/project-chip/connectedhomeip/blob/master/src/platform/nrfconnect/FactoryDataParser.h) as -examples. +the +[nRF Connect Provider](https://github.com/project-chip/connectedhomeip/blob/master/src/platform/nrfconnect/FactoryDataProvider.h) +and +[FactoryDataParser](https://github.com/project-chip/connectedhomeip/blob/master/src/platform/nrfconnect/FactoryDataParser.h) +as examples. You can read the factory data set from the device's flash memory in different ways, depending on the purpose and the format. In the nRF Connect example, the factory data is stored in the CBOR format. The device uses the -[Factory Data Parser](https://github.com/project-chip/connectedhomeip/blob/master/src/platform/nrfconnect/FactoryDataParser.h) to read -out raw data, decode it, and store it in the `FactoryData` structure. The +[Factory Data Parser](https://github.com/project-chip/connectedhomeip/blob/master/src/platform/nrfconnect/FactoryDataParser.h) +to read out raw data, decode it, and store it in the `FactoryData` structure. +The [Factor Data Provider](https://github.com/project-chip/connectedhomeip/blob/master/src/platform/nrfconnect/FactoryDataProvider.c) implementation uses this parser to get all needed factory data parameters and provide them to the Matter core. From 4dd68a5f0639be8fbfdae25d637fc23089bdabaa Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Wed, 10 Aug 2022 13:59:23 +0000 Subject: [PATCH 2/2] Restyled by prettier-yaml --- zephyr/module.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zephyr/module.yml b/zephyr/module.yml index 061408afa5c3b3..2dd9f8a8ee0ac4 100644 --- a/zephyr/module.yml +++ b/zephyr/module.yml @@ -10,5 +10,5 @@ build: cmake: config/nrfconnect/chip-module kconfig: config/nrfconnect/chip-module/Kconfig depends: - - nrfxlib - - openthread + - nrfxlib + - openthread