From d90b7274fa8bbfa09f79660b45b550d91f7b0125 Mon Sep 17 00:00:00 2001 From: Jean-François Milants Date: Tue, 2 Feb 2021 22:09:00 +0100 Subject: Update to nimble 1.3 master branch commit 82153e744833821e20e9a8b0d61c38b2b0dbcfe1 WARNING : heartbeat task is disabled! --- .../nimble/host/store/ram/include/store/ram/ble_store_ram.h | 5 +++++ src/libs/mynewt-nimble/nimble/host/store/ram/src/ble_store_ram.c | 5 +++++ src/libs/mynewt-nimble/nimble/host/store/ram/syscfg.yml | 9 +++++++++ 3 files changed, 19 insertions(+) (limited to 'src/libs/mynewt-nimble/nimble/host/store/ram') diff --git a/src/libs/mynewt-nimble/nimble/host/store/ram/include/store/ram/ble_store_ram.h b/src/libs/mynewt-nimble/nimble/host/store/ram/include/store/ram/ble_store_ram.h index 842fb5f3..19372f17 100644 --- a/src/libs/mynewt-nimble/nimble/host/store/ram/include/store/ram/ble_store_ram.h +++ b/src/libs/mynewt-nimble/nimble/host/store/ram/include/store/ram/ble_store_ram.h @@ -17,6 +17,11 @@ * under the License. */ +/* This package has been deprecated and you should + * use the store/config package. For a RAM-only BLE store, + * use store/config and set BLE_STORE_CONFIG_PERSIST to 0. + */ + #ifndef H_BLE_STORE_RAM_ #define H_BLE_STORE_RAM_ diff --git a/src/libs/mynewt-nimble/nimble/host/store/ram/src/ble_store_ram.c b/src/libs/mynewt-nimble/nimble/host/store/ram/src/ble_store_ram.c index ab5cdb9f..b912ea47 100644 --- a/src/libs/mynewt-nimble/nimble/host/store/ram/src/ble_store_ram.c +++ b/src/libs/mynewt-nimble/nimble/host/store/ram/src/ble_store_ram.c @@ -23,6 +23,11 @@ * contents are lost when the application terminates. */ +/* This package has been deprecated and you should + * use the store/config package. For a RAM-only BLE store, + * use store/config and set BLE_STORE_CONFIG_PERSIST to 0. + */ + #include #include diff --git a/src/libs/mynewt-nimble/nimble/host/store/ram/syscfg.yml b/src/libs/mynewt-nimble/nimble/host/store/ram/syscfg.yml index 442211dd..91c55fd8 100644 --- a/src/libs/mynewt-nimble/nimble/host/store/ram/syscfg.yml +++ b/src/libs/mynewt-nimble/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 -- cgit v1.2.3