-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Description
Description
- Type: Bug
- Priority: Major
Bug
Target
K64F
Toolchain:
GCC_ARM
mbed-os sha:
(git log -n1 --oneline
)
caeaa49 (HEAD, tag: mbed-os-5.7.4, origin/mbed-os-5.7) Merge pull request #5954 from ARMmbed/release-candidate
Expected behavior
- SD contains two partition which can not be read with PC but target K64F is still able to read/write SD card without any problem.
Actual behavior
- SD parts partition type is unknown. (check with PC e.g. Linux program gparted )
Steps to reproduce
Initialize BlockDevice point to SD e.g. with
BlockDevice *bd = storage_selector();
// Create a partitions
MBRBlockDevice::partition(bd, 1, 0x83, 0, 10241024);
MBRBlockDevice::partition(bd, 2, 0x83, 10241024, 210241024);
// Create the block device that represents the partition
MBRBlockDevice part1(bd, 1);
MBRBlockDevice part2(bd, 2);
// Format the partitions with a FAT filesystem
FATFileSystem::format(&part1);
FATFileSystem::format(&part2);
Check SD card with PC.
geky
Metadata
Metadata
Assignees
Labels
No labels