From 56f9cda17b3599f4541b1663d61ccee489aee767 Mon Sep 17 00:00:00 2001 From: Yossi Levy Date: Tue, 28 Aug 2018 15:40:56 +0300 Subject: [PATCH 1/3] Adding deprecation warning for mbed-os 5.10 --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 54165e0..70e0c03 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ +# Warning +Starting from mbed-os 5.10 this repository is deprecated. +Please refer to mbed-os 5.10 documentation for more detail on how to enable FLASHIAP support. + # Block Device driver build on top of FlashIAP API ## Warning From e1d8365efa8905d18de46781315d6403a6569d5a Mon Sep 17 00:00:00 2001 From: Yossi Levy Date: Thu, 20 Sep 2018 15:08:34 +0300 Subject: [PATCH 2/3] Updating deprication message to have links to new code and documents. disabling build after 5.10 --- FlashIAPBlockDevice.cpp | 6 ++++++ README.md | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/FlashIAPBlockDevice.cpp b/FlashIAPBlockDevice.cpp index a79f57f..99b2cbd 100644 --- a/FlashIAPBlockDevice.cpp +++ b/FlashIAPBlockDevice.cpp @@ -23,6 +23,12 @@ #include +/* Started from version 5.10.0 FlashIAPBlockDevice external repo is depricated. + please use the FlashIAPBlockDevice component inside mbed-os.*/ +#if defined(MBED_MAJOR_VERSION) && MBED_MAJOR_VERSION >= 5 && (MBED_VERSION >= MBED_ENCODE_VERSION(5,10,0)) +#error "Started from version 5.10.0 FlashIAPBlockDevice external repo is depricated. please use the FlashIAPBlockDevice component inside mbed-os." +#endif + #define FLASHIAP_READ_SIZE 1 // Debug available diff --git a/README.md b/README.md index 70e0c03..8747536 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Warning Starting from mbed-os 5.10 this repository is deprecated. -Please refer to mbed-os 5.10 documentation for more detail on how to enable FLASHIAP support. +Please refer to mbed-os 5.10 [documentation](https://github.com/ARMmbed/mbed-os-5-docs/blob/development/docs/api/storage/FlashIAPBlockDevice.md) and [code](https://github.com/ARMmbed/mbed-os/tree/master/components/storage/blockdevice/COMPONENT_FLASHIAP) for more detail on how to enable FLASHIAP support. # Block Device driver build on top of FlashIAP API From dc05d5d6171ed847ccc0f655ddf8f56805b7097a Mon Sep 17 00:00:00 2001 From: Yossi Levy Date: Tue, 25 Sep 2018 14:46:35 +0300 Subject: [PATCH 3/3] Correcting spelling --- FlashIAPBlockDevice.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FlashIAPBlockDevice.cpp b/FlashIAPBlockDevice.cpp index 99b2cbd..c946580 100644 --- a/FlashIAPBlockDevice.cpp +++ b/FlashIAPBlockDevice.cpp @@ -23,10 +23,10 @@ #include -/* Started from version 5.10.0 FlashIAPBlockDevice external repo is depricated. +/* Started from version 5.10.0 FlashIAPBlockDevice external repo is deprecated. please use the FlashIAPBlockDevice component inside mbed-os.*/ #if defined(MBED_MAJOR_VERSION) && MBED_MAJOR_VERSION >= 5 && (MBED_VERSION >= MBED_ENCODE_VERSION(5,10,0)) -#error "Started from version 5.10.0 FlashIAPBlockDevice external repo is depricated. please use the FlashIAPBlockDevice component inside mbed-os." +#error "Started from version 5.10.0 FlashIAPBlockDevice external repo is deprecated. please use the FlashIAPBlockDevice component inside mbed-os." #endif #define FLASHIAP_READ_SIZE 1