Skip to content

Commit a467214

Browse files
committed
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: Damien George <[email protected]>
1 parent 283c1ba commit a467214

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/extmod/vfs_fat_ilistdir_del.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212

1313
class RAMBlockDevice:
14-
ERASE_BLOCK_SIZE = 4096
14+
ERASE_BLOCK_SIZE = 512
1515

1616
def __init__(self, blocks):
1717
self.data = bytearray(blocks * self.ERASE_BLOCK_SIZE)
@@ -72,7 +72,7 @@ def test(bdev, vfs_class):
7272

7373

7474
try:
75-
bdev = RAMBlockDevice(30)
75+
bdev = RAMBlockDevice(50)
7676
except MemoryError:
7777
print("SKIP")
7878
raise SystemExit

0 commit comments

Comments
 (0)