Skip to content
Snippets Groups Projects
Commit a4672149 authored by Damien George's avatar Damien George
Browse files

tests/extmod/vfs_fat_ilistdir_del.py: Use 512-byte erase block size.


Following other vfs_fat tests, so the test works on ports like stm32 that
only support 512-byte block size.

Signed-off-by: default avatarDamien George <damien@micropython.org>
parent 283c1ba0
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ except (ImportError, AttributeError):
class RAMBlockDevice:
ERASE_BLOCK_SIZE = 4096
ERASE_BLOCK_SIZE = 512
def __init__(self, blocks):
self.data = bytearray(blocks * self.ERASE_BLOCK_SIZE)
......@@ -72,7 +72,7 @@ def test(bdev, vfs_class):
try:
bdev = RAMBlockDevice(30)
bdev = RAMBlockDevice(50)
except MemoryError:
print("SKIP")
raise SystemExit
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment