Skip to content

Commit

Permalink
[nrfconnect] Added mode allowing to send new Cert. Decl. in OTA DFU (p…
Browse files Browse the repository at this point in the history
…roject-chip#20609)

It is still not agreed if certification declaration that is part
of a firmware will be allowed to change after certification.
It might happen that the CD will need to be changed some other
way than modifying the firmware.

* Added config option allowing to enable certification declaration
storage.
* Added handler that is able to read CD from OTA DFU image
and save it in the Zephyr settings.
* Added nRFConnect define to set the Certification Declaration
value and not use the hardcoded one.
  • Loading branch information
kkasperczyk-no authored and ArekBalysNordic committed Jul 14, 2022
1 parent 7983b83 commit e30dedb
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions config/nrfconnect/chip-module/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -283,4 +283,24 @@ config CHIP_DEVICE_ENABLE_KEY
This value is used during Certification Tests,
and should not be present on production devices.

config CHIP_CERTIFICATION_DECLARATION_STORAGE
bool "Enable storing Certification Declaration"
depends on CHIP_FACTORY_DATA
help
Enables storing Certification Declaration in Zephyr settings
instead of using hardcoded value from firmware. It also adds
support for including new Certification Declaration into a firmware
update image package sent via OTA Software Update.

if CHIP_CERTIFICATION_DECLARATION_STORAGE

config CHIP_CERTIFiCATION_DECLARATION_OTA_IMAGE_ID
int "Certification declaration OTA image id"
default 205 #0xcd
help
The image id of Certification Declaration image
for sending it via OTA Software Update purposes.

endif

endif

0 comments on commit e30dedb

Please sign in to comment.