-
Notifications
You must be signed in to change notification settings - Fork 3k
Added kv store adaptation to Nanostack file interface #12878
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@mikaleppanen, thank you for your changes. |
}, | ||
"use-kvstore": { | ||
"help": "Use Mbed OS KVStore API instead of filesystem. Default: false", | ||
"value": false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be ok to set this true by default?
void ns_file_system_api_init(void) | ||
{ | ||
ns_file_system_set_root_path(MBED_CONF_NANOSTACK_HAL_KVSTORE_PATH); | ||
ns_file_system_callbacks_set(ns_file_system_api_open, ns_file_system_api_close, ns_file_system_api_remove, ns_file_system_api_write, ns_file_system_api_read, ns_file_system_api_size); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rather long line length
CI started |
Test run: SUCCESSSummary: 11 of 11 test jobs passed |
Summary of changes
Added NS filesystem API module to mbed-os Nanostack HAL. Module provides kv_store interface for the Nanostack. Feature is disabled by default on .json configuration.
Impact of changes
None
Migration actions required
None
Documentation
None
Pull request type
Test results
Reviewers
@mikter @artokin @juhhei01 @JarkkoPaso