Commit Graph

27904 Commits (cd3bb0d121a549c53c48ab9822efcb4ff57c390c)

Author SHA1 Message Date
Jaeden Amero 0573ba5fb6 Update Mbed Crypto to version 2.1.0d0 2019-10-15 14:23:26 +01:00
Jaeden Amero f2d42bfa31 Update Mbed TLS to version 2.20.0d0 2019-10-15 14:14:01 +01:00
Roman Okhrimenko 27f9cf85de Added specific policy file for 2M device to expand slot sizes 2019-10-15 16:07:56 +03:00
Alexandre Bourdiol 728a1c4383 STM32F767ZI - I2C FastModePlus not properly enabled 2/2
Warning: sometimes I2C_FASTMODEPLUS_I2Cx is defined,
even if not supported by some chip within the family
2019-10-15 13:46:29 +02:00
Martin Kojtal 262a62a375
Merge pull request #11645 from kyle-cypress/pr/psoc6-tickless
Enable tickless for PSoC6 targets
2019-10-15 19:28:11 +08:00
Martin Kojtal 119e99f642
Merge pull request #11661 from Alex-EEE/patch-1
mbed_rtc_time.h lacks an include guard
2019-10-15 18:56:20 +08:00
Martin Kojtal 0ca643308b
Merge pull request #11686 from mikaleppanen/nano_cont_corr
Corrected nanostack PAE controller

Changes on #11539 conflicted with nanostack changes on master. Removed the duplicated functions from PAE controller.
2019-10-15 17:39:20 +08:00
Mika Leppänen 3c39dbd737 Corrected nanostack PAE controller 2019-10-15 09:53:36 +03:00
Janne Kiiskila 02c139f27a stm32f4xx_hal_pcd.c@346,22: unused variable 'ep'
Compiler warning fix, trivial. One function has an unused
variable, delete that line.
2019-10-15 09:49:09 +03:00
Martin Kojtal befc833744
Merge pull request #11547 from mtomczykmobica/ONME-4366
Fix for UBLOX_EVK_ODIN_W2 fails in emac test.
2019-10-15 13:16:36 +08:00
Martin Kojtal 7522f9c348
Merge pull request #11667 from sathishm6/pr/ipv6-multi-cast-join-fix
Fixes IPv6 multicast join issue
2019-10-15 13:15:43 +08:00
Martin Kojtal e8804cd574
Merge pull request #11668 from morser499/pr/whd_1.40
Update Cypress WiFi driver code to version 1.40
2019-10-15 13:13:17 +08:00
Martin Kojtal 89c08f5865
Merge pull request #11669 from morser499/pr/rtos-abstraction
Fixed issue with integer overflow when converting time units
2019-10-15 13:09:37 +08:00
Martin Kojtal a806237226
Merge pull request #11660 from shuopeng-deng/pr/spi-transfer-fix
Fix dropped bytes on spi write
2019-10-15 13:08:32 +08:00
Martin Kojtal b54315ece2
Merge pull request #11623 from jeromecoutant/PR_CELLULAR_CTS
STMOD_CELLULAR: set CTS with PullDown
2019-10-15 13:07:46 +08:00
Martin Kojtal 2fe14682fa
Merge pull request #11609 from madchutney/iotbtool/407-microbit-fix
IOTBTOOL-407 Fix microbit to use Arm C5
2019-10-15 13:07:00 +08:00
Martin Kojtal 57c4a08e48
Merge pull request #11539 from mikaleppanen/cert_key_len_supp
Enable DER coded certificate support to Wi-SUN mesh API
2019-10-15 13:05:23 +08:00
Martin Kojtal f05f03faed
Merge pull request #11512 from RonEld/fix_cc_ecdh_alt_for_mont_curve
Fix Failure in Cryptocell tests on Montgomrery curve
2019-10-15 13:03:26 +08:00
Shuopeng Deng 9f03a1ce24 fixed spi_master_write to support transfer of 8+ bits
remove an unnecessary cast
2019-10-14 14:04:37 -07:00
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
Alexandre Bourdiol 6397a1d555 Mbed patch of STM32cube for bootloader: use NVIC_FLASH_VECTOR_ADDRESS 2019-10-14 18:03:47 +02:00
Alexandre Bourdiol 02cdac5fe3 Update HAL/LL EXTI to have default API applied on current core and nott CPU1 2019-10-14 18:03:28 +02:00
Alexandre Bourdiol 48aba33204 SystemCoreClock should correspond to current core clock and not D1 clock. 2019-10-14 18:03:06 +02:00
Alexandre Bourdiol adcf0e2fa5 DISCO_H747I Dualcore support
Add 2 targets for DISCO_H747I dualcore:
* DISCO_H747I      -> for CM7 core
* DISCO_H747I_CM4  -> for CM4 core

Current restrictions:
* TICKLESS deactivated
* DeepSleep not supported (DeepSleep wrapped to sleep)

