openthread: Add Kconfig to set PSA ITS non-volatile offset
The offset value in the PSA ITS non-volatile space is dedicated to OpenThread key reference IDs. This offset must not overwrite any other ranges already in use within the PSA ITS non-volatile space. Signed-off-by: Arkadiusz Balys <arkadiusz.balys@nordicsemi.no>
This commit is contained in:
parent
eb8fe504f7
commit
ba9f6279f5
2 changed files with 18 additions and 0 deletions
|
@ -250,3 +250,11 @@ config OPENTHREAD_MLE_CHILD_TIMEOUT
|
|||
default 240
|
||||
help
|
||||
The value of MLE child timeout in seconds.
|
||||
|
||||
config OPENTHREAD_PSA_ITS_NVM_OFFSET
|
||||
hex "NVM offset while using key refs"
|
||||
default 0x20000
|
||||
help
|
||||
The offset value in the PSA ITS non-volatile space is dedicated to OpenThread
|
||||
key reference IDs. This offset must not overwrite any other ranges already in
|
||||
use within the PSA ITS non-volatile space.
|
||||
|
|
|
@ -510,4 +510,14 @@
|
|||
#define OPENTHREAD_CONFIG_MLE_CHILD_TIMEOUT_DEFAULT CONFIG_OPENTHREAD_MLE_CHILD_TIMEOUT
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @def OPENTHREAD_CONFIG_PSA_ITS_NVM_OFFSET
|
||||
*
|
||||
* NVM offset while using key refs.
|
||||
*
|
||||
*/
|
||||
#ifdef CONFIG_OPENTHREAD_PSA_ITS_NVM_OFFSET
|
||||
#define OPENTHREAD_CONFIG_PSA_ITS_NVM_OFFSET CONFIG_OPENTHREAD_PSA_ITS_NVM_OFFSET
|
||||
#endif
|
||||
|
||||
#endif /* OPENTHREAD_CORE_ZEPHYR_CONFIG_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue