Commit Graph

6 Commits (da69da972fc09d2b026a1914113d8d5ffe661c97)

Author SHA1 Message Date
deepikabhavnani da69da972f Add BlockDevice and Filesystem classes inside mbed namespace.
Adding new modules inside the namespace could be breaking change for existing code base
hence add `using namespace::class` for classes newly added to mbed namespace to maintian
backwards compatibility.

MBED_NO_GLOBAL_USING_DIRECTIVE is added to remove auto-addition of namespace
Macro guard `MBED_NO_GLOBAL_USING_DIRECTIVE` is added around namespace, to avoid
polluting users namespace.
2018-11-26 13:35:40 -06:00
deepikabhavnani a0f3fdc286 Compile time flag MBED_SD_CRC_ENABLE for CRC in SD
CRC class adds to the ROM size even when disabled runtime, because
of addition of ROM tables. Addition a compile time option to disable
CRC is required for reducing code size of SD driver component.

Library config option `SD_CRC_ENABLED` is added, set it to 0 to
disable CRC feature in SD.
2018-11-06 10:53:39 -06:00
Kevin Bracey f4708bbb36 Fix up types in SDBlockDevice
Correct types passed to debug() calls - as part of this, block size and
erase size are changed to be 32-bit - using 64-bit variables for these
will cause unnecessary code bloat.

Many uses of bd_size_t in the BlockDevice API should really be uint32_t
or size_t, but that would be a bigger API change.
2018-10-31 14:49:22 +02:00
Deepika 4de8eda249 Add required header file and namespace element instead add all 2018-09-05 11:41:25 -05: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
Yossi Levy 90866170ea Add 'components/storage/blockdevice/COMPONENT_SD/' from commit 'd791229918b261ae8a5ea0cbc5cac1238d65179b'
git-subtree-dir: components/storage/blockdevice/COMPONENT_SD
git-subtree-mainline: 2e081dc7d0
git-subtree-split: d791229918
2018-08-29 11:47:01 +03:00