Commit Graph

19113 Commits (173190068b856e7535b56a222f49818c6feb63ca)

Author SHA1 Message Date
Mika Leppänen 8bd9cfb73c Added greentea tests for network interface status and connect/disconnect
Added tests:
NETWORKINTERFACE_STATUS
NETWORKINTERFACE_STATUS_NONBLOCK
NETWORKINTERFACE_STATUS_GET
NETWORKINTERFACE_CONN_DISC_REPEAT
2018-10-08 15:18:50 +01:00
Edmund Hsu a97bfaecf5 Apply consistent system return code to adi_system_EnableRetention() 2018-10-08 15:18:50 +01:00
Edmund Hsu 2ad58510e2 Add consistent ADuCM3029 System return codes and remove duplicate codes 2018-10-08 15:18:50 +01:00
deepikabhavnani 3413b3ee8d Align to CMSIS defines for Non-secure
CMSIS updated the __DOMAIN_NS define to DOMAIN_NS. Update the define
in existing code for non-secure part.
2018-10-08 15:18:50 +01:00
ccli8 5ac200a023 Fix issues with LowPowerTickerWrapper
1. Complement _ticker_match_interval_passed with '_last_set_interrupt == _cur_match_time' for pass check
2. Fix 'too close' check with _min_count_until_match
2018-10-08 15:18:50 +01:00
Thomas Kemmer 3db611cdef Clean up include paths. 2018-10-08 15:18:50 +01:00
Filip Jagodzinski e0f4637437 STM: Fix us_ticker timestamp after deep sleep
Use the `mbed_sdk_inited` flag to correct the `HAL_GetTick()` behavior
after waking up from deep sleep mode. `ticker_read_us()` must not be
used to read us_ticker timestamp after waking up until the us_ticker
context is restored. More detailed description in issue #8117.

Fixes #8117
2018-10-08 15:18:50 +01:00
Jimmy Brisson a3d59a956d `mbed dm`: Remove references to internal script from help
### Description

Now that we are delegating the help text to `device_managment.py`,
it should print out help as if it's invoked with `mbed device-management`.
This PR changes the argument parser and the help text to do just that.

### Pull request type

    [x] Fix
    [ ] Refactor
    [ ] Target update
    [ ] Functionality change
    [ ] Breaking change
2018-10-08 15:18:50 +01:00
Juha Ylinen 39a8d6e1bf netsocket: Fix compiler warning
[Warning] InternetSocket.h@237,10: 'InternetSocket::_factory_allocated' will be initialized after [-Wreorder]
[Warning] InternetSocket.h@236,23:   'volatile unsigned int InternetSocket::_pending' [-Wreorder]
[Warning] InternetSocket.cpp@22,1:   when initialized here [-Wreorder]
2018-10-08 15:18:50 +01:00
Cesar b483778335 Revert file permissions 2018-10-08 15:18:50 +01:00
Cesar 7f4aedcfe6 Revert file permissions 2018-10-08 15:18:50 +01:00
Cesar 25d50d573b Updated pinmap to fix CAN and enable UART hardware flow control 2018-10-08 15:18:50 +01:00
Cesar 0d3cc36ddf Corrected device_has_add flags for bluepill_f103c8 target 2018-10-08 15:18:50 +01:00
Antti Kauppila fc97b2aca0 Rebased & fixed 2018-10-08 15:18:50 +01:00
Antti Kauppila eff5f392b4 Small improvements for test cases 2018-10-08 15:18:50 +01:00
Antti Kauppila 3945ea6bf5 Old Cellular UNITTESTS removed 2018-10-08 15:18:50 +01:00
Antti Kauppila 287c7508d3 cellular unittests ported to googletest framework 2018-10-08 15:18:50 +01:00
paul-szczepanek-arm cadfb7edea missing overload 2018-10-08 15:18:50 +01:00
paul-szczepanek-arm f3627530f4 missing onDataSent calblack for cordio 2018-10-08 15:18:50 +01:00
Fred.Li c0f99a47a4 Fix link issue for mbed-cloud-client-example with ARM toolchain. 2018-10-08 15:18:50 +01:00
Amanda Butler e70f3b52ed Copy edit readme.md
Extend copy edits.
2018-10-08 15:18:50 +01:00
Brian Daniels 8c3a350c2b Spelling fixes and general readability improvements 2018-10-08 15:18:50 +01:00
Kevin Bracey 33d04b016d FileBase: Fix unsetting of default when destroyed
Code that should unset a FileBase from being the default when it is
destroyed was broken by a `==` instead of `=` typo.
2018-10-08 15:18:50 +01:00
Mahesh Mahadevan a8aeea1cfd NXP: Update serial driver's parity handling
This is a fix for issue 6305. This fix set the default
parity value to NONE.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-10-08 15:18:50 +01:00
Hasnain Virk a3c3f7af3c LoRaWAN: Memory overrun correction
A typo in LoRaPHYCN470 is causing memory overrun.
We were supposed to fill-in default channel mask and iterate over CN470_CHANNEL_MASK_SIZE times.
2018-10-08 15:18:50 +01:00
Ron Eldor 5e55fdfa20 Change mbedtls_platform_context parameter to NULL
Change the parameter being sent to `mbedtls_platform_setup()` and
`mbedtls_platfrm_teardown()` to NULL, as it is now being unused
in Mbed OS.
2018-10-08 15:18:50 +01:00
Deepika d656be8494 Fixed: comparison between signed and unsigned integer expressions 2018-10-08 15:18:50 +01:00
Deepika 6bcfdb91be Fixed: @44,18: unused variable 'tid' [-Wunused-variable] 2018-10-08 15:18:50 +01:00
rklaassen d88d19e620 Added ARM Permissive Binary License to MTS bootloaders 2018-10-08 15:18:50 +01:00
jeromecoutant 98021cb47d STM32L4 : code cleanup in MSI SetSysClock 2018-10-08 15:18:50 +01:00
Seppo Takalo ce1ea568f2 Fix TCPSocket::accept()
This one was actually always return NULL, and unsted because we only
have tests with one device.

