Commit Graph

19880 Commits (c0647267ccc9bedbef5527a1c76b7234be9c7b4c)

Author SHA1 Message Date
Arto Kinnunen c0647267cc Sync with Atmel RF driver v3.0.6 2018-11-06 16:45:09 +02:00
Arto Kinnunen 135a894b07 Sync with MCR20a RF driver v1.0.2 2018-10-31 16:12:03 +02:00
Arto Kinnunen a215d9d856 Sync with Atmel RF driver v3.0.5 2018-10-31 16:01:16 +02:00
Cruz Monrreal fba0669194
Merge pull request #8563 from marcuschangarm/default_qspif
Add QSPIF block device to default system storage
2018-10-30 22:32:01 -05:00
Cruz Monrreal 1bbcfff8f3
Merge pull request #8566 from u-blox/github8520issue
Wifi: ublox fix to keep the credentials stored
2018-10-30 08:47:58 -05:00
Cruz Monrreal 9226c5873d
Merge pull request #8550 from deepikabhavnani/mbed_h_fixes
Add required namespace instead of relying on mbed.h
2018-10-30 08:47:04 -05:00
Cruz Monrreal 66968c5bb0
Merge pull request #8371 from u-blox/ublox-cellular-unsupported-features
Cellular: Add unsupported features for UBLOX targets
2018-10-30 08:46:47 -05:00
Martin Kojtal 27c0affef7
Merge pull request #8578 from cmonr/rollup
Rollup PR: Samll docs changes
2018-10-30 10:03:01 +01:00
Cruz Monrreal 5ed07c2dd4
Merge pull request #8328 from kjbracey-arm/noreturn
Error path tightening: use MBED_NORETURN; add+use core_util_atomic_flag
2018-10-29 20:49:54 -05:00
Cruz Monrreal II 8b58ed75b0 Merge branch 'kegilbert-patch-6' of ssh://github.com/ARMmbed/mbed-os into rollup 2018-10-29 19:13:29 -05:00
Cruz Monrreal II 76008d2653 Merge branch 'netsocket-doxy-typo-fix' of ssh://github.com/kegilbert/mbed-os into rollup 2018-10-29 19:13:27 -05:00
Cruz Monrreal II 10e04f8f16 Merge branch 'fix_pwm_docs' of ssh://github.com/c1728p9/mbed-os into rollup 2018-10-29 19:13:25 -05:00
Cruz Monrreal c9eaddd7e0
Merge pull request #8487 from kegilbert/mbed_mem_trace_config_patch2
Update mbed_mem_tracing config option
2018-10-29 18:53:25 -05:00
Amanda Butler eae570ef08 Edit EMAC.h
Change Latin abbreviation to English phrase and fix capitalization of EMAC while I'm at it.
2018-10-29 15:14:07 -05:00
kegilbert 4bc7bf3b1e Fix typos in Features/Netsocket 2018-10-29 15:14:07 -05:00
Amanda Butler 9ab13df3bd
Make changes from comments to FileHandle.h
Address comments.
2018-10-29 14:09:16 -05:00
Cruz Monrreal 13d6703676
Merge pull request #8401 from mirelachirica/at_handler_changes_2
At handler fixes
2018-10-29 12:07:07 -05:00
Russ Butler 3b970c179f Move #endif to fix PwmOut.h doxygen
Move the #endif up so it does not include the closing bracket of
PwmOut. This allows the doxygen for PwmOut, classmbed_1_1_pwm_out.html,
to build.
2018-10-29 10:52:30 -05:00
Cruz Monrreal 503066a736
Merge pull request #8559 from productize/stm32f407vg-rng
STM32F407VG: Add TRNG support
2018-10-29 08:50:43 -05:00
Cruz Monrreal 9403a2f16c
Merge pull request #8499 from michalpasztamobica/master
Socket closing improvements and tests adjustments
2018-10-29 08:47:25 -05:00
Cruz Monrreal 1489900162
Merge pull request #8556 from paul-szczepanek-arm/fix-phy-support
BLE: fix using an optional feature before checking for support
2018-10-29 08:46:26 -05:00
Cruz Monrreal ec362c5c1d
Merge pull request #8562 from naveenkaje/fix_build_api_import
build_api: remove unused import
2018-10-29 08:45:43 -05:00
Ammad Rehmat 74ce0b78a4 fixes the credentials storage, copies them internally rather than just a pointer to external storage 2018-10-29 17:32:41 +05:00
Kevin Bracey 90a731daee rtos_idle_loop is MBED_NORETURN
Don't need loops at two layers.

Also tighten up slightly-invalid extern "C" markings.
2018-10-29 13:58:06 +02:00
Kevin Bracey ea16a6ba1d Add MBED_NORETURN attributes
Save some ROM space by putting MBED_NORETURN attributes on error
functions and failed asserts.

mbed_error was documented as returning an error code. It never
actually could return, so documentation updated, but return type
kept.
2018-10-29 13:58:06 +02:00
Kevin Bracey 57748bd46e Adjust error paths locking and returning
Various fixes in preparation for making sure error calls do not return.

* Clear out handle_error's use of error_in_progress as a sort of spin
  lock; this is most likely to deadlock if ever activated, and conflicts
  with error's use of error_in_progress. Use a normal critical section lock.

* Make error use same mbed_halt_system helper as mbed_error.

