Also rename SEC_COUNT to BLOCK_COUNT and SEC_SIZE to BLOCK_SIZE.
Partitions are exposed as a standard MicroPython block device.