Commit Graph

24972 Commits (4625221f1e00df13412e5a0217d8dc9a4018ac28)

Author SHA1 Message Date
Martin Kojtal 4625221f1e
Merge pull request #10746 from davidsaada/david_fix_ps_flags
PSA protected storage: Add encrypt & RB protect flags by default to set.
2019-06-09 18:17:19 +01:00
Martin Kojtal eb12029215
Merge pull request #10742 from teijokinnunen/cthunk_free_fix
CThunk: Fix assertion when CThunk object is destroyed
2019-06-09 18:16:56 +01:00
Martin Kojtal b683f4252e
Merge pull request #10739 from OpenNuvoton/nuvoton_m487_wait-ns
M487: Fix wait_ns test failed
2019-06-09 18:16:34 +01:00
Martin Kojtal ced4c3f4e4
Merge pull request #10708 from VVESTM/vve_fix_10671
TARGET_STM: SPI: add pulse on master transmissions
2019-06-09 18:10:42 +01:00
Martin Kojtal 1e61f53544
Merge pull request #10705 from kjbracey-arm/atomic_thumb1
Atomics: GCC fix for M23 (ARMv8-M baseline)
2019-06-09 18:08:50 +01:00
Martin Kojtal a1fab9d654
Merge pull request #10699 from gpsimenos/iotcore556-fix_buffer_param_type
MbedCRC: make buffers const void *
2019-06-09 18:07:51 +01:00
Martin Kojtal dda79d4d23
Merge pull request #10695 from Ronny-Liu/master
GD32_F450ZI : Add bootloader support
2019-06-09 18:06:25 +01:00
Martin Kojtal 48d23722fe
Merge pull request #10672 from c1728p9/fix_typos
Fix typos in the FPGA CI Test Shield component
2019-06-09 18:05:52 +01:00
Martin Kojtal dd77957d45
Merge pull request #10665 from tymoteuszblochmobica/json
Add hardcoded Echo server defaults for Greentea socket tests.
2019-06-09 18:05:03 +01:00
Martin Kojtal dc77c40fe9
Merge pull request #10709 from LDong-Arm/nrf52_cordio
Default to Cordio BLE stack for NRF52* targets
2019-06-09 18:03:34 +01:00
Martin Kojtal df84eb1b28
Merge pull request #10653 from desowin/stm-usb-host
STM USBHALHost: Fix NULL pointer dereference
2019-06-09 18:01:46 +01:00
Martin Kojtal a2c029404b
Merge pull request #10437 from OpenNuvoton/nuvoton_psa_exclude_test
PSA: Exclude mbed-hal-spm test for M23 target
2019-06-07 17:19:27 +01:00
Martin Kojtal 15ec24e1b4
Merge pull request #10786 from adbridge/master
Re-enable complilation for wifi and nanostack examples
2019-06-07 15:12:48 +01:00
Lingkai Dong 3307c59610
Merge pull request #1 from paul-szczepanek-arm/nrf52_cordio
disable test
2019-06-07 13:57:50 +01:00
paul-szczepanek-arm 1fe06f18c3 exculde test 2019-06-07 13:50:30 +01:00
adbridge 366b18ea1f Re-enable complilation for wifi and nanostack examples 2019-06-07 10:50:24 +01:00
Martin Kojtal 6a1ab73988
Merge pull request #10770 from Patater/update-to-mbedcrypto-1.1.0d1
mbed-crypto: Update to Mbed Crypto 1.1.0d1
2019-06-07 09:18:53 +01:00
Martin Kojtal 489bd10626
Merge pull request #10629 from trowbridgec/add-target-ep-agora
Add support for the Embedded Planet Agora target
2019-06-06 14:50:14 +01:00
Jaeden Amero 9676edd36b mbed-crypto: Update to Mbed Crypto 1.1.0d1 2019-06-05 16:39:06 +01:00
Martin Kojtal 2b354a40b0
Merge pull request #10755 from maciejbocianski/fix_qspi_hal_test_code
hal_qspi_test: undo buggy code
2019-06-05 11:43:23 +01:00
Lingkai Dong 3373c5d24a NORDIC_CORDIC pal_crypto: check if cryptocell310 is enabled
The config "cryptocell310-acceleration" is set by MCU_NRF52840
but individual targets may have crytocell310 feature disabled.
2019-06-05 09:53:53 +01:00
Lingkai Dong 977eea4447 critical_section tests: do not check APP interrupts on NRF52
APP interrupts are masked on SoftDevice BLE stack only, but we
have switched to Cordio stack on NRF52 targets.
2019-06-05 09:53:53 +01:00
Lingkai Dong ffcceb0cb7 Default to Cordio BLE stack for NRF52* targets
The BLE stack from SoftDevice is not actively maintained and
has issues when used with Nordic SDK v15.
2019-06-05 09:53:53 +01:00
Martin Kojtal fbc489e6a5
Merge pull request #10733 from pan-/fix-nrf52-memory-pools
Fix nrf52 memory pools
2019-06-04 21:01:15 +01:00
Vincent Coubard 618e1e623e Cordio: Fix default COC parameters.
The stack doesn't cope with zero COC client or channel on IAR.
2019-06-04 14:45:45 +01:00
Maciej Bocianski 90fbab0419 hal_qspi_test: undo buggy code
Remove some buggy code introduced to hal_qspi_test by PR #10435
Added support for QSPI to Cypress Boards
a8570ffe6c
2019-06-04 14:14:21 +02:00
Martin Kojtal 04d0b0d1c8
Merge pull request #10654 from desowin/usbhost-msd
USBHostMSD: Implement BlockDevice get_type()
2019-06-04 12:56:52 +01:00
Martin Kojtal f174490b18
Merge pull request #10740 from kjbracey-arm/no-deprecated-register
ARMC6: Suppress "register deprecated" warning
2019-06-04 11:55:18 +01:00
Martin Kojtal 0ebf9617c4
Merge pull request #10698 from LMESTM/Timeout_test_do_not_call_sleep_from_thread
timeout_tests: do not call sleep from test thread
2019-06-04 10:54:56 +01:00
Martin Kojtal 6818554c66
Merge pull request #10747 from hennadiykytsun/pr/5.13.ARMC6-issue-10613
Cypress: Fix issue #10613
2019-06-04 10:44:01 +01:00
Martin Kojtal b050a9df64
Merge pull request #10722 from Patater/auto-enable-psa-entropy-injection
mbed-crypto: Automatically enable entropy injection
2019-06-04 09:47:15 +01:00
David Saada dcd2c292af PSA protected storage: Add encrypt & RB protect flags by default to set. 2019-06-03 16:32:55 +03:00
Hennadiy Kytsun 7447cac66c Cypress: Fix issue #10613 2019-06-03 16:26:52 +03:00
Teijo Kinnunen aade299c62 CThunk: Fix assertion when CThunk object is destroyed
In case the CThunk object is deleted without having called the
entry() function (and thus _entry is NULL), cthunk_free_real()
will fail with an assertion.
2019-06-03 13:11:07 +03:00
Kevin Bracey 18ce757c07 ARMC6: Suppress "register deprecated" warning
Lots of target code, STM in particular, uses the `register` keyword, so
it'll take a little while to clean up. In the interim, some builds are
producing a lot of warnings. Suppress the warning for now, as `register`
remains legal C++14 and C11, despite C++14 deprecating it.