We will add the testcase for this soon
2018-10-08 15:18:50 +01:00
Jimmy Brisson 8c677fc9a1 SImplify linkerscirpt usage
Avoids assigning to things that we can't assign
2018-10-08 15:18:50 +01:00
Taiki 9f613512eb Switch the IPv4 parser to the one recently introduced in libservice. Return a bool value on wether parsing of the IPv4 address string was successful 2018-10-08 15:18:50 +01:00
Mahesh Mahadevan 3f26ee0955 MIMXRT1050_EVK: Update SPI HAL driver
Use a different SDK API to write to the SPI Bus

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-10-08 15:18:50 +01:00
Anna Bridge 610e35ddc6
Merge pull request #8163 from ARMmbed/release-candidate
Release candidate for mbed-os-5.10.0-rc3
2018-09-18 10:34:35 +01:00
TTornblom fb7c802a8c IAR: Fix for #7662, only massage the error decode URL for the IAR .xcl file. 2018-09-17 21:42:55 -05:00
Olli-Pekka Puolitaival fd02bbb3dd Fix icetea run in case that user has different boards connected same time 2018-09-17 21:42:55 -05:00
Olli-Pekka Puolitaival 2ab73d2ae4 Fix tests 2018-09-17 21:42:55 -05:00
Olli-Pekka Puolitaival 653d191ed3 Include run_icetea unittests also in pytest run 2018-09-17 21:42:55 -05:00
kegilbert 2c6a42965e Allow storage doxy to build 2018-09-17 21:42:55 -05:00
Lari-Matias Orjala 5cc64844e7 fix coverage exclude paths on Windows 2018-09-17 21:42:55 -05:00
Jimmy Brisson 9c7e2b1911 requiremnts: Bump IceTea
### Description

Version 1.0.1 of IceTea required conflicting version of jsonschema and
a version of pyshark that required a native compiler on windows. Version
1.0.2 resoves these issues and a few more. This PR prevents users from
installing a version which we know is broken

@cmonr RC3 please :D

### Pull request type

    [x] Fix
    [ ] Refactor
    [ ] Target update
    [ ] Functionality change
    [ ] Breaking change
2018-09-17 21:42:55 -05:00
Jimmy Brisson 6d5b70f39b `mbed dm`: Accept api key and host on the command line
### Description

`mbed dm` will now accept the Pelion Device Management API Key and
Host on the command line with the following switches:
 * `-a`, `--api-key` accepts the API Key
 * `-S` (note capitol), `--server-address` accepts the Host

 This is consistant with manifest tool parameters
 Resolves https://github.com/ARMmbed/mbed-cli/issues/745

### Pull request type

    [x] Fix
    [ ] Refactor
    [ ] Target update
    [ ] Functionality change
    [ ] Breaking change
2018-09-17 21:42:55 -05:00
Jarno Lamsa 7d2d1dd301 Temporarily move SYNCHRONOUS_DNS_CACHE test to extended set until issues fixed with it 2018-09-17 21:42:55 -05:00
Olli-Pekka Puolitaival ded64729f7 Syncronize mbed-ls minimum version with icetea requirements 2018-09-17 21:42:55 -05:00
Seppo Takalo b1ebb42d6b Fix SocketAddress unittests
Add ip4tos() and stoip4() into unittests.
NOTE: Probably should have been stubbed but this way we can also
test these helper functions.
2018-09-17 21:42:55 -05:00
Brian Daniels c2f6de6dbe Moving all unit tests to use hyphenated test name 2018-09-17 21:42:55 -05:00
Brian Daniels fea947c78f Updating readme to use hyphens for unittest paths 2018-09-17 21:42:55 -05:00
Juha Ylinen 5a82c8b47a Fix TCPServer::accept()
Missing lock caused Mutex unlock failure
2018-09-17 21:42:55 -05:00
Jenny Plunkett a9a231899c Fix quotes around gcovr install command 2018-09-17 21:42:54 -05:00