Commit Graph

12750 Commits (mbed-os-5.6)

Author SHA1 Message Date
Mathias Giacomuzzi 98b247a963 remove the first join 2017-10-20 16:18:27 +01:00
Mathias Giacomuzzi 2b1597a007 add quotation marks for compiler path 2017-10-20 16:18:27 +01:00
adustm 7320e7411d Allow exporters for NUCLEO_L486RG 2017-10-20 16:18:27 +01:00
David Walters a5f691ddd4 Changed type => test_type 2017-10-20 16:18:27 +01:00
David Walters 9a5aa7237f Minor copy edits, added comment 2017-10-20 16:18:26 +01:00
David Walters d3af9964e1 Increased test coverage / mocking of external modules 2017-10-20 16:18:26 +01:00
David Walters dcc4f1bd76 Removing unused imports/update copywright` 2017-10-20 16:18:26 +01:00
David Walters 41f761e474 Added safety check, added test converage for new function 2017-10-20 16:18:26 +01:00
David Walters 2a7bed252e Added in safety check if details_txt is None 2017-10-20 16:18:26 +01:00
David Walters 3c65f323cd Edited get_interface_version info for clarity 2017-10-20 16:18:26 +01:00
David Walters c99e1e45e9 Fixed mount_point example usage 2017-10-20 16:18:26 +01:00
David Walters f730fe8117 Removed get_mounted_details_txt from test_api.py Fixed minor typos in test_api.py Added get_interface_version to detect_targets 2017-10-20 16:18:26 +01:00
David Walters 11e688136c Changed DAPLink version to interface version. 2017-10-20 16:18:26 +01:00
David Walters 8d71ca21c9 Added additional DAPLink version info for `mbed detect` command` 2017-10-20 16:18:26 +01:00
Chris Snow 2b0ff329d6 Simplify CRP placement. 2017-10-20 16:18:26 +01:00
Chris Snow 1c5c0adbac Implement MBED_USED 2017-10-20 16:18:26 +01:00
Chris Snow e0c2ea2876 Ensure CRP is set correctly for IAR, GCC and ARM
CRP value can be set through a macro in mbed_app such as
"macros": [
    "CRP=CRP_NONE"
]
2017-10-20 16:18:26 +01:00
Chris Snow 224ac4d453 Linker update for bootloader support 2017-10-20 16:18:26 +01:00
Chris Snow 2461d0c506 Move CRP out of startup and into CRP.c so it can be conditionally compiled 2017-10-20 16:18:26 +01:00
Chris Snow 4f772dd5c1 Enable LPC1768 bootloader support 2017-10-20 16:18:26 +01:00
Jimmy Brisson 6e0d01cd13 Merge pull request #5268 from ARMmbed/release-candidate
Release candidate for mbed-os-5.6.2
2017-10-06 16:27:22 -05:00
adbridge 5fda5bc76b Updated MBED versionning block for patch release 2017-10-06 14:12:49 +01:00
Christopher Haster da6e2e5e2a fs: Added in missing retarget definitions for ARM/IAR
- missing O_ flags
- missing S_IF flags
- missing system types
- missing stat structure
- exhaustive list of errno codes
2017-10-06 14:12:48 +01:00
Shrikant Tudavekar 795c0f1255 Add retry to handle git clone failure
more info on https://github.com/ARMmbed/mbed-os/issues/5239
2017-10-06 14:12:48 +01:00
Martin Kojtal 1f5bc8eacc examples: remove eddystone ble examples
They are not part of the releases
2017-10-06 14:12:48 +01:00
Christopher Haster 8fc6aed28c fs: Fixed fstat retarget for regular files
GCC's newlib library depends on fstat to get in-flight information about
a file's type an size. A working fstat for regular files is needed for
seek and related functions to work correctly.
2017-10-06 14:12:48 +01:00
Russ Butler 1062a4cc00 Properly unlock sleep in destructor of drivers
Unlock sleep in CAN and SerialBase. This prevents deep sleep from
staying locked if these objects are destroyed without first clearing
the callbacks.
2017-10-06 14:12:48 +01:00
Russ Butler da19783e26 Protect Ticker attach with a critical section
Add a critical section to attach_us so setting _function and
locking deep sleep are done atomically.
2017-10-06 14:12:48 +01:00
Russ Butler 10217f71c4 Add a test to validate locking
Test that DeepSleepLock and Timer lock deep sleep at the correct time
and do no leave sleep locked after they are destroted.
2017-10-06 14:12:48 +01:00
Russ Butler 110213ad09 Prevent DeepSleepLock from leaving sleep locked
Add _lock_count to DeepSleepLock and use this to prevent deep sleep
from staying locked when the DeepSleepLock objected is destroyed after
an unbalanced number of calls to lock and unlock.
2017-10-06 14:12:48 +01:00
Juhani Puurula 8dbedf6bc0 Nanostack v6.2.2 2017-10-06 14:12:48 +01:00
Russ Butler c4822ecd07 Revert #5006 - Extends test set for Ticker class
This commit reverts commit c1c0f1ea57
because it causes nightly builds to fail. This is because extra tests
added in tests-mbed_drivers-ticker fail on some targets, such as the
KL46Z, MAX32625MBED, MAX32630FTHR, NCS36510, NRF51 and NRF52_DK.
2017-10-06 14:12:47 +01:00
Russ Butler 8a683a4ccc Fix sleep lock underflow in LowPowerTimer
If a LowPowerTimer is started and then goes out of scope then a
deep sleep lock underflow can occur. This is because the
the variable '_lock_deepsleep' is checked when starting the timer
but is not checked in the destructor, which unconditionally releases
the deep sleep lock.
2017-10-06 14:12:47 +01:00
Mahadevan Mahesh 95b6acd095 Change LPC54608 to LPC546XX to include support for LPC54608/18/28
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-10-06 14:12:47 +01:00
jeromecoutant fc41c055f9 STM32F7 : RTC Wake Up Timer issue 2017-10-06 14:12:47 +01:00
Andrzej Puzdrowski 61ecc3ae0a Fix: DigitalIn of nRF5x was allocating GPIOTE channel
The allocation of GPIOTE channels for DigitalIn is unwanted behavior.
This caused early run-out of channels for InterruptPin.
This patch replacing input configuration that is using gpiote driver by configuration that is
using gpio hal.
2017-10-06 14:12:47 +01:00
Russ Butler 495c657e98 Remove direct use of us ticker from platform
Update platform code to use the ticker common layer rather than using
HAL us ticker directly. This both ensures that the underlying ticker
is properly initialized and that the value read is in microseconds with
full 32-bit range.
2017-10-06 14:12:47 +01:00
Russ Butler b5fe12942a Initialize the HAL ticker on first read
Initialize the ticker on the first call to ticker_read* if the
ticker has not been initialized already.
2017-10-06 14:12:47 +01:00
bcostm 3f8097dc63 Add FREEZE_TIMER_ON_DEBUG condition
In order to give the choice to enable or not the timer freeze on stop/breakpoint.
This has to be defined in the mbed_app.json file for example.
2017-10-06 14:12:47 +01:00
bcostm 485b4e8ce8 Add freeze timer on debug for all STM32 devices
This is a continuation of the work done on the STM32F401xE devices only.
2017-10-06 14:12:47 +01:00
Deepika 8c44554a6c Added RTX5 context switcher files 2017-10-06 14:12:46 +01:00
Maciej Bocianski 651e3fceb9 Doxygen comment fix for Thread class 2017-10-06 14:12:46 +01:00
jeromecoutant 02fccf3b9a STM32 : Disable HSE XTAL choice from the default clock source 2017-10-06 14:12:46 +01:00
Jimmy Brisson 4d20eb5998 Move IAR flag passing to constructor 2017-10-06 14:12:46 +01:00
Jimmy Brisson d5893d1ef4 Check for flag passing in toolchain constructor 2017-10-06 14:12:46 +01:00
Martin Kojtal 8c8ac1cfd9 EFM32: fix fire interrupt (set flags)
There's overflow counter that needs to be 0, and
CC0 flag set.

Fixes #5051
2017-10-06 14:12:46 +01:00
Mahadevan Mahesh 982eb08e19 RTC HAL: Allow writing 0 to the seconds register
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-10-06 14:12:46 +01:00
Mahadevan Mahesh ee2c0c8811 LPC54608: Swap LED pin connections to match naming on the board
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-10-06 14:12:46 +01:00
Viller Hsiao ab85fd710e Enable access to kernel tick information in ISR
The osKernelGetTickCount() is the only function to get kernel tick information,
however it's not allowed to access in ISR.

It's already enabled in API v2.1.1.
2017-10-06 14:12:46 +01:00
mbedNoobNinja b0e7e6e2b2 "ds5_5 & e2studio export fix" 2017-10-06 14:12:46 +01:00