C++17 removes `register`, so code will need to be cleaned before any
further C++ version update.
2019-06-03 12:19:58 +03:00
Martin Kojtal f18e3364e9
Merge pull request #10716 from kfnta/alzix/manifest-tool
Update requirement for manifest-tool
2019-06-03 09:19:47 +01:00
Vincent Veron 16475829f1 TARGET_STM: SPI: add pulse on master transmissions
Add a pulse when using hardware chip select for SPI transmissions.
CS is at low level when a transmission is on-going.

Be careful, this is not compatible with all modes. It will work only
if PHA is 0, ie spi mode is 0 or 2. See stm32xx reference manual,
chapter "NSS pulse mode" for more details.

Fix #10671

Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-06-03 10:00:06 +02:00
Martin Kojtal a93542bab5
Merge pull request #10683 from OpenNuvoton/nuvoton_wait-ns_weak
Export wait_ns to be overridable
2019-06-03 08:54:50 +01:00
Martin Kojtal 752101d041
Merge pull request #10696 from AriParkkila/cell-ublox-at-connect
Cellular: Fix socket connect on UBLOX_AT driver
2019-06-03 08:52:43 +01:00
Martin Kojtal 62698b903c
Merge pull request #10660 from mprse/fpga_ts_add_sckl_stats
Add SCLK and SIN stats to SPIMasterTester
2019-06-03 08:49:39 +01:00
Martin Kojtal 5d33fe1dfa
unsupported USBHAL: fix coding style 2019-06-03 08:44:41 +01:00
Martin Kojtal f0696417c5
Merge pull request #10647 from tymoteuszblochmobica/coverity
Fix LWIP warning issues found by Coverity scan