Warning: use of the same IP (example I2C1) by both core at the same time is not prevented,
but is strongly not recommended.
Some Hardware Semaphore are use for common IP, to manage concurrent access by both cores: Flash, GPIO, RCC.

Warning: Drag and drop of binary to DISCO_H747I will flash CM7.
         In order to flash CM4, one can use STM32 CubeProgrammer tool.
2019-10-14 18:02:57 +02:00
Martin Kojtal 079564b174
Merge pull request #11647 from JarkkoPaso/nanostack_driver_update_for_mbed_os_5.14.1
Nanostack RF driver updates for Mbed OS 5.14.1
2019-10-14 14:33:07 +02:00
Sathish Kumar Mani 5b791a4345 Fixes IPv6 multicast join issue
Problem Statement:
During multicast join sequence, InternetSocket::join_multicast_group() calls InternetSocket::modify_multicast_group(). modify_multicast_group() sets up the multicast group address (i.e., mreq.imr_multiaddr) to be joined and the interface address (i.e., mreq.imr_interface) to be used for the multicast join request. The interface address is initialized with the default value, which sets the version of interface address to NSAPI_UNSPEC. This results in LWIP::setsockopt() API to attempt IPv6 multicast join on the IPv4 interface address, hence IPv6 multicast join always fails with the protocol error.

Fix:
Initialize interface address version based on the multicast address version in LWIP::setsockopt(), before attempting multicast join operation.
2019-10-14 17:41:27 +05:30
Martin Kojtal 46116623be
Merge pull request #11612 from michalpasztamobica/coverage_gaps_unitests
IPCore unittests improvements
2019-10-14 14:10:46 +02:00
Michal Paszta 66c4b131e2 Astyle fixes 2019-10-14 14:22:31 +03:00
Michal Paszta 1706843d7d [unittests] test for InternetSocket::close blocking
Close should not take place in case there is someone reading or writing to the socket.
2019-10-14 14:22:31 +03:00
Michal Paszta 8c3194ac4e [unittests] Improve coverage
For the following classes:
* DTLSSocket
* NetworkInterface
* TLSSocketWrapper
2019-10-14 14:22:31 +03:00
Dominika Maziec 22b6b0fddb unitests update for tcp and udp 2019-10-14 14:22:31 +03:00
Martin Kojtal 7d8f1b90d9
Merge pull request #11649 from michalpasztamobica/NetworkInterface_destructor_mem_leak
Fix memory leak on NetworkInterface destruction
2019-10-14 13:14:08 +02:00
Marcin Tomczyk b27565db8d Disable emac multicast filtering for unimplemented/unsupported/unworking boards 2019-10-14 03:54:23 -07:00
Jarkko Paso f8564cfadd S2-LP: sync with development repository 2019-10-14 09:07:10 +01:00
Michal Paszta 3d596468b4 Fix memory leak on NetworkInterface destruction
We dynamically allocate memory in every add_event_listener(), but we do not free it on NetworkInterface destruction.
2019-10-14 10:58:18 +03:00
Martin Kojtal 31fb3f929b
Merge pull request #11678 from cmonr/travis-ci-debugging
Travis CI: Fixed issue where jobs are getting stalled/timing out
2019-10-14 09:49:34 +02:00
Martin Kojtal 0e7d8927f1
Merge pull request #11615 from kivaisan/remove_deprecated_cellular_tests
Cellular: Remove old deprecated tests
2019-10-14 09:28:01 +02:00
Martin Kojtal 3ca2e14a71
Merge pull request #11627 from jeromecoutant/PR_PINMAP_ERROR
pinmap_peripheral function: update error code for easier debug
2019-10-14 09:27:30 +02:00
Martin Kojtal 8ff444ff80
Merge pull request #11621 from jeromecoutant/PR_L1_VREFINT_CAL_ADDR
STM32L151: update calibration memory address
2019-10-14 09:23:16 +02:00
Martin Kojtal 379787a127
Merge pull request #11626 from jeromecoutant/PR_DISCO_L4R_STMOD
DISCO_L4R9I: update default STMOD+ pin
2019-10-14 09:22:35 +02:00
Maciej Bocianski 7cc0b614bb nrf52 - fix i2c/twi driver
Sync TWI driver to sdk version 15.3.0 to get rid of data length limitation
2019-10-12 08:59:57 +02: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
Cruz Monrreal II 70ee402340 Fixed Travis CI issue where jobs were/are getting stalled while fetching packages.
Something on Travis CI's side has changed such that invoking the 'wait' command within a script attempts to wait on some other jobs in addition to those spawned within the CI job.

Workaround is to explicitly collect the PIDs for processes spawned within the script and only wait on those.
2019-10-11 16:06:01 -05:00
Roman Okhrimenko 9b86b391b2 Initial addition of files to support CY8CKIT_064S2_4343W target 2019-10-11 19:28:17 +03: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
Antti Kauppila 691fc5525d Fix build issue 2019-10-11 15:25:50 +03: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