Christopher Haster
87c0b82230
Updated includes of renamed platform header files
2017-03-01 16:45:55 -06:00
Christopher Haster
274460bef5
Filesystem: Adopted dynamic allocation of files over static allocation
2017-02-24 12:03:14 -06:00
Christopher Haster
c4649afba5
Filesystem: Last minute changes due to feedback on directory iteration
...
- Changed to use dirent structure type
- Fixed memory leak in closedir
2017-02-24 12:03:14 -06:00
Christopher Haster
7ca4eabf77
Filesystem: Fixed integration with mbed 2 builds
2017-02-24 12:03:14 -06:00
Christopher Haster
b9122c73f9
Filesystem: Integrate error handling between c++/posix layers
2017-02-24 12:03:09 -06:00
Christopher Haster
eea5c9f08a
Filesystem: Integration with retarget code
2017-02-24 11:55:37 -06:00
Simon Hughes
840c77793b
STORAGE: Pull request 3762 review feedback changes.
...
- Fixing code formatting errors with astyle tool.
- Replaced use of TOOLCHAIN_xxx macros with compiler emitted macros.
- Added const to BlockDevice::get_xxx_size() member functions.
- Added documentation for FAT filesystem thread support.
- Added documentation for fat_filesystem_set_errno().
- Added documentation clarifying the reasons for errno/stat symbol definitions in retarget.h.
- Removed FAT filesystem from mbed 2 testing.
- Fixed FATMisc.h Copyright (c) 2016 year to 2017 as its a new file.
- Removed #ifndef NDEBUG from HeapBlockDevice.cpp.
- Removed unnecessary todo comment in retarget.cpp.
2017-02-23 16:39:42 +00:00
Simon Hughes
fdadb8cc66
STORAGE: moved toolchain_support.h into platform/retarget.h
2017-02-23 16:39:18 +00:00
Simon Hughes
4f5e94c746
STORAGE: test case fixes to support ARMCC and IAR toolchains.
...
Conflicts:
features/TESTS/filesystem/fopen/fopen.cpp
2017-02-23 16:38:15 +00:00
Simon D Hughes
aefb03ccd6
ARMCC temporary fixes for undefined errno symbols.
2017-02-23 16:36:16 +00:00
Simon Hughes
0c87537f10
Added errno codes to retarget, mkdir() and ftell() tests.
2017-02-23 16:36:03 +00:00
Simon Hughes
c8fecb6c88
STORAGE: tests added for errno, ferror() and clearerr().
2017-02-23 16:30:55 +00:00
Christopher Haster
b1a685125b
Filesystem: Removed dependency on unistd.h
...
Previously used to determine stdin/stdout/stderr filenos, however
these are set by us
2017-02-23 16:30:47 +00:00
Christopher Haster
9299a88e8f
Filesystem: Add support for stat
...
Provided through FileSystemLike::stat
2017-02-23 16:30:42 +00:00
Christopher Haster
aff49d8d1e
Renamed files in platform to match source names
...
critical.h -> mbed_critical.h
sleep.h -> mbed_sleep.h
toolchain.h -> mbed_toolchain.h
rtc_time.h -> mbed_rtc_time.h
semihost_api.h -> mbed_semihost_api.h
wait_api.h -> mbed_wait_api.h
2017-02-22 18:17:54 -06:00