lwip_dns.c in function: dns_add_interface_server
CID 1399051 (#1 of 1): Buffer not null terminated (BUFFER_SIZE_WARNING)10. buffer_size_warning: Calling strncpy with a maximum size argument of 6 bytes on destination array new_interface_server->interface_name of size 6 bytes might leave the destination string unterminated.
line 434 strncpy(new_interface_server->interface_name, interface_name, INTERFACE_NAME_MAX_SIZE);

lwip_ip4_frag.c in function: ip_reass_free_complete_datagram

CID 1373164 (#1 of 1): Dereference after null check (FORWARD_NULL)7. var_deref_model: Passing null pointer prev to ip_reass_dequeue_datagram, which dereferences it. [show details]
line 209 ip_reass_dequeue_datagram(ipr, prev);

lwip_ip4_frag.c in function: ip_reass

CID 1373163 (#1-2 of 2): Dereference after null check (FORWARD_NULL)38. var_deref_model: Passing null pointer ipr_prev to ip_reass_dequeue_datagram, which dereferences it. [show details]
line 663 ip_reass_dequeue_datagram(ipr, ipr_prev);

lwip_api_msg.c in function: lwip_netconn_do_connected

CID 1373162 (#1 of 1): Explicit null dereferenced (FORWARD_NULL)10. var_deref_model: Passing null pointer op_completed_sem to sys_sem_signal, which dereferences it. [show details]
line 1336 sys_sem_signal(op_completed_sem);
2019-06-03 08:41:53 +01:00
Martin Kojtal 9a3c175e96
Merge pull request #10588 from AriParkkila/cell-bg96-power
Cell bg96 power
2019-06-03 08:38:58 +01:00
Martin Kojtal 93e4a8251c
Merge pull request #10697 from jeromecoutant/PR_H7FLASH
STM32H7: flash issue while erasing sector in Bank 1
2019-06-03 08:35:29 +01:00
Martin Kojtal 4f6035e6b1
Merge pull request #10501 from davidsaada/david_spif_driver_unlog
Remove excessive info and debug prints in SPIF driver
2019-06-03 08:33:19 +01:00
Chun-Chieh Li 010f4225a0 [M487] Fix wait_ns test failed 2019-06-03 11:28:26 +08:00
Vincent Coubard 11cb7f0119 BLE - tune Cordio LL default parameters to reduce the memory required. 2019-05-31 16:11:08 +01:00
Vincent Coubard 12bdc0ebdb BLE - Fix Cordio LL extended advertising size. 2019-05-31 16:10:02 +01:00
Vincent Coubard a74c4ce57f BLE - Set rx ACL buffer size to the minimum viable in cordio conf. 2019-05-31 16:09:28 +01:00
Vincent Coubard 0baf04dfb4 Disable l2cap connection oriented channels in Cordio default conf. 2019-05-31 16:08:37 +01:00