Commit Graph

12702 Commits (97e2d4a8c55ac8959f66cd1cb60529708ff7a830)

Author SHA1 Message Date
Russ Butler 8183749948 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-09-29 09:18:58 +01:00
Jimmy Brisson bb61b42fba Merge pull request #5148 from mprse/fix_enable_deepsleep_for_lp_timer
Enable deepsleep for LowPowerXXX objects
2017-09-28 14:11:40 -05:00
Jimmy Brisson f7cca5b023 Merge pull request #5066 from kjbracey-arm/uartserial_readable
UARTSerial: Avoid readable() ambiguity
2017-09-28 14:08:43 -05:00
Jimmy Brisson e3cb228d5e Merge pull request #4795 from sarahmarshy/test-configs
Add configurable network driver tests
2017-09-28 14:06:38 -05:00
Jimmy Brisson c063e25b41 Merge pull request #5193 from theotherjimmy/omit-lib-coverage
Omit libraries and tests from tools coverage numbers
2017-09-28 14:05:52 -05:00
Jimmy Brisson 01c864e9bb Merge pull request #5099 from mprse/move_clock_function
Move clock() function from mbed_rtc_time.cpp to mbed_retarget.cpp.
2017-09-28 14:05:35 -05:00
Jimmy Brisson 6177c01c92 Merge pull request #5062 from 0xc0170/fix_interruptin_callback
InterruptIn: Use NULL callback by default
2017-09-28 14:04:28 -05:00
Jimmy Brisson 323dc93d89 Merge pull request #5050 from mbedNoobNinja/master
[RZ_A1H] Correct CAN Message ID and recetption rate in extended mode
2017-09-28 14:03:45 -05:00
Jimmy Brisson f57f0d4631 Merge pull request #5045 from maciejbocianski/ticker_fix
Ticker class description update - small interval warning
2017-09-28 14:01:36 -05:00
Jimmy Brisson f0a10750d7 Merge pull request #4990 from akosthekiss/ble-uart-flush
Add flush to the BLE UART Service
2017-09-28 14:01:15 -05:00
Jimmy Brisson 5a018585c6 Merge pull request #5183 from geky/fix-dir-open-failures
fs: Fix dir open during failure condition
2017-09-28 13:59:28 -05:00
bcostm fca97146cd Add ADC calibration for STM32F1 and F3 devices 2017-09-28 12:49:11 +02:00
Vincent Coubard 6cb1a23771 NRF52840: add the device configuration STCLK_OFF_DURING_SLEEP 2017-09-28 09:43:58 +01:00
Kevin Bracey b18332cb4d Avoid wait_ms() spin
System's wait_ms() spins to achieve a precise delay - we don't want this.
Call Thread::wait directly.
2017-09-28 10:45:57 +03:00
Jimmy Brisson c06368a21e Merge pull request #5171 from jeromecoutant/PR_L432_RAM
STM32L432KC: increase RAM size from 48k to 64k
2017-09-27 15:35:44 -05:00
Jimmy Brisson 6cb0258344 Merge pull request #5026 from LMESTM/flash_init_issue_4967
STM32: Lock / Unlock flash for each operation
2017-09-27 15:17:26 -05:00
Jimmy Brisson 5bf224f1bf Merge pull request #5027 from geky/cb-fix-eq
cb: Fix uninitialized memory used for equality check
2017-09-27 15:14:59 -05:00
adbridge d2d2b68fc5 Fix the prepare_branch function
Currently when checking if the destination branch already exists the
command 'git branch' is used. This only returns local branches. What is
actually required is the list of remote branches. This can be obtained
by the command 'git branch -r' and filtering the result.
2017-09-27 17:59:19 +01:00
Jimmy Brisson ddb6b66674 Merge pull request #5177 from 0xc0170/fix_pwmout_sleep
PWMOut: lock deesleep addition
2017-09-27 09:09:36 -05:00
Jimmy Brisson 8508d26ea2 Merge pull request #5095 from c1728p9/timer_sleep_lock_fix
Release deep sleep lock in destructor of Timer class
2017-09-27 09:09:07 -05:00
Jimmy Brisson fb5241c73f Merge pull request #5060 from pan-/cordio_port
BLE: Cordio port
2017-09-27 09:08:24 -05:00
Jimmy Brisson c24fed135b Merge pull request #5032 from 0xc0170/fix_mts_debug
mts targets: fix debug() usage
2017-09-27 09:07:53 -05:00
Jimmy Brisson 908a05b231 Merge pull request #5016 from u-blox/apndb_fix
Fix cellular APN_db.h lookup.
2017-09-27 09:06:46 -05:00
Jimmy Brisson 760fc335c0 Merge pull request #4982 from NXPmicro/Update_K66_SDK22
Update K66F to SDK 2.2
2017-09-27 09:05:44 -05:00
Jimmy Brisson b562e4e131 Merge pull request #4979 from bcostm/usbdevice_clean-up
STM32: USBDevice files clean-up
2017-09-27 09:04:37 -05:00
Jimmy Brisson 6cecd09d07 Merge pull request #4961 from theotherjimmy/check-rtos-export
Check for mbed 5 support on export
2017-09-27 09:02:38 -05:00
Jimmy Brisson 4f1cafd0b7 Merge pull request #5197 from c1728p9/fix_lpc54114
Fix LPC54114 vector table size
2017-09-27 09:01:44 -05:00
Przemyslaw Stekiel 035c0896ed Move clock() function from mbed_rtc_time.cpp to mbed_retarget.cpp. 2017-09-27 15:32:41 +02:00
bcostm 4824e18a95 STM32L4: add ADC calibration 2017-09-27 14:38:34 +02:00
Mathias Giacomuzzi ca5bcf7592 remove the first join 2017-09-27 12:31:45 +02:00
Andrzej Puzdrowski 93fb667b6d 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-09-27 09:49:48 +02:00
Christopher Haster 01326910c0 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-09-26 21:41:13 -05:00
jeromecoutant 1e36eb6fc9 STM32F7 : RTC Wake Up Timer issue 2017-09-26 17:04:29 +02:00
Vincent Coubard 75c9dfce68 BLE: Add Cordio port.
It allows mbed users to enable BLE on targets with an external BLE module.
2017-09-26 15:20:17 +01:00
Vincent Coubard aa0b5d5a22 BLE: Fix space 2017-09-26 15:20:16 +01:00
Vincent Coubard 512dd8c387 BLE: Add collection of basic BLE types shared accross all layers. 2017-09-26 15:20:15 +01:00
Vincent Coubard daaa5b1977 BLE: Introduce GenericGattClient and platform abstraction over ATT/GATT.
This changes introduce a platform adaptation over ATT/GATT that can be implemented by porter.
Unlike the GattClient interface, the ATT/GATT adaptation is simple, follow closely the Bluetooth specification and won't change over time.
Implementation of the GattClient interface is realized by the class GenericGattClient which accept in input a pal::GattClient.

