Commit Graph

20564 Commits (b8db58fe57d7102cadae71789b1b9a99c4338d96)

Author SHA1 Message Date
Martin Kojtal e237194c0f
Merge pull request #8733 from cmonr/rollup
Rollup PR: Resume testing on PRs with false failures
2018-11-14 08:17:27 +00:00
Antti Kauppila cf53494f2e Compliance test errors fixed 2018-11-14 09:46:38 +02:00
kegilbert 44d3e62835 Patch whitespace inconsistencies in platform lib file 2018-11-13 19:08:44 -06:00
Cruz Monrreal II 4a5ba7f156 Merge branch 'getpeername' of ssh://github.com/SeppoTakalo/mbed-os into rollup 2018-11-13 17:26:49 -06:00
Cruz Monrreal II 798ffd0d5a Merge branch 'fm_flash' of ssh://github.com/jamesbeyond/mbed-os into rollup 2018-11-13 17:26:48 -06:00
Cruz Monrreal II 0499ee2783 Merge branch 'erase_flash_fix' of ssh://github.com/deepikabhavnani/mbed-os into rollup 2018-11-13 17:26:47 -06:00
Cruz Monrreal II cf7c767f32 Merge branch 'refactor-targets-formatting' of ssh://github.com/scartmell-arm/mbed-os into rollup 2018-11-13 17:26:46 -06:00
Cruz Monrreal aab3ade2b7
Merge pull request #8687 from kjbracey-arm/tls_errorlog
TLSSocketWrapper: decouple error requirements
2018-11-13 16:48:15 -06:00
kegilbert 7a436660e9 Handle None and hex values in string format 2018-11-13 16:12:35 -06:00
Michael Ray b7559e315c Feature: Added non-blocking serial break/unbreak functions
Current serial implementation has a send_break() command which
sends a break command on the UART for a fixed amount of time.

