Commit Graph

23857 Commits (79568dbe6dfac4206b51f72ddb8e82b2785d5ee4)

Author SHA1 Message Date
offirko 2386825946 Fix Bus mode mask and status register write size in some modes in quad enable 2019-04-05 12:26:57 +01:00
Marc Emmers 9401844ccb Removed function calls from mbed_assert, which caused the functions to be ignored in release mode 2019-04-05 12:26:57 +01:00
Filip Jagodzinski 5092bb2bcc Docs: Add Python modules to LICENSE file
Specify a license for every module from requirements.txt.
2019-04-05 12:26:57 +01:00
Michal Paszta ffe97fa5a0 Nanostack::EthernetInterface::bringdown() can handle blocking mode
This let the tests-network-interface test pass for nanostack.
2019-04-05 12:26:57 +01:00
studavekar e2a296a9f7 update gcc arm version to 6-2017-q1-update 2019-04-05 12:26:57 +01:00
Desmond Chen 0eccb9e529 BLE:Fix gattserver authorization list update permission check 2019-04-05 12:26:57 +01:00
Nick d7acaf646a Formatting fix 2019-04-05 12:26:57 +01:00
Nick 6041d3ef8d Adding variable length attributes to Maxim Feather 2019-04-05 12:26:57 +01:00
Cruz Monrreal c8c3132713 Remove extra post-waffle cruft that was left behind 2019-04-05 12:26:56 +01:00
Michal Paszta 42f676a9da TCP/TLS Socket tests will skip if TCP is not supported 2019-04-05 12:26:56 +01:00
Qinghao Shi e8a39f82a1 TESTS: skip timing accuracy test on FastModels 2019-04-05 12:26:56 +01:00
ecoromka 313794cbc7 Fix tempsensor cal1 constant in stm32f3xx_ll_adc.h
Fix TEMPSENSOR_CAL1_TEMP according to datasheet.
2019-04-05 12:26:56 +01:00
Hasnain Virk 161d537d5b Unit test fix for RX TOA change
The change had an impact on unittests and we needed to adjust the test
cases a little to accomodate the change.
2019-04-05 12:26:56 +01:00
Hasnain Virk 23edd94a15 Adding TOA and Channel info in RX metadata
We provide now downlink channel frequency and time on air for the
received frame in the RX metadata.
Previously the channel information in both TX and RX metada contained
the index number of the channel. That information wasn't very useful
except the index numbers of default channels. To make more sense of the
meta data, we now store the channel frequency in the channel parameter
rather than the index number of the channel.

RX time on air is collected from the radio driver and it is assumed that
the downlink frame had 8 downlink preamble symbols (plus 4.25 of the
preambles added by the chip) for LoRa modulation.

This commit also include a bit of tidying of RX frequency storage in rx
configuration parameters storage. Previously we were missing filling in
the RX1 frequency correctly.
2019-04-05 12:26:56 +01:00
Arto Kinnunen 2a459d1a1e Fix compiler warnings in Nanostack HAL
Fix compiler warnings:
 -"warning: 'size' argument to memset is '0'"
 -"warning: implicit declaration of function"
