Erste version der Software für der Prototyp

Revision:
4:75df35ef4fb6
Parent:
0:380207fcb5c1
--- a/mbed-os/features/filesystem/bd/HeapBlockDevice.h	Thu Mar 29 14:42:59 2018 +0000
+++ b/mbed-os/features/filesystem/bd/HeapBlockDevice.h	Fri Mar 30 14:07:05 2018 +0000
@@ -124,12 +124,20 @@
      */
     virtual bd_size_t get_program_size() const;
 
-    /** Get the size of a eraseable block
+    /** Get the size of an erasable block
      *
-     *  @return         Size of a eraseable block in bytes
+     *  @return         Size of an erasable block in bytes
      */
     virtual bd_size_t get_erase_size() const;
 
+    /** Get the size of an erasable block given address
+     *
+     *  @param addr     Address within the erasable block
+     *  @return         Size of an erasable block in bytes
+     *  @note Must be a multiple of the program size
+     */
+    virtual bd_size_t get_erase_size(bd_addr_t addr) const;
+
     /** Get the total size of the underlying device
      *
      *  @return         Size of the underlying device in bytes