Commit Graph

26850 Commits (52cb2c2cfcb2ca221f783ca6c16f2e4980d12b87)

Author SHA1 Message Date
Kyle Kearney 52cb2c2cfc Avoid stale mutex in QSPIFBlockDevice::read
Update to follow the same `goto exit_point` pattern that is used
by the rest of the functions to avoid leaving the mutex locked
when errors are detected and require the function to abort.
2019-10-14 13:59:47 -07:00
Kyle Kearney 3f20b80859 Reuse existing error for _qspi_configure_format
Use QSPIF_BD_ERROR_DEVICE_ERROR instead of introducing a new error code.
Add tr_error calls whenever _qspi_configure_format fails to aid in debugging.
2019-10-11 14:28:25 -07:00
Kyle Kearney 726a73c048 Report errors returned by _qspi_configure_format
The function returns a qspi_status_t but most usages in QSPIFBlockDevice
assume that it always succeeds.
2019-10-11 14:28:13 -07:00
Anna Bridge c094ad8095
Merge pull request #11561 from kyle-cypress/pr/target-063-ble
Add TARGET_CY8CPROTO_063_BLE
2019-10-11 14:39:29 +01:00
Anna Bridge 489c30f569
Merge pull request #11297 from kyle-cypress/pr/qspi-dummy-cycles
Differentiate alt and dummy cycles in QSPIF
2019-10-11 14:34:17 +01:00
Anna Bridge 97e11cc781
Merge pull request #11176 from OpenNuvoton/nuvoton_m252kg
Support Nuvoton target NUMAKER_M252KG
2019-10-11 14:33:06 +01:00
Anna Bridge 7fb52d9300
Merge pull request #11567 from kyle-cypress/pr-dev/simplify-qspi-params
Simplicy QSPIF target overrides for PSoC6
2019-10-11 12:22:09 +01:00
Anna Bridge 64df07288c
Merge pull request #11551 from Tharazi97/Coverity
Coverity updates
2019-10-11 11:01:10 +01:00
Anna Bridge 917d982913
Merge pull request #11639 from JarkkoPaso/nanostack_release_for_mbedos_5_14_1
Nanostack patch release for mbedos 5.14.1
2019-10-11 10:59:16 +01:00
Anna Bridge 22951d7378
Merge pull request #11616 from u-blox/ubx_cellular_api
Cellular: Setting timeout before send command in gethostbyname.
2019-10-11 10:45:41 +01:00
Anna Bridge 319fd671b1
Merge pull request #11618 from AriParkkila/cell-stm-pwr
Cellular: Fix CellularStateMachine to not loop between init/power states
2019-10-11 10:44:36 +01:00
Anna Bridge 1798c246cc
Merge pull request #11625 from gpsimenos/gp-revert-tickless-ublox-odin
Revert tickless on UBLOX_EVK_ODIN_W2
2019-10-08 10:45:43 +01:00
Anna Bridge a65718dab2
Merge pull request #11638 from JuhPuur/imgtool_python3_fix
Change imgtool lib import to relative import
2019-10-08 10:37:39 +01:00
Anna Bridge ef4fe9852f
Merge pull request #11607 from fkjagodzinski/fix-usb_device-basic_test
Tests: USB: Move control endpoint buffers to heap
2019-10-07 16:53:50 +01:00
Anna Bridge 51680cb55e
Merge pull request #11601 from michalpasztamobica/tests_dns_timeouts_esp8266
DNS tests modification for ESP8266-specific scenario
2019-10-07 16:49:11 +01:00
Anna Bridge f1295b9aa7
Merge pull request #11573 from felser/add_413_dragonfly
Add 413 dragonfly
2019-10-07 16:48:07 +01:00
Anna Bridge ad891d9658
Merge pull request #11548 from AriParkkila/cell-dns-ip
Cellular: Fix resolving of DNS server IPv4/6 address
2019-10-07 16:46:47 +01:00
Anna Bridge f987fe0b32
Merge pull request #11542 from morser499/pr/target-update
Update Cypress targets
2019-10-07 16:44:59 +01:00
Anna Bridge 5108f9188d
Merge pull request #11558 from Tharazi97/Coverity_fixes
Coverity fixes
2019-10-07 14:52:11 +01:00
Jarkko Paso 4cab344c59 Merge commit 'ffb05c770964013a9f1ee9fb89d25e9fd09e886d'
* commit 'ffb05c770964013a9f1ee9fb89d25e9fd09e886d':
  Squashed 'features/nanostack/coap-service/' changes from e9edb1b..b919a33
