Michal Paszta
53a82faa5a
Prevent double attempt to connect mesh api
...
Socket network interface tests were failing due to DICONNECTED event
being advertised, where GLOBAL_UP was expected. It turned out that
nanostack receives two events: APPL_EVENT_CONNECT and
APPL_BACKHAUL_INTERFACE_PHY_UP. The second attempt to connect obviously
returns errors, but it also causes events to be sent out to the
application. The second attempt should not take place in case the
bootstrap is already started.
I also fixed two reports being sent with DISCONNECT status, while they
are actually something else.
2019-01-30 15:08:11 +02:00
Martin Kojtal
a4ed473afc
Merge pull request #9515 from VeijoPesonen/bugfix-tests-netsocket-udp_udpsocket_sendto_invalid
...
tests-netsocket-udp UDPSOCKET_SENDTO_INVALID allow unsupported empty UDP packet
2019-01-30 10:08:34 +01:00
Martin Kojtal
c7998aa62c
Merge pull request #9528 from kjbracey-arm/atomic_load_store
...
Second barrier for core_util_atomic_flag_clear
2019-01-30 10:07:33 +01:00
Martin Kojtal
30070c6055
Merge pull request #9533 from mirelachirica/remove_obsolete_cellular_unittests
...
Cellular: Remove makefile and mbedignore refering to obsolete cellula…
2019-01-30 10:07:02 +01:00
Martin Kojtal
93f0a09344
Merge pull request #9521 from cmonr/py3-tests-and-fixes
...
Py3 fixes and Travis CI enablement
2019-01-30 10:02:50 +01:00
Martin Kojtal
88d7ef155b
Merge pull request #9531 from theamirocohen/remove_flashiap_tests
...
Remove COMPONENT_FLASHIAP tests
2019-01-30 09:57:35 +01:00
Martin Kojtal
8847b87852
Merge pull request #9522 from bridadan/update_test_packages
...
Update all mbed test packages
2019-01-30 09:57:13 +01:00
Martin Kojtal
2a16bbdf98
Merge pull request #9496 from NXPmicro/Add_MXRT_IAR_Support
...
MIMXRT1050_EVK: Add IAR support in the exporter
2019-01-30 09:56:29 +01:00
Martin Kojtal
7d036b52cd
Merge pull request #9283 from michalpasztamobica/tlssocket_greentea
...
Add TLSSocket greentea tests.
2019-01-30 09:55:21 +01:00
Martin Kojtal
1031e2d464
Merge pull request #9236 from jeromecoutant/PR_SD_TEST
...
COMPONENT_SD tests update for small RAM targets
2019-01-30 09:54:41 +01:00
Cruz Monrreal
ad04edf9c1
Merge pull request #9532 from kjbracey-arm/trng_mutex
...
Mutex-protect mbedtls_hardware_poll
2019-01-29 16:53:41 -06:00
Jimmy Brisson
b836b340a2
Updated spm test runner wish short import variant
...
Co-Authored-By: cmonr <Cruz.Monrreal@arm.com>
2019-01-29 14:54:42 -06:00
Brian Daniels
8be2ba4b8d
Update all mbed test packages.
...
This change allows the latest releases of mbed-ls, mbed-host-tests, and
mbed-greentea. This brings new target support, features, and bug fixes.
2019-01-29 09:36:58 -06:00
Amir Cohen
35df2de703
Remove COMPONENT_FLASHIAP tests
...
FlashIAPBlockDevice LittleFS ‘fopen’ falls on nightly tests
LittleFS test on FlashIAP is not relevant and thus removed
2019-01-29 13:54:40 +02:00
Mirela Chirica
2bdfafc9fc
Cellular: Remove makefile and mbedignore refering to obsolete cellular unit tests
2019-01-29 13:23:39 +02:00
Kevin Bracey
983503f9ee
Mutex-protect mbedtls_hardware_poll
...
Like all HAL APIs, the calls in trng_api.h are not expected to
be thread-safe.
All current accesses to the TRNG HAL are currently via
`mbedtls_hardware_poll`. Mbed TLS does not currently serialise these
calls itself, as `MBEDTLS_THREADING_C` is not enabled. But even if
Mbed TLS's own accesses were serialised, there are other direct
users of `mbedtls_hardware_poll` such as randLIB, that need to use
direct calls due to lack of API to extract entropy from Mbed TLS.
As such it makes sense to treat `mbedtls_hardware_poll` as a de facto
public Mbed OS API, akin to the C++ veneers on top of the HAL, and add a
PlatformMutex there so that it is safe for multithreaded use.
2019-01-29 12:45:48 +02:00
Veijo Pesonen
b0fca1ffc8
Test UDPSOCKET_SENDTO_INVALID allows NSAPI_ERROR_UNSUPPORTED
2019-01-29 10:59:06 +02:00
Kevin Bracey
f60bb8f3a7
Second barrier for core_util_atomic_flag_clear
...
As barriers were added in #9247 , review comments pointed out that atomic
stores needed a second barrier, and they got one. But atomic_flag_clear
was missed.
2019-01-29 10:45:20 +02:00
Martin Kojtal
d1b367fbab
Merge pull request #9483 from mprse/ticker_sleep_lock_fix
...
Fix for Issue #7308 (Deep_sleep_lock Ticker.h Issue)
2019-01-29 09:27:12 +01:00
Cruz Monrreal II
de4b7607a0
Simplified max/min condition
2019-01-28 14:01:48 -06:00
Cruz Monrreal II
861816c20b
Enable xenail dist for only Py37 job
...
Other jobs will follow with other PR
2019-01-28 13:54:28 -06:00
Cruz Monrreal II
d582451469
Enabled Py3.{5,6,7} in Travis CI
2019-01-28 13:02:37 -06:00
Cruz Monrreal II
533dcf36ff
Added universal_newlines flag to Popen in pylint.py
2019-01-28 12:59:43 -06:00
Cruz Monrreal II
2a9a45d087
Increased path for spm include.
...
Py3 tests were not running as a result
2019-01-28 12:59:43 -06:00
Cruz Monrreal II
149d280e7a
Added encoding to version check for Py3 compat
2019-01-28 12:59:43 -06:00
Cruz Monrreal II
cc3114113d
In Py3.7, a reinit of a mock variable was needed.
...
It seems that initializing mock variables in an object isn't enough
2019-01-28 12:59:43 -06:00
Cruz Monrreal II
d9add3447d
Added None check for min in config tools
2019-01-28 12:59:43 -06:00
Cruz Monrreal II
72dbc52715
Added flag to run_cmd Popen invocation to do default decoding
2019-01-28 12:59:43 -06:00
Cruz Monrreal
e965aa6640
Merge pull request #9509 from vmedcy/psoc6-daplink-hex
...
PSOC6.py: generate hex files with 16 bytes per row
2019-01-28 10:38:15 -06:00
Cruz Monrreal
66cda8a8fe
Merge pull request #9499 from bridadan/remove_yotta_modules
...
Remove unused yotta module metadata
2019-01-28 10:37:30 -06:00
Cruz Monrreal
545d229ab1
Merge pull request #9497 from ARMmbed/AnotherButler-patch-2
...
Remove yotta from README.md
2019-01-28 10:36:36 -06:00
Cruz Monrreal
953acef94c
Merge pull request #9482 from maciejbocianski/arch_pro_spi_pins
...
ARCH_PRO: add missing SPI pin definitions
2019-01-28 10:34:37 -06:00
Cruz Monrreal
f5730a91b2
Merge pull request #9474 from VeijoPesonen/fix-newlines_at_end-of-files
...
Fix newlines at end of files
2019-01-28 10:33:37 -06:00
Cruz Monrreal
7f8ebc75cd
Merge pull request #9466 from vmedcy/psoc6-target-hook
...
Improve PSoC 6 post-build hooks, whitelist makefile export
2019-01-28 10:33:12 -06:00
Cruz Monrreal
b49d949b50
Merge pull request #9393 from pan-/fix-safe-enum-type-safety
...
BLE: Fix SafeEnum type safety
2019-01-28 10:31:52 -06:00
Veijo Pesonen
d712568b8f
ESP8266: with empty packet send returns zero if TCP, unsupported otherwise
2019-01-28 13:46:48 +02:00
Martin Kojtal
0bc9bcc0ed
Merge pull request #9498 from ARMmbed/AnotherButler-patch-3
...
Remove outdated text and fix spelling in README.md
2019-01-28 11:05:15 +01:00
Martin Kojtal
489e52e428
Merge pull request #9410 from jeromecoutant/PR_F756_L486
...
STM32F756 and STM32L486 alignment with STM32F746 and STM32L476
2019-01-28 10:22:48 +01:00
Martin Kojtal
e3cf2e4adc
Merge pull request #9500 from janjongboom/patch-4
...
TCPSocket.cpp setting socket should terminate with semicolon
2019-01-28 10:21:52 +01:00
Volodymyr Medvid
5c384f10e7
PSOC6.py: generate hex files with 16 bytes per row
...
DAPLink implementation on Cypress kits cannot handle hex files
with 64 bytes per row: refer to https://github.com/ARMmbed/DAPLink ,
source/daplink/drag-n-drop/intelhex.c, hex_line_t struct, data field.
2019-01-25 10:07:00 -08:00
Amanda Butler
36438a1d70
Remove outdated content from README.md
...
Remove requested outdated content, and update TOC to reflect changes.
2019-01-25 09:57:19 -06:00
Martin Kojtal
daefce6bf4
Merge pull request #9492 from cmonr/travisCI-fix-license_check
...
Travis CI: Fix for license check job
2019-01-25 12:33:21 +01:00
Cruz Monrreal
eb26d82ca9
Merge pull request #9223 from kfnta/future_sequana_psa_binnaries_importer
...
Update PSA binaries importer for FUTURE_SEQUANA_PSA
2019-01-24 17:02:44 -06:00
Cruz Monrreal II
e28bf5ae11
Replaced '|' with '>' (affects how newlines are parsed)
2019-01-24 16:56:05 -06:00
Jan Jongboom
ca987568d8
TCPSocket.cpp setting socket should terminate with semicolon
2019-01-24 14:25:34 -08:00
Cruz Monrreal
615ed31f7a
Merge pull request #9488 from 0xc0170/fix_licenses
...
Fix licenses in travis test and realtek lib
2019-01-24 16:16:38 -06:00
Cruz Monrreal II
50a99a0572
Updated license_check to work a bit better across line boundries.
...
Swapped out 'git grep' for 'grep' since it can take in a --max-count flag.
The license _header_ will always be at the top.
Also enabled output so that PR authors can know what the problem files are.
2019-01-24 16:14:50 -06:00
Cruz Monrreal II
31ab61ed80
Fix for license check job.
...
Somehow, having the '!' before a single command in a single line parses out the '!'.
2019-01-24 16:14:50 -06:00
Amanda Butler
8b35bbc5b5
Remove .json blob from README.md
...
Make change suggested in comments.
2019-01-24 15:54:02 -06:00
Brian Daniels
99d6145cf3
Update features/frameworks/greentea-client/README.md
...
Co-Authored-By: AnotherButler <Amanda.Butler@arm.com>
2019-01-24 15:53:01 -06:00