Added functions to allow users to send a break in a non-blocking
fashion, as well as for a user-specified amount of time.
2018-11-13 12:46:05 -06:00
Teppo Järvelin 88213d3e03 Cellular: astyle fixes after introducing CellularContext class and major refactor. 2018-11-13 18:50:35 +02:00
Teppo Järvelin 14f3740c13 Cellular: fixed cellular greentea tests after major refactoring. 2018-11-13 18:33:55 +02:00
Jimmy Brisson 3db1a8aa67 Avoid constructing a FileRef when we don't use it 2018-11-13 09:53:50 -06:00
Deepika a6ed5fcbd0 Adding arch option instead MCPU for no dsp and no fpu support
No FPU option is valid, but supported only for 8.x releases, with 7.x release
+nofp gives build errors.
2018-11-13 08:21:31 -06:00
Antti Kauppila 077777163e LoRaWANTimer UT fixed 2018-11-13 13:58:31 +02:00
Seppo Takalo 619bcb5b4e Implement Socket::getpeername() API
This is equivalent of POSIX getpeername() function. It allows to
get remote address associated with the socket.
For example:
socket *s = server.accept();
SocketAddress remote;
s->getpeername(&remote);
2018-11-13 11:02:51 +02:00
Teppo Järvelin 1b3db96634 Cellular: Added missing MDMRTS and MDMCTS for TARGET_MTB_ADV_WISE_1570. 2018-11-13 09:06:40 +02:00
Aashish chaddha 1627968bcb Missed one change to convert into right data type 2018-11-12 13:37:27 -06:00
Aashish chaddha 3956451c07 Fixing some corner cases
1. Adding SRAM in available ram
2. If the target doesn't exist in cmsis but targets.json, handle accordingly and raise apt exceptions where needed.
3. If no sram is provided, raise exception
2018-11-12 13:28:01 -06:00
Conrad Braam 6a59fa1e62 State machine step for Erase command 2018-11-12 16:13:21 +00:00
Conrad Braam 614d058bb2
Merge pull request #1 from ARMmbed/master
catch up from master
2018-11-12 15:28:57 +00:00
Steve Cartmell 4551d94072 Format targets.json to put the items of large lists on their own line 2018-11-12 13:57:40 +00:00
Kevin Bracey 913103c34d TLSSocketWrapper: decouple error requirements
* Don't pull in mbedtls_strerror() if trace is not enabled.
* Output error trace even if mbedtls_strerror() is not available.
2018-11-12 13:12:34 +02:00
Marcin Tomczyk 29b7c50e30 ONME-3852 Check that test cases disconnect at the end 2018-11-12 11:29:58 +01:00
Teppo Järvelin 3f6e088782 Cellular: Fixed backward compatibility with OnBoardCellularInterface and set default values in NetworkInterfaceDefaults.cpp. 2018-11-11 14:13:05 +02:00
Teppo Järvelin 1a047efade Cellular: review fixes, added missing fixes from master. 2018-11-11 14:13:05 +02:00
Teppo Järvelin 467ae09bef Cellular: Updated target SARA4_PPP to use new CellularContext class. 2018-11-11 14:13:05 +02:00
Teppo Järvelin 9fb83024ea Changed CellularContext to inherit from CellularBase instead of NetworkInterface. \n Changed Device constructor to take Filehandle instead of eventqueue. 2018-11-11 14:13:05 +02:00
Teppo Järvelin dbbe2ddc59 Cellular: fixed to compile even if CELLULAR_DEVICE and rx/tx are not defined. 2018-11-11 14:13:05 +02:00
Teppo Järvelin d1ff9ed68d Cellular: added to reset state machine is we get disconnected so application can try again. 2018-11-11 14:13:05 +02:00
Teppo Järvelin 609b0f71be Cellular: minor doxygen fixes. 2018-11-11 14:13:05 +02:00
Teppo Järvelin 8385b19e5e Cellular: Deleted unused class CellularConnectionFSM. Application should use CellularContext class instead. 2018-11-11 14:13:05 +02:00
Teppo Järvelin 43e08a0adf Cellular: fixing unit test after refactor. 2018-11-11 14:12:49 +02:00
Teppo Järvelin ad2abbe887 Cellular: major refactoring while introducing new CellularContext class. 2018-11-11 14:12:49 +02:00
Teppo Järvelin 8880538eba Cellular: Introduced new state machine to replace old CellularConnectionFSM
CellularDevice class own new state machine. Now we don't have to expose state machine
which may change and so we don't have to make API changes if that happens.
EasyCellularConnection uses now CellularDevice instead of old state machine.
2018-11-11 14:11:21 +02:00
Ron Eldor 9f4e752ef3 Modify HW accelerator drivers to new error code
Have the HW accelearation drivers return the platform module
errors about feature unsupported, and hw acceleration failure,
because the moduel specific errors will be removed.
2018-11-11 09:59:18 +02:00
Arto Kinnunen d879422f5e Merge commit '77818568c6d9389ef1eb82e40ebfbbf26626c9d3' into mbedos511
* commit '77818568c6d9389ef1eb82e40ebfbbf26626c9d3':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from ccd30a3..513a38e
2018-11-10 20:16:03 +02:00
Arto Kinnunen 77818568c6 Squashed 'features/nanostack/sal-stack-nanostack/' changes from ccd30a3..513a38e
513a38e Merge branch 'release_internal' into release_external
3d2f391 Use Mbed OS coding style (#1900)
e07cfb4 re-factored thread_mcast_should_register_address. (#1887)
426acd1 Fixed filter to not drop packets when no modification

git-subtree-dir: features/nanostack/sal-stack-nanostack
git-subtree-split: 513a38ee18ab64c065531b7503ead726bf3b5858
2018-11-10 20:16:03 +02:00
Arto Kinnunen 923ce138f5 Merge commit '661681f65c3fb61aec2e4605bef0fc075cc8cb0d' into mbedos511
* commit '661681f65c3fb61aec2e4605bef0fc075cc8cb0d':
  Squashed 'features/frameworks/nanostack-libservice/' changes from bb56e37..1d4c358
2018-11-10 20:14:25 +02:00
Arto Kinnunen 661681f65c Squashed 'features/frameworks/nanostack-libservice/' changes from bb56e37..1d4c358
1d4c358 Use Mbed OS coding style (#77)

git-subtree-dir: features/frameworks/nanostack-libservice
git-subtree-split: 1d4c35848b1733020e0532fddd17dcadf78c79c7
2018-11-10 20:14:24 +02:00
shileiyu 627064297e New target UNO_91H from RDA Microelectronics. 2018-11-10 18:15:26 +08:00
Cruz Monrreal 0404701b5f
Merge pull request #8694 from cmonr/rollup
Rollup PR: Bring small fixes into 5.10.4
2018-11-09 15:32:42 -06:00
Deepika 4e7cbd4d4c Add library and secure application for FlashIAP change 2018-11-09 15:12:25 -06:00
Deepika 049b5f533f Revert flash_get_value for M2351 done in PR#8589
`flash_get_erase_value` is added in hal/TARGET_FLASH_CMSIS_ALGO/flash_common_algo.c
duplicate copy of same function in targets/TARGET_NUVOTON/TARGET_M2351/flash_api.c
resulted in build issues with secure build
2018-11-09 14:17:49 -06:00
Jimmy Brisson 6e63acaa4e Resources: Avoid assuming that deps have a sane name
### Description

The prior fix assume that the dependencies through `.lib` references
would have a "sane" name. My definition of "sane" here is that the
reference will have a path that starts with the path to the `.lib` file
and _removes_ the `.lib` suffix. The online compiler does not remove the
`.lib` suffix. Instead, it keeps it. This makes the string replacement
in the prior PR fail.

Also, this is faster, and simpler.

### Pull request type

    [x] Fix
    [ ] Refactor
    [ ] Target update
    [ ] Functionality change
    [ ] Docs update
    [ ] Test update
    [ ] Breaking change
2018-11-09 13:15:13 -06:00
Jimmy Brisson b99fd4058b Resources: Use path names for ignored dirs
### Description

Ignored directories are collected for the sake of exporters that use
a blacklist-style approach similar to these build tools. This ignore
list will include `/filer/<gibberish>` when exported from the online
Compiler. This patch fixes that behavoir.

### Pull request type

    [x] Fix
    [ ] Refactor
    [ ] Target update
    [ ] Functionality change
    [ ] Docs update
    [ ] Test update
    [ ] Breaking change
2018-11-09 13:11:40 -06:00
Cruz Monrreal II 6ab56d978e Merge branch 'quote-includes-2' of ssh://github.com/moonchen/mbed-os into rollup 2018-11-09 11:40:32 -06:00
Cruz Monrreal II f7087b33e7 Merge branch 'doxy_fix_protected' of ssh://github.com/deepikabhavnani/mbed-os into rollup 2018-11-09 11:40:31 -06:00
Cruz Monrreal II 0803c04d7d Merge branch 'PR_LL_GPIO' of ssh://github.com/jeromecoutant/mbed into rollup 2018-11-09 11:40:29 -06:00
Cruz Monrreal II 143a976d5d Merge branch 'stm32f407vg-flash' of ssh://github.com/productize/mbed-os into rollup 2018-11-09 11:40:28 -06:00