Commit Graph

18777 Commits (66bf5c43f21f6eacf9895a88b206154a88bb36da)

Author SHA1 Message Date
Seppo Takalo 66bf5c43f2 Remove the unstable SYNCHRONOUS_DNS_CACHE testcase
Will be reverted once the test case is fixed
2018-10-08 15:18:50 +01:00
Michael Kaplan 765cee5a88 Fix EFM32 pwmout hal function pwmout_period
In pwmout_period() is a check for changed values, which is not working because of a wrongly used bitmask. This is fixed now.
2018-10-08 15:18:50 +01:00
ccli8 668a10e8f2 Update to NuMaker-PFM-M2351 V1.3 board
1. Update UNO pin A4/A5
2. Update UNO pin D2/D3
2018-10-08 15:18:50 +01:00
Kimmo Vaisanen ffa46b15f3 LoRa: Stop processing MAC commands if command id is unknown
The length of a MAC command is not explicitly given and must be
implicitly known by the MAC implementation. Therefore unknown MAC
commands cannot be skipped and the first unknown MAC command
terminates the processing of the MAC command sequence.

This commit fixes the bug where MAC command processing was not
terminated when unknown MAC command was received.
2018-10-08 15:18:50 +01:00
Cruz Monrreal 063118ca9d Update mbed-cloud-sdk in requirements.txt 2018-10-08 15:18:50 +01:00
justinkim 8a8f6734c0 Stack size change to 1K in IAR Linker Script. 2018-10-08 15:18:50 +01:00
justinkim b66a4f61d6 Fix Bug : IAR heap memory problem 2018-10-08 15:18:50 +01:00
Hasnain Virk 6b11e99b96 LoRaWAN: Refactoring compliance test code
While performing compliance tests with an industry tester, we realized
that there was no need for any extra handling code for the compliance
tests. The tests would run fine, if we only have a handling application.
However, in normal operation we wouldn't like the network to send us any
traffic on compliance testing port. To mitigate that, on the reception
path we filter out any traffic on compliance testing port if compliance
testing is not underway. User should define LORAWAN_COMPLIANCE_TEST macro
in mbed_app.json to enable traffic on compliance test port.
2018-10-08 15:18:50 +01:00
Lari-Matias Orjala e49523b11c remove test suite names from cellular tests 2018-10-08 15:18:50 +01:00
Lari-Matias Orjala 2c8550b510 update test file generator 2018-10-08 15:18:50 +01:00
Lari-Matias Orjala b6b331f94d add auto-naming of unit test suites 2018-10-08 15:18:50 +01:00
Jani Suonpera 3b233c59de Rename F207ZG bootloader binary
Typo fix and fix version hash.
2018-10-08 15:18:50 +01:00
Jani Suonpera 41d23a8b8a Add bootloader image for Nucleo F207ZG 2018-10-08 15:18:50 +01:00
Kimmo Vaisanen 3236feede7 Lora: Fix ADRAckReq
This commit fixes two bugs related to ADRAckReq:
- adr_ack_counter must be incremented for all uplink messages (not just confirmed)
- When ADR_ACK_LIMIT + ADR_ACK_DELAY has been reached, stack decreased used
  datarate twice.
2018-10-08 15:18:50 +01:00
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