Commit Graph

24193 Commits (mbed-os-5.12)

Author SHA1 Message Date
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
Oren Cohen ad79a3bd8e Define program_cycle_s for CY8CKIT_062_WIFI_BT 2019-04-05 12:26:26 +01:00
Oren Cohen be524bbb5d Define program_cycle_s for NXP LPC55S69 2019-04-05 12:26:26 +01:00
Martin Kojtal 03427b35b5 readme: remove waffle as not supported soon
Fixes #10176
2019-04-05 12:26:26 +01:00
Tymoteusz Bloch 4897ff28e5 Fixed compilation error in LWIPStack class if lwip tcp is disabled. 2019-04-05 12:26:26 +01:00
Arto Kinnunen 6b0897bc64 Nanostack 802.15.4 RF drivers update
Sync Nanostack RF drivers from master copy:
-MCR20A: v1.0.6
-S2LP: v0.0.5
2019-04-05 12:26:26 +01:00
Leszek Rusinowicz 5664a928f1 Workaround for ARMC6 Windows 7 assembler issue
On Windows 7 using --preproc option in ARMC6 assembler doesn't work
when -MD option is also specified. Compiler creates incorrect filename for
dependency file and compilation files.
To workaround this issue, this change returns to using a temporary file and
separately calling preprocessor and assembler (as in a case of ARMC5).
2019-04-05 12:26:25 +01:00
Michael Schwarcz 24a3b0cc74 LPC targets: Compile us_ticker.c only if USTICKER defined 2019-04-05 12:26:25 +01:00
Michael Schwarcz b130fae17e Add USTICKER to more targets
- LPC4088
- LPC4088_DM
- MAX32600MBED
- NCS36510
- WIZWIKI_W7500
- WIZWIKI_W7500ECO
- WIZWIKI_W7500P
2019-04-05 12:26:25 +01:00
Michael Schwarcz 83f9243362 Add USTICKER to ARCH_PRO target 2019-04-05 12:26:25 +01:00
Michael Schwarcz ca23b4397f Remove dependency on us_ticker HAL apis for non USTICKER targets
- Surround mbed_us_ticker_api.c with if DEVICE_USTICKER
- get_us_ticker_data() returns NULL for non-usticker targets.
2019-04-05 12:26:25 +01:00
itziar c4c6515ad3 Applied suggested astyle fix(es) 2019-04-05 12:26:25 +01:00
itziar 18e8671b68 Bug related to downlink sequence counter rollover 2019-04-05 12:26:25 +01:00
kegilbert ed08c8f940 Remove gnuarmeclipse from baremetal export testing
baremetal does not currently work with gnuarmeclipse
2019-04-05 12:26:25 +01:00
Kevin Gilbert 3e9e126707 Add baremetal example to testing 2019-04-05 12:26:25 +01:00