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
Mathias Giacomuzzi
0947db6400
add quotation marks for compiler path
2017-09-26 11:01:01 +02:00
Russ Butler
c32890294e
Fix LPC54114 vector table size
...
Correct the vector table size on the LPC54114. This fixes crashes
seen on boot when building with GCC.
2017-09-25 18:49:38 -05:00
Jimmy Brisson
3759d03fa1
Merge pull request #5189 from 0xc0170/fix_lpc1768_iarramend
...
LPC1768: RAM end adjust fix
2017-09-25 17:08:46 -05:00
Martin Kojtal
9a191de5f9
LPC1768: flash_hal removal duplication
...
IAP typedef duplication removal
2017-09-25 19:18:18 +02:00
Martin Kojtal
6a6561028e
LPC1768: flash erase/write require a critical section
...
From RM:
32.3.2.6 Interrupts during IAP
The on-chip flash memory is not accessible during erase/write operations. When the user
application code starts executing the interrupt vectors from the user flash area are active.
The user should either disable interrupts, or ensure that user interrupt vectors are active in
RAM and that the interrupt handlers reside in RAM, before making a flash erase/write IAP
call. The IAP code does not use or disable interrupts.
2017-09-25 19:18:06 +02:00
Jimmy Brisson
e6cb907c7f
Exclude libraries and tests from coverage numbers
2017-09-25 11:51:31 -05:00
Vincent Coubard
d76a5a7eb9
Fix typo in DELTA_DFBM_NQ620 target
...
Replace `device_has_had` by `device_has_add`
2017-09-25 17:47:16 +01:00
David Walters
4c2d17eee0
Removing unused imports/update copywright`
2017-09-25 16:58:52 +01:00
David Walters
b887bb7de6
Added safety check, added test converage for new function
2017-09-25 16:53:41 +01:00
Jimmy Brisson
482c2aef2d
Merge pull request #5149 from theotherjimmy/update-export-link
...
Update link in GettingStarted to current docs
2017-09-25 10:13:09 -05:00
Jimmy Brisson
6ca2342fba
Merge pull request #5166 from theotherjimmy/force-armc5-preproc
...
Force preprocessing of asm for make_armc5
2017-09-25 10:12:28 -05:00
Jimmy Brisson
79440ae17b
Merge pull request #4994 from 0x6d61726b/patch-1
...
missing includes for filesystem.cpp (build with VisualGDB fails)
2017-09-25 10:11:43 -05:00
Jimmy Brisson
b8863862cc
Merge pull request #4959 from phyokyaw/master
...
e2 studio exporter update
2017-09-25 10:11:13 -05:00
Martin Kojtal
c623e889c0
LPC1768: RAM end adjust fix
...
The topmost 32 bytes used by IAP functions, this was not included in the RAM
end previously.
2017-09-25 13:50:54 +01:00
Mahadevan Mahesh
d9a8c63b53
K66F: Use DSPI SDK driver API's in spi block read
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-09-24 08:14:59 -05:00
Mahadevan Mahesh
593fb3a6fb
K66F: Update to SDK 2.2
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-09-24 08:14:52 -05:00
Christopher Haster
a6b3b55eb9
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-09-22 18:39:52 -05:00
Sarah Marsh
fbe8dfae19
update domain name to os.mbed.com
2017-09-22 09:40:32 -05:00
Martin Kojtal
5a6aee43eb
PWMOut: lock deesleep addition
...
As PWMOut in most cases depend on high speed freq clock, it should lock deepsleep while active.
2017-09-22 15:08:02 +01:00
Martin Kojtal
29988933aa
EFM32: fix fire interrupt (set flags)
...
There's overflow counter that needs to be 0, and
CC0 flag set.
Fixes #5051
2017-09-22 14:45:30 +01:00
adustm
4817f06435
Allow exporters for NUCLEO_L486RG
2017-09-22 14:21:00 +02:00
Martin Kojtal
c6f655c02e
Merge pull request #4779 from JarnoEtt/sw4stm_exporter_fix
...
Fixed sw4stm32 exporter
2017-09-22 11:36:21 +01:00
Martin Kojtal
b72bd08644
Merge pull request #4965 from deepikabhavnani/IAR_heap_stats
...
Add heap stats for IAR
2017-09-22 11:34:47 +01:00