mbed-os/storage/blockdevice
Lingkai Dong 7ef9e6175f HeapBlockDevice: allocate with std::nothrow
Mbed OS does not enable C++ exceptions, so we should call `new` with
`std::nothrow` which returns a C-style NULL pointer when allocation
fails to allow error handling.

For consistency of style within the same file, this commit also
replaces `malloc()` and `free()` to `new (std::nothrow)` and `delete`.
2021-04-14 17:00:17 +01:00
..
COMPONENT_DATAFLASH BlockDevices: specify mbed namespace where needed 2021-02-02 12:49:09 +01:00
COMPONENT_FLASHIAP BlockDevices: specify mbed namespace where needed 2021-02-02 12:49:09 +01:00
COMPONENT_I2CEE BlockDevices: specify mbed namespace where needed 2021-02-02 12:49:09 +01:00
COMPONENT_OSPIF BlockDevices: specify mbed namespace where needed 2021-02-02 12:49:09 +01:00
COMPONENT_QSPIF BlockDevices: specify mbed namespace where needed 2021-02-02 12:49:09 +01:00
COMPONENT_SD Add standard pin-names validation script & tests 2021-03-18 17:01:53 +00:00
COMPONENT_SPIF BlockDevices: specify mbed namespace where needed 2021-02-02 12:49:09 +01:00
include/blockdevice Add SPDX identifier 2020-12-15 15:01:25 +00:00
source HeapBlockDevice: allocate with std::nothrow 2021-04-14 17:00:17 +01:00
tests CMake: rename greentea test macro 2021-02-02 07:43:40 -08:00
CMakeLists.txt CMake: Add support for OSPIF blockdevice 2020-12-21 13:04:12 +00:00
mbed_lib.json Added missing blockdevice mbed_lib.json 2020-11-02 16:35:26 +00:00