This is an automated email from the ASF dual-hosted git repository. andk pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
The following commit(s) were added to refs/heads/master by this push: new df51f21 nimble/store: Make it clear store/ram is deprecated df51f21 is described below commit df51f21de6a0d45755b8a560d1829c192d952309 Author: Ćukasz Rymanowski <lukasz.rymanow...@codecoup.pl> AuthorDate: Tue Apr 21 15:51:56 2020 +0200 nimble/store: Make it clear store/ram is deprecated With this patch when store/ram is used then new will warn about it: 2020/04/21 15:51:21.077 [WARNING] Use of deprecated setting BLE_STORE_RAM_DEPRECATED_FLAG in @apache-mynewt-nimble/nimble/host/store/ram: Package store/ram is deprecated and store/config shall be used with BLE_STORE_CONFIG_PERSIST set to 0 --- nimble/host/store/ram/syscfg.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/nimble/host/store/ram/syscfg.yml b/nimble/host/store/ram/syscfg.yml index 442211d..91c55fd 100644 --- a/nimble/host/store/ram/syscfg.yml +++ b/nimble/host/store/ram/syscfg.yml @@ -20,4 +20,13 @@ syscfg.defs: description: > Sysinit stage for the RAM BLE store. value: 500 + BLE_STORE_RAM_DEPRECATED_FLAG: + description: > + Package store/ram is deprecated and store/config shall be used with BLE_STORE_CONFIG_PERSIST set to 0 + value: 0 + deprecated: 1 + + +syscfg.vals: + BLE_STORE_RAM_DEPRECATED_FLAG: 1