* Make error's recursion check avoid print and proceed to halt, rather
  than returning.

* Make mbed_error use error_in_progress to avoid recursion in same way
  as error() does.

* Give mbed_halt_system its own recursion check in case of error in
  mbed_die - give it a simple fallback.

* Make the in_progress things properly atomic, just in case.
2018-10-29 13:58:06 +02:00
Kevin Bracey c32984c3a8 Add atomic_flag utility
An atomic flag primitive is sometimes wanted, and it is cumbersome to
create it from the compare-and-swap operation - cumbersome enough that
people often don't bother.

Put in a core_util_atomic_flag that follows the C11/C++11 atomic_flag
API, such that it could be mapped to it with #define later.
2018-10-29 13:58:05 +02:00
Kevin Bracey 0b27736536 Remove sleep manager tests that trigger mbed_error
Intercepting mbed_error will be too hard after mbed_error becomes
[[noreturn]], so remove tests that do this.
2018-10-29 13:58:05 +02:00
Mirela Chirica c8f2ed3d30 Cellular: ATHandler to reset match URC generated errors and continue response handling 2018-10-29 13:33:11 +02:00
Mirela Chirica 4e6cbb8f5f Cellular: ATHandler's mem_str fixed to work on matching strings 2018-10-29 13:33:10 +02:00
Mirela Chirica 273590f615 Cellular: Added ATHandler option to write parameters without delimiters 2018-10-29 13:33:09 +02:00
Mirela Chirica f016d1126f Cellular: AT handler to support only one callback per URC/prefix 2018-10-29 13:32:15 +02:00
Kevin Bracey 1397eb5110 Disable RTOS error tests if error traps are enabled
It will be too hard to try to intercept and continue from a trapped
error once error functions are marked [[noreturn]], so make the error
return tests conditional on error trapping being disabled.
2018-10-29 11:56:17 +02:00
Cruz Monrreal 870c3bce59
Merge pull request #8554 from bcostm/l4R5zi_data_alignment
NUCLEO_L4R5ZI: Fix alignment of execute region to 8byte boundary
2018-10-27 18:30:57 -05:00
Cruz Monrreal 63946d56d8
Merge pull request #8452 from u-blox/ublox_odin_driver_os_5_v3.5.0_rc1
ble: update ODIN drivers to v3.5.0 RC1
2018-10-27 09:50:12 -05:00
Cruz Monrreal 01f864eb13
Merge pull request #8553 from bcostm/F413ZH_bootloader
STM32F413ZH: Add bootloader support
2018-10-27 09:22:41 -05:00
Cruz Monrreal 737b36f106
Merge pull request #8440 from kivaisan/gemalto_tcp_socket_support
Cellular: Gemalto TCP Socket support
2018-10-27 09:17:31 -05:00
Cruz Monrreal 4798a91f2e
Merge pull request #8223 from c1728p9/deep_sleep_wakeup_fix
Improve RTOS behavior with deep sleep
2018-10-27 08:45:33 -05:00
Cruz Monrreal d23d7855fc
Merge pull request #8552 from cmonr/rollup
Rollup PR: UK Docathon pt2
2018-10-27 08:27:02 -05:00
kegilbert a2ac895c37 This reverts commit 9b53d1256fb358407acbaf81c70b71d937b1f7cd.i
Move the memory tracing enabled macro to a config option but
revert the !defined -> #if changes to no longer cause breaking
changes.
2018-10-26 17:35:33 -05:00
Cruz Monrreal a5b757312d
Merge pull request #8292 from marcuschangarm/fix_flow
Fix hardware flow control on NRF52 series
2018-10-26 15:44:52 -05:00
Marcus Chang 063a7842ba Add QSPIF block device to default system storage 2018-10-26 13:00:38 -07:00
Naveen Kaje e877a8e0e5 build_api: remove unused import
Remove unused tempfile import.
2018-10-26 13:30:01 -05:00
Cruz Monrreal II 3da861808b Make variables that are private in ConditionVariable.h, protected
Paritally reverts docs PR 8511
2018-10-26 13:03:56 -05:00
Cruz Monrreal II e8728148ac Merge branch 'docs-fix-networkiface' of ssh://github.com/paul-szczepanek-arm/mbed-os into rollup 2018-10-26 11:48:45 -05:00
Cruz Monrreal II 99e198aa4f Merge branch 'non-copyable-doc' of ssh://github.com/pan-/mbed into rollup 2018-10-26 11:43:04 -05:00
Cruz Monrreal II b364dcb48e Merge branch 'doc-fix-spi' of ssh://github.com/paul-szczepanek-arm/mbed-os into rollup 2018-10-26 11:43:01 -05:00
Cruz Monrreal II 14ce8f2721 Merge branch 'fix-freestanding-tests-module' of ssh://github.com/pan-/mbed into rollup 2018-10-26 11:42:59 -05:00
Cruz Monrreal 3f5eeac29d
Merge pull request #8279 from fkjagodzinski/fix-lp_ticker_wrapper-suspend
Fix LowPowerTickerWrapper operation when suspended
2018-10-26 11:39:12 -05:00
Cruz Monrreal c25f15615b
Merge pull request #8526 from michalpasztamobica/windows_unittest_compilation_fix
Fix for unit test build on Windows machines
2018-10-26 11:38:59 -05:00