Cruz Monrreal
99df848e1c
Merge pull request #6968 from theotherjimmy/test-relpath
...
Test build: Reduce include command length
2018-05-23 14:47:58 -05:00
Cruz Monrreal
a404a9379e
Merge pull request #6862 from jamesbeyond/fastmodel_support
...
Fastmodels support: add FVP_MPS2 targets to mbed os
2018-05-23 14:47:23 -05:00
Cruz Monrreal
eb9435b52e
Merge pull request #6772 from ARMmbed/g-littlefs-eilseq
...
littlefs: Map LFS_ERR_CORRUPT to EILSEQ
2018-05-23 10:12:19 -05:00
Cruz Monrreal
3bcc076c0c
Merge pull request #6931 from jeromecoutant/PR_PERIPH
...
STM32 : PeripheralPins.c and PinNames.h files alignment
2018-05-22 14:56:37 -05:00
Martin Kojtal
261f73fbfd
Merge pull request #6896 from Alex-EEE/master
...
Export folder needs to not ignore .mbed files.
2018-05-22 14:42:12 +02:00
Martin Kojtal
585504f723
Merge pull request #6959 from marcuschangarm/remove-itm
...
Remove unused ITM implementation from NRF51 series
2018-05-22 14:40:57 +02:00
Martin Kojtal
23d8085174
Merge pull request #6878 from bulislaw/rtc_lp_ticker
...
Add low power timer fallback for platforms without RTC
2018-05-22 14:35:18 +02:00
Martin Kojtal
5d027f4e27
Merge pull request #6857 from deepikabhavnani/cpu_stats
...
CPU Statistics
2018-05-22 14:30:21 +02:00
Martin Kojtal
02af950f62
Merge pull request #6336 from geky/fat-errors
...
fatfs: Update error code mapping
2018-05-22 14:27:01 +02:00
Martin Kojtal
fc2f7fff95
Merge pull request #6757 from davidsaada/david_buffered_bd
...
Implement BufferedBlockDevice
2018-05-22 14:25:51 +02:00
Qinghao Shi
304b584040
remove ethernet driver as it is not compatible
2018-05-22 11:24:50 +01:00
Cruz Monrreal
db73ed0751
Merge pull request #6480 from davidsaada/david_nvstore_alloc_key
...
NVStore: add the allocate_key API (instead of set_alloc_key)
2018-05-21 17:32:00 -05:00
Cruz Monrreal
a301db5d43
Merge pull request #6791 from kjbracey-arm/fcntl
...
Add POSIX fcntl flag support
2018-05-21 17:17:02 -05:00
Cruz Monrreal
cd1ff94db2
Merge pull request #6866 from geky/fat-erase-disk
...
fatfs: Add erase disk to format
2018-05-21 17:14:14 -05:00
Jimmy Brisson
3e7fd9e0f0
Use relative path for scanning built mbed-os
2018-05-21 13:48:41 -05:00
Qinghao Shi
f35ba494ca
remove empty lines and redundant variables
2018-05-21 18:43:37 +01:00
Qinghao Shi
bc03c20408
update targets.json remove redundant extra_lables
2018-05-21 18:33:48 +01:00
Cruz Monrreal
ea13262aec
Merge pull request #6951 from bcostm/fix_spi_nss_config
...
STM32 SPI: fix NSS pin configuration
2018-05-21 10:26:00 -05:00
Cruz Monrreal
ab5d7e1c2f
Merge pull request #6952 from jeromecoutant/PR_MSP
...
STM32 ETHERNET : Allow user defined Ethernet PHY init functions
2018-05-21 10:25:06 -05:00
Cruz Monrreal
97b1615dcc
Merge pull request #6821 from deepikabhavnani/system_stats
...
System stats - API addition
2018-05-21 10:16:59 -05:00
Cruz Monrreal
b165e9c3da
Merge pull request #6823 from theotherjimmy/remove-build-everything
...
tools: Remove long-deprecated build_everything.py
2018-05-21 10:16:02 -05:00
Cruz Monrreal
2fa6cb519e
Merge pull request #6826 from marcuschangarm/feature-ota
...
Reorganize SoftDevices for NRF52 series
2018-05-21 10:15:09 -05:00
Cruz Monrreal
a651cb220f
Merge pull request #6863 from k-stachowiak/update-mbedtls-2.9.0
...
Update Mbed TLS to version 2.9.0
2018-05-21 10:13:31 -05:00
Cruz Monrreal
86d04d7b15
Merge pull request #6901 from kivaisan/eventqueue_time_left
...
events: Introduce API to query how much time is left for delayed event
2018-05-21 10:12:13 -05:00
Cruz Monrreal
16d30776aa
Merge pull request #6905 from kivaisan/remove_common_pal_flags
...
Lora: Remove obsolete FEATURE_COMMON_PAL flags
2018-05-21 10:11:20 -05:00
Cruz Monrreal
1ae48fcee9
Merge pull request #6939 from jeromecoutant/PR_NOT_SUPPORTED
...
NOT_SUPPORTED error was not supported any more in test_api.py script
2018-05-21 10:08:03 -05:00
Qinghao Shi
aab82a78b3
reformat coding styles based on coding guidelines
2018-05-21 15:37:37 +01:00
Marcus Chang
d27c4c920c
Remove unused ITM implementation from NRF51 series
...
NRF51 doesn't support SWO out.
2018-05-18 11:26:13 -07:00
jeromecoutant
7622083da9
STM32 ETHERNET : Allow user defined Ethernet PHY init
...
If user adds USE_USER_DEFINED_HAL_ETH_MSPINIT macro in the json config,
he can implement his own HAL_ETH_MspDeInit and HAL_ETH_MspDeInit functions.
2018-05-18 14:42:27 +02:00
bcostm
2d7b13c540
STM32 SPI: fix NSS pin configuration
2018-05-18 14:26:26 +02:00
Kimmo Vaisanen
990da085d9
Introduce API to query how much time is left for delayed event
...
If user has initiated a delayed event (either with call_in or call_every),
user might need to know how much time is left until the event is
due to be dispatched.
Added time_left() function can be used to get the remaining time.
2018-05-18 12:55:06 +03:00
Martin Kojtal
79640c6a88
Merge pull request #6940 from JanneKiiskila/nvstore-thread-mstr
...
NVStore - remove Thread.h include
2018-05-18 09:05:05 +01:00
Cruz Monrreal
4b721583b5
Merge pull request #6559 from davidsaada/david_flash_sim_bd
...
Implement FlashSimBlockDevice - flash simulated block device over RAM
2018-05-17 21:54:34 -05:00
Cruz Monrreal
73eebaecf7
Merge pull request #6919 from cmonr/nvstore-example-targets
...
tools: Add explicit target for NVStore example
2018-05-17 21:39:12 -05:00
Cruz Monrreal
bb0c345af1
Merge pull request #6917 from ARMmbed/g-astyle-rename-warnings
...
Travis: Quick name-fix for warnings reported by Astyle
2018-05-17 21:38:44 -05:00
jeromecoutant
b30f3abf11
STM32 PeripheralPins.c second update after review
...
genpinmap script version 1.1
2018-05-17 17:58:09 +02:00
Christopher Haster
effdc6571b
retarget: Added workaround for conflicting definitions of error_t
...
The errno.h header file defines the type error_t, unfortunately this
is a common type name that may be defined in user code. For at least GCC
we can work around this by telling errno that the error_t is already
defined.
2018-05-17 10:26:33 -05:00
Christopher Haster
78992a4c26
retarget: Added include errno.h
...
Unfortunately, some toolchains don't define the same errno codes that
are used fairly consistently on Linux based platforms, which means they
also don't match the errno codes used in the retarget layer.
If a user includes errno.h after mbed.h, the errno codes can be
redefined incorrectly.
Adding an include of errno.h in mbed.h forces the order to be fixed.
2018-05-17 10:26:33 -05:00
Christopher Haster
5efda4b922
fatfs: Fixed ENOTEMPTY error for removing a directory
2018-05-17 10:26:32 -05:00
Christopher Haster
6d4190bd0b
fatfs: Update error code mapping
...
A lot of the error codes in fatfs were mapped incorrectly. This patch
revisits the error code mapping to try to correct these mistakes.
2018-05-17 10:26:32 -05:00
Deepika
25e2b8838a
Added additional read to care of lazyily initialized timer
2018-05-17 10:25:31 -05:00
Cruz Monrreal
77f5c4ac04
Merge pull request #6749 from AndrzejKurek/feature-mbedtls-platform-setup
...
Add platform setup and teardown calls to mbedtls tests
2018-05-17 10:08:44 -05:00
Cruz Monrreal
54ac02b080
Merge pull request #6865 from jamesbeyond/greentea_fix
...
fix greentea-client, require a character input between K-V pairs
2018-05-17 10:07:41 -05:00
Cruz Monrreal
bce32b097e
Merge pull request #6876 from JuhPuur/master
...
Nanostack release for Mbed OS 5.9
2018-05-17 10:07:21 -05:00
Marcus Chang
ef9bc9ccc9
Add NRF52 support for building bootloader and updateable firmware
...
New directory structure:
* TARGET_SOFTDEVICE_COMMON
* TARGET_SOFTDEVICE_S112
* TARGET_SOFTDEVICE_S132_FULL (MBR + SoftDevice, default)
* TARGET_SOFTDEVICE_S132_OTA (SoftDevice only, for firmware updates)
* TARGET_SOFTDEVICE_S132_MBR (MBR only, for bootloader builds)
* TARGET_SOFTDEVICE_S140_FULL (MBR + SoftDevice, default)
* TARGET_SOFTDEVICE_S140_OTA (SoftDevice only, for firmware updates)
* TARGET_SOFTDEVICE_S140_MBR (MBR only, for bootloader builds)
* TARGET_SOFTDEVICE_NONE
The X_OTA and X_MBR binaries are obtained from the original x_FULL SoftDevice
by splitting it in an MBR part and a SoftDevice part. The MBR is needed for
the bootloader and the SoftDevice for firmware updates.
Build application without SoftDevice:
"target_overrides": {
"*": {
"target.extra_labels_remove": ["SOFTDEVICE_COMMON", "SOFTDEVICE_X_FULL"],
"target.extra_labels_add": ["SOFTDEVICE_NONE"]
}
}
Build application for firmware update using SoftDevice X:
"target_overrides": {
"*": {
"target.extra_labels_remove": ["SOFTDEVICE_X_FULL"],
"target.extra_labels_add": ["SOFTDEVICE_X_OTA"]
}
}
Build bootloader without SoftDevice X:
"target_overrides": {
"*": {
"target.extra_labels_remove": ["SOFTDEVICE_COMMON", "SOFTDEVICE_X_FULL"],
"target.extra_labels_add": ["SOFTDEVICE_X_MBR"]
}
}
2018-05-17 07:32:09 -07:00
Janne Kiiskila
16a27a2602
NVStore - remove Thread.h include
...
As this include is not actually needed. Having it will cause issues
with the bootloader, as this will cause a need to get the full
CMSIS/RTOS package etc., which would bloat the bootloader size.
2018-05-17 13:07:59 +03:00
jeromecoutant
109524d83d
NOT_SUPPORTED error was not supported any more in test_api.py script
2018-05-17 11:58:13 +02:00
Deepika
7900863c4d
Updated test to not use event queue.
...
Test was failing on limited RAM devices, because of shared event queue size.
Updated test to use thread instead of event queue.
2018-05-16 14:26:08 -05:00
jeromecoutant
3ac1855d93
STM32L4 DISCO : PeripheralPins.c and PinNames.h files alignment
2018-05-16 17:05:14 +02:00
jeromecoutant
3e56a68eca
STM32L0 DISCO : PeripheralPins.c and PinNames.h files alignment
2018-05-16 17:05:10 +02:00