Commit Graph

10165 Commits (b3883115e65a308a17a1ede4e0e12eab7a864e2e)

Author SHA1 Message Date
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
Christopher Haster ad176c5c6a Updated filesystem tests to use FATFileSystem + SDBlockDevice 2017-02-23 16:37:18 +00:00
Christopher Haster 90429f60c8 Fixed mbed 2 build_travis with block device
Conflicts:
	tools/build_travis.py
2017-02-23 16:37:15 +00:00
Christopher Haster 0176450c5a bd: Adopted the block storage api in the FATFileSystem 2017-02-23 16:37:13 +00:00
Christopher Haster ba5e1427fc bd: Added utility block device classes
- ChainingBlockDevice
- SlicingBlockDevice
2017-02-23 16:36:27 +00:00
Christopher Haster 03a332c5eb bd: Adopted the block device api in the SDBlockDevice 2017-02-23 16:36:25 +00:00
Christopher Haster 4633d3129d bd: Adopted the block device api in the HeapBlockDevice
Port of MemBlockDevice from mbed 2
2017-02-23 16:36:22 +00:00
Christopher Haster 99698379ef bd: Added prototype block device api 2017-02-23 16:36:20 +00:00
Simon D Hughes 67165e292c ARMCC temporary fixes for undefined errno symbols. 2017-02-23 16:36:18 +00:00
Simon D Hughes aefb03ccd6 ARMCC temporary fixes for undefined errno symbols. 2017-02-23 16:36:16 +00:00
Simon D Hughes 29f8d838d0 STORAGE: updated filesystem readme.md. 2017-02-23 16:36:10 +00:00
Simon D Hughes cffea7e3c4 Remove unnecesary symbol definitions. 2017-02-23 16:36:08 +00:00
Simon Hughes 8378af044f Updated filesystem README.md. 2017-02-23 16:36:06 +00:00
Simon Hughes 0c87537f10 Added errno codes to retarget, mkdir() and ftell() tests. 2017-02-23 16:36:03 +00:00
Christopher Haster 39a1eddb93 Filesystem: Added EEXIST reporting to mkdir through errno 2017-02-23 16:34:56 +00:00
Simon Hughes c8fecb6c88 STORAGE: tests added for errno, ferror() and clearerr(). 2017-02-23 16:30:55 +00:00
Simon Hughes 912044b829 FILESYSTEM: fopen() and basic test improvements. 2017-02-23 16:30:50 +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
Simon Hughes 7514476e2f FILESYSTEM: Fix to only build SDFileSystem if DEVICE_SPI defined, to build correctly for targets that dont have SPI interfaces. 2017-02-23 16:30:30 +00:00
Simon Hughes 66446275fa FILESYSTEM: fix KL25Z CI build failure but not instantiaing SDFileSystem. 2017-02-23 16:30:27 +00:00
Simon Hughes 1b562cc2fe Fix fopen test build error due to #include <sys/stat.h>, which is not present. 2017-02-23 16:30:25 +00:00
Simon Hughes 5c7fdc13c7 FILESYSTEM: renamed features/TESTS/fs-fat features/TESTS/filesystem. 2017-02-23 16:30:23 +00:00
Simon Hughes 4acf33f436 FILESYSTEM: moved FAT filesystem implemenation to features/filesystem subdir, and fs-fat tests to features/TESTS. 2017-02-23 16:30:21 +00:00
Simon Hughes a35919afbe minor edits to fopen test. 2017-02-23 16:30:16 +00:00
Simon Hughes df099b8567 First version of fopen test added. 2017-02-23 16:30:14 +00:00
Simon Hughes a024a78f20 STORAGE: updated basic test case and README for moving work onto feature-storage branch. 2017-02-23 16:30:12 +00:00
Simon Hughes e84814885d Ported glibc POSIX file API test test_rdwr to greentea. 2017-02-23 16:30:10 +00:00
Simon Hughes 8206663917 Updated FAT32 readme file to switch to correct branch. 2017-02-23 16:30:07 +00:00
Simon Hughes 3fd14f2f0b Re-instating the FAT32/SDCard support with POSIX File API for mbed-client team. 2017-02-23 16:30:05 +00:00
Sam Grove b6fe5abb10 Merge pull request #3743 from jeromecoutant/PR_RTC_UPDATE
STM32 RTC api minor update
2017-02-23 10:19:11 -06:00
Sam Grove 3642c3b226 Merge pull request #3736 from karsev/thread_config_update
Thread config update
2017-02-23 10:18:48 -06:00
Sam Grove ba2176323c Merge pull request #3733 from theotherjimmy/feature-bootloader
Enable boot-loader builds
2017-02-23 10:18:31 -06:00
Sam Grove cf64f09230 Merge pull request #3721 from mikaleppanen/lwip_2_0_1_stable
Lwip 2.0.1 stable
2017-02-23 10:16:57 -06:00
Sam Grove 30ddefc968 Merge pull request #3654 from geky/header-rename
Renamed files in platform to match source names
2017-02-23 10:16:35 -06:00
Sam Grove 078995a021 Merge pull request #3482 from Neuromancer2701/patch-1
Update lwipopts.h
2017-02-23 10:15:24 -06:00
U-ONSEMI\fg64rh 4678a31efa Conflict resolved 2017-02-23 18:47:15 +05:30
Seppo Takalo 9137ba8f8a Add NS_DUMMY_DEFINITIONS_OK
Add definition from master repository.
This fixes compilation of coap_service.c on non-secure platforms.
2017-02-23 14:44:59 +02:00
Yogesh Pande f51329b858 Reverting fix for IOTCLT-1439 because of regression 2017-02-23 12:29:49 +02:00
Pierre-Marie Ancele 48c63cacdb Use #if defined TARGET_STM32L4 2017-02-23 09:32:12 +01:00
Wolfgang Betz c7453b2452 Correct return values for `I2C::write(int, const char*, int, bool)` 2017-02-23 09:18:34 +01:00
Yogesh Pande 9f8271e495 Taking error fix for IOTCLT-1439 2017-02-23 08:23:39 +02:00
Yogesh Pande d3b48a8e2d Merge remote-tracking branch 'upstream/master' 2017-02-23 08:15:51 +02:00
Jimmy Brisson d62f046e57 Fail bootloader builds on targets that don't support it
This patch will prevent building bootloader builds on targets that have
not yet had their linker scripts/scatter files changed to allow for the
ROM space shrinking expected by bootloader builds. At the point of this
patch, bootloader linker script modifications are only supported by the
NUCLEO_F429ZI, K64F, KL46Z, and Odin.
2017-02-22 18:27:23 -06:00
Jimmy Brisson 9a63bfb1fb Enable boot-loader builds
To enable a boot-loader style application, override
"targets.bootloader_exec" or "targets.restrict_size" on a particular
target. These parameters are a bin or hex file, and an integer, in bytes,
respectively. If either override is present, then an application region
is created after the boot-loader region, when "targets.bootloader_exec"
is present, and before post-application, when "targets.restric_size" is
present. The size of the boot-loader region is read from the file
provided in the configuration.
2017-02-22 18:20:26 -06: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
Sam Grove a8a31da2e8 Merge pull request #3737 from bcostm/dev_can_factorization
STM32: can_api.c files factorization
2017-02-22 13:36:59 -06:00
Sam Grove 5c28715fbd Merge pull request #3742 from jeromecoutant/PR_SLEEP
STM32 : minor update in sleep HAL file
2017-02-22 13:35:01 -06:00
Sam Grove 067f5a0fef Merge pull request #3791 from theotherjimmy/remove-cr
Remove GCC_CR and refurbish LPCXpresso exporter
2017-02-22 13:33:14 -06:00
Sam Grove 355f69a11d Merge pull request #3802 from ARMmbed/feature-flash-api
Merge the feature-flash-api branch into master
2017-02-22 13:31:41 -06:00