Commit Graph

6 Commits (mbed-os-5.10)

Author SHA1 Message Date
ccli8 f6b9e5b23e Fix mis-recognize that Windows-formatted SD card has valid partitions
For Windows-formatted SD card, it is not partitioned (no MBR), but its PBR has the
same boot signature (0xaa55) as MBR. We would easily mis-recognize this SD card has valid
partitions if we only check partition type. We add check by only accepting 0x00 (inactive)
/0x80 (active) for valid partition status.
2018-11-02 19:49:55 -05:00
Deepika 7bef43ad1a Storage: Add required header file and namespace element instead add all 2018-10-19 11:46:55 +01:00
Yossi Levy b9f8c95a99 Fix warnings in block devices 2018-10-19 11:46:55 +01:00
David Saada d00224ea33 Fix is_valid_erase function to use get_erase_size with address 2018-10-19 11:46:55 +01:00
Juho Eskeli ae65a2a609 Align writes to blockdevice write size in MBRBlockDevice 2018-10-08 15:18:50 +01:00
Yossi Levy ed8e170d15 Moving SD, SPIF and FLASHIAP into mbedos and refactoring features storage directory structure. 2018-08-29 12:01:11 +03:00