This change will also free design space once adopted by partners, addition to the GattClient interface won't require partner support.
2017-09-26 15:20:15 +01:00
Vincent Coubard 38bb6b4e52 BLE: Add error code management in Gatt read and write data structures.
Also fix wrong usage of designed initializer in CPP files.
2017-09-26 15:20:15 +01:00
Vincent Coubard 85e88ccb2c BLE NRF: Fix wrong usage of designed initializer in cpp code. 2017-09-26 15:20:15 +01:00
Vincent Coubard 1fd953e33c BLE: Use shared type ble_attribute_handle_t in GattAttribute. 2017-09-26 15:20:15 +01:00
Vincent Coubard 4416ef6233 BLE: Add optionnal error_code CharacteristicDescriptorDiscovery::TerminationCallbackParams_t 2017-09-26 15:20:15 +01:00
Vincent Coubard 97995b8de9 BLE: Fix header inclusion of DiscoveredCharacteristicDescriptor. 2017-09-26 15:20:14 +01:00
Vincent Coubard c022c4a8f0 BLE: use common type ble::connection_handle_t as Handle_t. 2017-09-26 15:20:14 +01:00
Vincent Coubard dd303b7a91 BLE: Add ArrayView in utilities. 2017-09-26 15:20:14 +01:00
Vincent Coubard c58d7de93d BLE: Fix GattClient destructor by adding a virtual specifier. 2017-09-26 15:20:14 +01:00
Martin Kojtal 6a46b9c0a7 Merge pull request #5165 from pan-/non-throwing-new-operator
Platform: Replace non throwing versions of new operator.
2017-09-26 15:08:18 +01:00
Jimmy Brisson b9b4bb5c25 Move IAR flag passing to constructor 2017-09-26 08:59:01 -05:00
Jimmy Brisson ef6de7eb3b Check for flag passing in toolchain constructor 2017-09-26 08:58:59 -05:00
Filip Jagodzinski 311d38b925 Tests: RTOS: RtosTimer: Fix tests on debug profile
Redefine error() as noop to fix tests being aborted when compiled
with -DMBED_TRAP_ERRORS_ENABLED=1.
2017-09-26 13:41:18 +02:00
Andrzej Puzdrowski f861b37196 Extend nRF51 AnalogIn voltage range to 3.6 V
Previous the voltage range was set to 1.2 from SoC internal reference source.
This caused problem with testing. It is unexpected that range is much
shorter than vdd as well.

The voltage range was extended using SoC build in analog prescaler (set to 1/3).
2017-09-26 11:31:50 +02:00