Commit Graph

12409 Commits (651e3fceb93596c6022f6bc040fdaf10c87a3ea8)

Author SHA1 Message Date
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
Mika Leppänen 7170882077 Mapped lwip buffer error to nsapi no memory error 2017-10-06 14:12:46 +01:00
Kevin Gilbert 908e134912 Adjust whitespace in Odin PinNames file to fit verbose LED pin mappings 2017-10-06 14:12:46 +01:00
Maciej Bocianski 617341a797 Extends test set for Ticker class 2017-10-06 14:12:46 +01:00
Przemyslaw Stekiel 141fb38184 Enable deepsleep for low power Ticker and low power Timer.
Fix for issue #5076.
2017-10-06 14:12:46 +01:00
Kevin Bracey b51c369846 UARTSerial: Avoid readable() ambiguity
UARTSerial inherits both FileHandle::readable() [public] and
SerialBase::readable() [private], so calling readable() on a UARTSerial
object produces an ambiguous member error.

Add using declarations to direct towards the FileHandle versions of
readable and writable.

There's currently no ambiguity for writable, as SerialBase uses the
spelling 'writeable', but add a using directive for that anyway, in case
SerialBase gains 'writable' later.
2017-10-06 14:12:46 +01:00
Sarah Marsh 47372eeaec update domain name to os.mbed.com 2017-10-06 14:12:46 +01:00
Sarah Marsh e23567ece5 Turn off Odin testing by default 2017-10-06 14:12:45 +01:00
Sarah Marsh 36274a0307 Add new Odin configuraiton to remove emac device_has 2017-10-06 14:12:45 +01:00
Sarah Marsh fddd81f96d Use ethernet as default test configuration for Odin netsocket tests 2017-10-06 14:12:45 +01:00
Sarah Marsh 135061c051 Add copyright headers and use mbed error to skip tests without network config files 2017-10-06 14:12:45 +01:00
Sarah Marsh 4da41d7fb8 Remove LWIP tests 2017-10-06 14:12:45 +01:00
Sarah Marsh 174ed07013 Move test config keys out of targets.json
Change TestConfig class methods to module methods
2017-10-06 14:12:45 +01:00
Sarah Marsh 22138f31ee Add ETHERNET and ODIN_WIFI to odin device has. Add odin WiFi test configuration 2017-10-06 14:12:45 +01:00
Sarah Marsh c4d0357646 Use default mbed-os test configuration if no app_config is supplied 2017-10-06 14:12:45 +01:00
Sarah Marsh 47f02e7972 Use only one flag for test configuration file
Tools will figure out if user passed in a custom path (to indicate configration file for module) or whether they used a keyword (to indicate they'd like to use an mbed OS configuration)
2017-10-06 14:12:45 +01:00
Sarah Marsh 67589d53f3 Add option to add a configuration file for modules 2017-10-06 14:12:45 +01:00
Sarah Marsh d7e380e4db Allow tools to use networkinterface configs in tests 2017-10-06 14:12:45 +01:00
Sarah Marsh d7080f49d4 Add netsocket tests 2017-10-06 14:12:45 +01:00
Jimmy Brisson d3d27a9631 Exclude libraries and tests from coverage numbers 2017-10-06 14:12:45 +01:00
Przemyslaw Stekiel 77bc5c80f5 Move clock() function from mbed_rtc_time.cpp to mbed_retarget.cpp. 2017-10-06 14:12:45 +01:00
Martin Kojtal cfe6497080 InterruptIn: callback to NULL clean-up
As we can check if callback was attached, we use NULL assigment.
2017-10-06 14:12:45 +01:00
mbedNoobNinja 26c552d1d0 CAN Extended mode fix 2017-10-06 14:12:45 +01:00
Maciej Bocianski da84e114c0 Ticker class description update - small interval warning 2017-10-06 14:12:45 +01:00
Akos Kiss 2fd13bffca Add flush to the BLE UART Service
If only buffer-full events and LF characters trigger the flush of
the send buffer then only line-based communication can be
implemented over the BLE UART Service. This patch extends the
service API by adding an explicit `flush` method to force sending
the buffer contents, thus enabling protocols with short (e.g.,
single character) messages.
2017-10-06 14:12:44 +01:00
Christopher Haster 93d78c6218 fs: Fix dir open during failure condition
Should leave the Dir in an openable state, currently does not
since it thinks it's in use by the fs it failed to open on.
2017-10-06 14:12:44 +01:00
jeromecoutant 27e5586b32 STM32L432KC: increase RAM size from 48k to 64k
WARNING: you have to update ST-Link FW to V2J29M18
http://www.st.com/en/development-tools/stsw-link007.html
2017-10-06 14:12:44 +01:00
Laurent MEUNIER f598165485 STM32: Lock / Unlock flash for each operation
Rather than Unlocking flash during flash object creation, and leaving
the flash possibly continuously unlocked a(s object might bever be freed),
we decide to Unlock then Lock again at each erase or program call.
2017-10-06 14:12:44 +01:00
Christopher Haster af22fd3147 cb: Fixed uninitialized memory used for equality check
Fixed by zeroing the memory. A more "c++ correct" approach
may be to add an additional op for equality, and use the "=="
operator on the F type in the generate function. But this adds
the requirement that F supports equality.
2017-10-06 14:12:44 +01:00
Martin Kojtal a659094f01 PWMOut: lock deesleep addition
As PWMOut in most cases depend on high speed freq clock, it should lock deepsleep while active.
2017-10-06 14:12:44 +01:00
Russ Butler 411724b72f Release deep sleep lock in destructor of Timer class
Release the deep sleep lock when running instances of the Timer class
are deleted. This ensures that deep sleep locks are properly released
by the Timer class.
2017-10-06 14:12:44 +01:00
Martin Kojtal a023d69ab6 mts targets: fix debug() usage
Instead of using #if NDEBUG, we can directly invoke debug() function. Fixes #5013
2017-10-06 14:12:44 +01:00
Rob Meades 8eff369901 Fix cellular APN_db.h lookup. 2017-10-06 14:12:44 +01:00
Mahadevan Mahesh d4a81f52b1 K66F: Use DSPI SDK driver API's in spi block read
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-10-06 14:12:44 +01:00
Mahadevan Mahesh 2efa469d0b K66F: Update to SDK 2.2
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-10-06 14:12:44 +01:00
bcostm d9d6f593c0 STM32 USBDevice: Add DISCO_F407VG target 2017-10-06 14:12:44 +01:00
bcostm d90994da2e STM32 USBDevice: Add NUCLEO_F446RE target 2017-10-06 14:12:44 +01:00
bcostm 0d16d78da4 STM32 USBDevice: Add USB_STM_HAL macro for disco-f469ni 2017-10-06 14:12:44 +01:00
bcostm 88be03a931 STM32 USBDevice: Remove disco-f429zi, clean-up nucleo-f103rb 2017-10-06 14:12:44 +01:00
bcostm 8ba8a0c830 STM32 USBDevice: add more supported targets 2017-10-06 14:12:44 +01:00
bcostm 1e2b2a9dc4 STM32 USBDevice: refactor files 2017-10-06 14:12:44 +01:00
Jimmy Brisson 4f7ea717ff Check for mbed 5 support on export 2017-10-06 14:12:44 +01:00