Commit Graph

19902 Commits (56a12ce7d6d9478b3965e21f2a4cef2233e337c0)

Author SHA1 Message Date
Jeroen de Bruijn 56a12ce7d6
feat: Name cellular FSM queue thread 2018-11-01 13:55:44 +01:00
Cruz Monrreal b1904a5d65
Merge pull request #8599 from bcostm/F769NI_bootloader
DISCO_F769NI: Add bootloader support
2018-10-31 20:41:43 -05:00
Cruz Monrreal 8d014bcce6
Merge pull request #8585 from JarkkoPaso/IOTTHD-2884
Phy drivers: Added S2-LP driver
2018-10-31 20:41:24 -05:00
Cruz Monrreal 3d09f3bd98
Merge pull request #8598 from VeijoPesonen/fix_atcmdparser_oob_handling
ATCmdParser: Fix OOB handling performance-wise
2018-10-31 18:52:21 -05:00
Cruz Monrreal d8e4daebc4
Merge pull request #8593 from cmonr/travis-doxygen-fix
Build and run latest released doxygen in Travis CI
2018-10-31 16:15:08 -05:00
Cruz Monrreal b35799dd8c
Merge pull request #8329 from paul-szczepanek-arm/fix-namespace
Platform: fix missing namespace for SharedPtr
2018-10-31 12:35:25 -05:00
Martin Kojtal 56293af0e7
Merge pull request #8584 from kjbracey-arm/noreturn
system_reset is MBED_NORETURN
2018-10-31 14:46:46 +01:00
Jarkko Paso 425e7a96e6 S2-LP: Needs Nanostack configuration and device SPI 2018-10-31 15:14:08 +02:00
Martin Kojtal 2015a61b37
Merge pull request #8580 from tz-arm/fix_incorrect_comment_in_socket_h
Fix the incorrect comment for set_blocking()
2018-10-31 13:10:35 +01:00
Martin Kojtal 8976709c9c
Merge pull request #8564 from kegilbert/driver-doxy-typo-fix
Drivers: fix typos in doxygen
2018-10-31 11:39:04 +01:00
Kevin Bracey 644022890c Fixes ATCmdParser OOB handling performance-wise
The issue is that the process_oob check would only return immediately
if no data at all on entry, or when receiving a known OOB. Any other
line noise or unknown OOBs could lead to a timeout delay - read the
noise or unknown OOB then timeout waiting for another line of input.

This revised version modifies the parser to recheck readable after each
line end when only looking for OOBs, so it can immediate exit.
2018-10-31 11:28:17 +02:00
bcostm 38a5f1e0f7 DISCO_F769NI: enable bootloader in targets.json 2018-10-31 10:15:17 +01:00
bcostm 3e547e2101 DISCO_F769NI: add definitions for bootloader 2018-10-31 10:15:17 +01:00
Jarkko Paso 0f08b35510 S2-LP: Renamed GPIO to RF_S2LP_GPIO as it had conflict with some platforms 2018-10-31 10:26:05 +02:00
Jarkko Paso 2cb017bf47 S2-LP: Removed license files 2018-10-31 09:23:34 +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
kegilbert e8e9076662 Fix typos in Drivers doxygen 2018-10-30 15:04:54 -05:00
Cruz Monrreal II 5ad4b3481b Disable current failing doxygen command until fixes are made 2018-10-30 11:45:41 -05:00
Cruz Monrreal II 948531fc2f Added compilation of latest doxygen release.
Tweaked doxygen failure command
2018-10-30 11:41:07 -05:00
Jarkko Paso 3916c0ba5e S2-LP: astyle run done 2018-10-30 15:52:51 +02: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
Jarkko Paso ef1e121937 Phy drivers: Added S2-LP driver 2018-10-30 13:51:24 +02:00
Kevin Bracey e9ccabcadc system_reset is MBED_NORETURN 2018-10-30 12:39:03 +02:00
Martin Kojtal 27c0affef7
Merge pull request #8578 from cmonr/rollup
Rollup PR: Samll docs changes
2018-10-30 10:03:01 +01:00
Terence Zhang 2c56bd8151 Fix the incorrect comment for set_blocking() 2018-10-30 15:41:32 +08: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