Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions FlashIAPBlockDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@

#include <inttypes.h>

/* 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 deprecated. please use the FlashIAPBlockDevice component inside mbed-os."
#endif

#define FLASHIAP_READ_SIZE 1

// Debug available
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Warning
Starting from mbed-os 5.10 this repository is deprecated.
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

## Warning
Expand Down