2019-10-07 13:08:20 +03:00
Jarkko Paso ffb05c7709 Squashed 'features/nanostack/coap-service/' changes from e9edb1b..b919a33
b919a33 Added mbedTLS crypto library include directory

git-subtree-dir: features/nanostack/coap-service
git-subtree-split: b919a3366f6a1a4d3034957011731998ea9cce50
2019-10-07 13:08:20 +03:00
Jarkko Paso c15478021b Merge commit '3e6cb31659a56d343c7b8fe37645f195eb87ffcf'
* commit '3e6cb31659a56d343c7b8fe37645f195eb87ffcf':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from c473148..0824752
2019-10-07 13:00:49 +03:00
Jarkko Paso 3e6cb31659 Squashed 'features/nanostack/sal-stack-nanostack/' changes from c473148..0824752
0824752 Merge branch 'release_internal' into release_external
f598339 Merge branch 'master' into release_internal
678e0fd Removed unicast RX flag set. it was affecting that we remove neighbor too early.
a4317fc Corrected coding style
cd2848e Added support for calculating the length of the TLS send message buffer
f255931 Removed UDP echo msg data print and added source address print.
adcca3d RPL dio config advertisment update
6db1f31 Merge pull request #2198 from ARMmbed/IOTTHD-3691
ad244d1 MAC: changed CCA and TX fail trace level to debug
496074a RPL parent select update:
32e22d3 MAC: Added trace to when CCA fails and packet TX is canceled
47b2e03 Corrected GKH initiation on supplicant
c83423a PAE controller now removes keys from MAC on stop (ifdown)
a6f98b7 Flagged extended key usage call with mbedTLS flags
0675a89 Added dynamic setting to enable certificate validation
ff531d3 Added IDevID and LDevID certificate validation
b30635f Merge pull request #2191 from ARMmbed/IOTTHD-3693
88019ec Updated message generated traces
ea15b0e Remove all instances when domain is disbaled and clear EAPOL relay.
dce25d3 Corrected security protocols init and security message routing
7b39e25 Do not trig Renew again after RPL parent registration done state.
3cad7bd DHCPv6 renew and transaction id update
c5b6df3 DHCPv6 client update
dea0d53 DHCPv6 client API update
5eaad10 Added missing address active flag init.
34c751b Corrected triggering of next GTK handshake on authenticator
4fad826 Corrected export keys callback parameters
26c10a6 SW MAC / 802.15.4 Frame counter per key support Update
b62b120 Added robustness on DAO-ACK handling
dfcebef Added support for new certificate modification functions
fd4b2e9 WS ARO handler update
e2d46b9 wi-sun neagtive ARO missing ACK update
443f03f Merge pull request #2181 from ARMmbed/IOTTHD-3530_2
f36da31 MAC: Update frame counter for asynch frames
3260fa1 Merge pull request #2177 from ARMmbed/IOTTHD-3530
f18052a MAC: Initialize frame counter with 0xffffffff
5453e5b MAC: Do not increment framecounter if security param init fails
5bd19c4 MAC: Do not update framecounter for fhss channel retry

git-subtree-dir: features/nanostack/sal-stack-nanostack
git-subtree-split: 082475205bb4eedfbbf5c0c824f2ccf8a73b37ed
2019-10-07 13:00:48 +03:00
Anna Bridge 7eb8807a76
Merge pull request #11589 from jamesbeyond/fm_psa
Enable PSA tests for fastmodel
2019-10-04 12:01:19 +01:00
George Psimenos 508775c240 Revert tickless on UBLOX_EVK_ODIN_W2 2019-10-03 15:57:25 +01:00
Anna Bridge eeb033f814
Merge pull request #11357 from kivaisan/offloaded_tlssocket_bg96
Offloaded TLSSocket and BG96 support for it
2019-10-03 11:54:32 +01:00
Anna Bridge 8688b183a9
Merge pull request #11572 from kjbracey-arm/sbrk2_fix
Tighten GCC 2-region _sbrk
2019-10-03 11:19:37 +01:00
Anna Bridge ec7a5ee42b
Merge pull request #11486 from ladislas/update-googletest
update googletest to v1.8.1
2019-10-03 11:17:29 +01:00
Juhani Puurula bdaa38c1bb Change imgtool lib import to relative import 2019-10-03 12:12:43 +03:00
Ari Parkkila 73145fd551 Cellular: Fix CellularStateMachine to not loop on power state 2019-10-03 01:12:14 -07:00
mudassar-ublox b2d0448351 setting timeout before send command 2019-10-03 12:22:17 +05:00
Filip Jagodzinski 71d9bd9568 Tests: USB: Move control endpoint buffers to heap
This fixes the stack overflow error during the basic USB tests.