2019-04-05 12:26:56 +01:00
Arto Kinnunen 2794c31ebc Squashed 'features/nanostack/coap-service/' changes from 227cc3d..086e7ba
086e7ba Adjust variable scope (#121)

git-subtree-dir: features/nanostack/coap-service
git-subtree-split: 086e7ba8a1afdcfe3df16ae92ef28cae1af5a4a6
2019-04-05 12:26:56 +01:00
Jimmy Brisson f4fee83e7e Allow both path seperator types in flash algo names 2019-04-05 12:26:56 +01:00
Jimmy Brisson e748135713 Update flash algo default with CPM 0.2.4
### Description

Cmsis Pack Manager 0.2.4 corrected parsing of specifically the flash
algorithm default attribute. It was allowed to be "0", "1", "true"
and "false". CPM 0.2.3 parsed "1" into false, and this behavior was
corrected in 0.2.4.

This PR uses 0.2.4 to update the index.

### Pull request type

    [x] Fix
    [ ] Refactor
    [ ] Target update
    [ ] Functionality change
    [ ] Docs update
    [ ] Test update
    [ ] Breaking change
2019-04-05 12:26:55 +01:00
Kevin Bracey 0658feb365 RTOS API: minor tidies
Remove unneeded memsets and an unneeded cast.

Add missing initialisation of EventFlags attributes - no all fields were
being initialised.
2019-04-05 12:26:29 +01:00
Brian Daniels 9df1d0b8b7 Fixing path comparisons on Windows 2019-04-05 12:26:29 +01:00
Kari Haapalehto 16f74c6a8a Correct thread status callback functionality. At the start-up, there was 2 NSAPI_STATUS_CONNECTING callbacks, so extra one removed from ThreadInterface.cpp. At the network lost case, there was NSAPI_STATUS_DISCONNECTED and NSAPI_STATUS_LOCAL_UP callbacks. NSAPI_STATUS_DISCONNECTED has been removed, since the NSAPI_STATUS_LOCAL_UP is enought. 2019-04-05 12:26:29 +01:00
Michal Paszta 825114ef5c Handle oversized packets in tcp, tls and udp socket tests 2019-04-05 12:26:29 +01:00
itayzafrir 785a3262cf Fix typos 2019-04-05 12:26:29 +01:00
itayzafrir 42b051e00f Crypto acl tests destroy keys 2019-04-05 12:26:29 +01:00
itayzafrir 37d28db597 Add crypto acl test - key agreement 2019-04-05 12:26:28 +01:00
itayzafrir d5af559c53 Add crypto acl test - key derivation 2019-04-05 12:26:28 +01:00
mudassar-ublox 468084212f cellular_network_test compilation error removed 2019-04-05 12:26:28 +01:00
paul-szczepanek-arm d28d49cbab simplify call 2019-04-05 12:26:28 +01:00
paul-szczepanek-arm aa6ff686fb update comments 2019-04-05 12:26:28 +01:00
paul-szczepanek-arm cfe0c34dbd bounce scan timeout of the queue 2019-04-05 12:26:28 +01:00
Oren Cohen 3f63ffbef3 Set default value of extra args to [] 2019-04-05 12:26:28 +01:00
Oren Cohen c397d9e62a Missing docstring 2019-04-05 12:26:28 +01:00
Oren Cohen 400b024c30 Specify extra args with -x and verbose_check_call 2019-04-05 12:26:28 +01:00
Oren Cohen f3db129ad9 Revert back to direct calls to python 2019-04-05 12:26:28 +01:00
Oren Cohen 048e9830fc small fix 2019-04-05 12:26:28 +01:00
Oren Cohen 4f329afc5f Add list option 2019-04-05 12:26:27 +01:00
Oren Cohen 094efe67ad Docs update 2019-04-05 12:26:27 +01:00
Oren Cohen 693138944e Refactor
* Use default image command generator.
* Call directly to mbed-cli.
* Add --skip-tests.
2019-04-05 12:26:27 +01:00
Oren Cohen b5acac0d8b List PSA secure platform and add choices option 2019-04-05 12:26:27 +01:00
Oren Cohen 91507a8256 Overhaul logging and verbosity
* Default verbose
* -q for quiet build with minimal status prints
2019-04-05 12:26:27 +01:00
d-kato 012a117df7 Changed LOOP_SCALER of "wait_ns()" 2019-04-05 12:26:27 +01:00
d-kato fe1b368415 Refactoring system clock driver 2019-04-05 12:26:27 +01:00
d-kato 306ab7a650 Removed clock mode decision of "SystemCoreClockUpdate()"
Since GPIO.PPR0 can not check clock mode, I changed it to set a fixed value for each board.
2019-04-05 12:26:27 +01:00
d-kato 65a4de1c82 Fix the value of SystemCoreClock
The OS timer of RZ/A1 uses P0 clock, so until now it has been set the value of P0 clock in SystemCoreClock.
Changed the system clock value to set to SystemCoreClock.
Changed to refer to P0 clock macro instead of SystemCoreClock in OS timer processing.
2019-04-05 12:26:27 +01:00
ccli8 5ef3e077ba Add button names BUTTON1/BUTTON2 2019-04-05 12:26:27 +01:00
Mirela Chirica 2e61afe694 Cellular: WISE-1570 needs greater receiving timeout to pass UDPSOCKET_ECHOTEST_NONBLOCK test
Reason for needing greater timeout could be this test's performance.
UDPSOCKET_ECHOTEST_BURST_NONBLOCK is implementing the receiving
differently and is passing with 1 second timeout.
2019-04-05 12:26:26 +01:00
Amir Cohen c5a0d469ff Improve general Block Device tests
Fixing all rand issues, aligning erase addresses, moving prints to debug mode.
2019-04-05 12:26:26 +01:00
Hasnain Virk 6b51397ae5 Unit test fix LoRaPHY_stub
get_rx_window_params() API is changed. To reflect that changing the
stub.
2019-04-05 12:26:26 +01:00
Hasnain Virk 1f322d23eb Ack timeout must be at least 2 seconds
While calculating ack timeout, we were ending up getting a random value
which may become less than 2 seconds. This is not allowed as per v1.0.2
specification.

To fix the issue we now take the random number from 0 to 2000 ms and
then add that to the fixed 2000 ms ack timeout value, guaranteeing a
value at least equal to 2000 ms.
2019-04-05 12:26:26 +01:00
Hasnain Virk 8e298cc98d Fixing premature RX2 abort
A bug while setting up RX start timers would result in premature closusre
of RX2 window. The 'ack_Timeout_timer' would be invoked prematurely and
at that time RX2 window may be being demodulating. This resulted in
massive instability with any test that relied on Confirmed traffic or
lower data rates.

To fix the issue, we must know the length of the RX window in
milliseconds and for this purpose we have extended the
'get_rx_window_params(...)' API. The length of the time the window
may remain open must be accounted for while setting up
'ack_timeout_timer'.
2019-04-05 12:26:26 +01:00