Update the ctrl_buf member of the USBTester and USBEndpointTester test
classes to be allocated on the heap. This saves 2 KB of a main stack.
2019-10-01 14:39:28 +02:00
Michal Paszta 3297445ac2 Increase the timeout for DNS tests as their number increased 2019-10-01 15:14:44 +03:00
Michal Paszta d6b77da270 Increase timeout in DNS_TIMEOUTS test for ESP8266
The test floods the device with UDP requests (it skips the 100 ms delay to simulate instant timeout). ESP8266 starts responding with "busy p..." message. It needs more time to process the data and recover for subsequent tests.
2019-10-01 15:14:25 +03:00
Martin Kojtal 31114ba343
Merge pull request #11598 from JanneKiiskila/AT_Cell_err_warn
AT_CellularDevice.cpp - unused variable err warning
2019-10-01 13:35:03 +02:00
Martin Kojtal 3787998069
Merge pull request #11582 from jamesbeyond/integration_test
TEST: change integration fs test format and mount order
2019-10-01 13:33:19 +02:00
Martin Kojtal 828fd2378a
Merge pull request #11581 from AriParkkila/cell-pdp-cid
Cellular: Fix setting of PDP context ID (cid)
2019-10-01 13:32:47 +02:00
Martin Kojtal fda544a14c
Merge pull request #11566 from trowbridgec/add-default-connectivity-config-for-ep-agora
EP_AGORA: Add config logic to enable BLE, cell, and LoRa by default
2019-10-01 13:17:59 +02:00
Martin Kojtal f5b5989fc8
Merge pull request #11595 from SeppoTakalo/IOTSTOR-944
Check return of BlockDevice::init() in TDBStore.
2019-10-01 11:33:39 +02:00
Matthew Macovsky 6bba46e48f Differentiate alt and dummy cycles in QSPIF
Propagate separate alt cycle and dummy cycle counts from QSPIFBlockDevice
down to the qspi driver, so that drivers which handle the two separately have
enough information to do so.
2019-09-30 16:17:49 -07:00
Kyle Kearney 9b32c0f316 Fix possible negative QSPI alt count on STM
Remove an extraneous decrement operation in cases where the alt
bits size is a multiple of 8.
2019-09-30 16:00:24 -07:00
Matthew Macovsky baf375f8cb Allow for arbitrary QSPI alt sizes
The QSPI spec allows alt to be any size that is a multiple of the
number of data lines. For example, Micron's N25Q128A uses only a
single alt cycle for all read modes (1, 2, or 4 bits depending on
how many data lines are in use).
2019-09-30 14:45:08 -07:00
Ben Cooke dd778c4126 Add MTS_DRAGONFLY_F413RH platform to mbed-os 2019-09-30 13:50:40 -05:00
Qinghao Shi bdff628a6c FASTMODEL: add a comment for TRNG simulation 2019-09-30 16:43:44 +01:00
Qinghao Shi 5089d9de87 FASTMODEL: update trng based on comments 2019-09-30 16:30:51 +01:00
Janne Kiiskila 55f6518853 AT_CellularDevice.cpp - unused variable err warning
We get this compiler warning;

Compile [  7.9%]: AT_CellularDevice.cpp
[Warning] AT_CellularDevice.cpp@206,18: variable 'err' set but not used [-Wunused-but-set-variable]

Due to the fact, that the code that would actually use this variable
is behind trace flags. Based on review feedback from Antti Kauppila and
Kimmo Väisänen, adding same flagging also for that.
- Reason being - the operation needs to be within the locks.
2019-09-30 17:11:23 +03:00
Martin Kojtal c385e141e2
Merge pull request #11535 from AnttiKauppila/DNS_cleanup
DNS manual cleanup mechanism added
2019-09-30 15:55:49 +02:00
Martin Kojtal dc64165f34
Merge pull request #11597 from mirelachirica/errno_include_macosx
Missing errno.h include
2019-09-30 15:54:16 +02:00
Martin Kojtal f30f7633e0
Merge pull request #11596 from kivaisan/fix_loramac_initialization_order
LoRa: Fix build warning about _ongoing_tx_msg
2019-09-30 15:38:17 +02:00
Martin Kojtal cd8753a1bd
Merge pull request #11540 from fkjagodzinski/test_update-usb_device-basic
Tests: USB: Update error handling in basic tests
2019-09-30 15:28:05 +02:00