Commit Graph

30304 Commits (fe2fb4890738ec6a07571ec6909d26e30983501b)

Author SHA1 Message Date
Martin Kojtal fe2fb48907
Merge pull request #13210 from dustin-crossman/pr/sleep_test_fix
Fix hal-sleep/sleep_manager Tests on Cypress Targets
2020-07-03 10:36:22 +02:00
Martin Kojtal fa7c32c29d
Merge pull request #13207 from jamesbeyond/fpga_fix
TEST: update NRF52840_DK with correct FPAG configuration
2020-07-03 10:17:02 +02:00
Martin Kojtal 57809c4a37
Merge pull request #13171 from LDong-Arm/reenable_aws_example
Re-enable AWS example, limit targets
2020-07-03 10:15:43 +02:00
Dustin Crossman 0ae7516cac Fix serial wait bug in sleep test.
During the sleep_usticker_test and the deepsleep_lpticker_test a sleep
was placed above the main testing loop in order to give the device some
time to finish the Green Tea UART transmissions before entering sleep
mode. Since there is a Green Tea transmission at the end of each
iteration of this test loop, this sleep should be called for each loop
instead of just once before it.
2020-07-01 10:49:49 -07:00
Dustin Crossman c70baa9289 Fix kv parsing bug in greentea client.
Mbed greentea sends all KV pairs in the following format:
"{{key,value}}\n"
Previously the greentea client code was not reading the final '\n' from
the UART as part of the HandleKV() call. This did not cause an
error when multiple KV pairs were being parsed because any whitespace
proceeding a message was ignored. Once the final KV pair was sent,
however, HandleKV() would only read up to the "}}" leaving the final
'\n' in the UART buffer.
2020-07-01 10:38:49 -07:00
Martin Kojtal ffeb926a67
Merge pull request #13206 from vvkaggarwal12/usb-device-fix
Usb device init: wait_us fix
2020-07-01 14:08:47 +02:00
Martin Kojtal 663492a24f
Merge pull request #13205 from kjbracey-arm/lwipnonblock
LWIPStack: set sockets non-blocking
2020-07-01 12:29:22 +02:00
Martin Kojtal 26b6ca67ff
Merge pull request #13199 from jamesbeyond/test_fix
TEST: Update kvstore tests with shorter timeout
2020-07-01 12:18:12 +02:00
Martin Kojtal ab84dcde03
Merge pull request #13198 from kyle-cypress/pr/whd-1.91.2
Cypress: Update WHD to version 1.91.2
2020-07-01 12:01:51 +02:00
Martin Kojtal 60c94ebd3c
Merge pull request #13191 from dgreen-arm/fix-ordering-in-adjust_config.sh
Fix ordering in adjust config.sh
2020-07-01 12:00:41 +02:00
Martin Kojtal a0fd81bcd0
Merge pull request #13188 from toyowata/fix_baremetal_build
TEST: Add spif-driver support for baremetal test build
2020-07-01 11:48:18 +02:00
Martin Kojtal 76831a95f4
Merge pull request #13174 from jeromecoutant/PR_FPGA_WATCHDOG
tests-mbed_timing_fpga_ci_test_shield-watchdog update with clock accuracy
2020-07-01 11:47:25 +02:00
Martin Kojtal 23a84dd396
Merge pull request #13180 from esajaa/master
Update mbed-coap to version 5.1.6
2020-07-01 11:43:04 +02:00
Martin Kojtal 0e225f9298
Merge pull request #13173 from jeromecoutant/PR_I2C_L4R
STM32L4: I2C init parameters for L4+ MCU
2020-07-01 11:30:38 +02:00
Martin Kojtal 9ad4aa5334
Merge pull request #13152 from debdeep-arm/add-wisun-interface-api
Add Wi-SUN Interface APIs
2020-07-01 10:25:56 +02:00
Martin Kojtal 22e9925ca9
Merge pull request #13172 from yarbcy/pr/dev-mbed-init-fix
Cypress: Fix internal JIRA. Add check if cybsp_init() is successful
2020-07-01 10:25:11 +02:00
vivek 8d1503b220 Fix: #13203: USB device: wait_us instead of ThisThread::sleep_for, delay given is 5us 2020-07-01 13:11:42 +05:30
Qinghao Shi a5f1895c5b TEST: update NRF52840_DK with correct FPAG configration 2020-06-30 16:03:44 +01:00
Kevin Bracey c2c2b19ecf Turn off LWIP_SO_RCVTIMEO
We no longer use the receive timeout option in lwIP, so disable it to
save a small amount of ROM+RAM.
2020-06-30 11:48:13 +03:00
Kevin Bracey 134abf8e1f LWIPStack: set sockets non-blocking
When sockets were opened, they were not set non-blocking, but only had
their timeout set to 1ms.

TCP sockets were set to non-blocking on connect or accept, but UDP
sockets were left blocking with 1ms timeout.

This led to unnecessary delays when checking for data from an empty UDP
socket.

Change sockets to be non-blocking on open instead of setting the
timeout. As TCP sockets were already non-blocking, the necessary event
handling is already in place, and no other changes are required.
2020-06-30 11:34:39 +03:00
Qinghao Shi e88015e53e TEST: Update kvstore tests with shorter timeout 2020-06-27 20:12:58 +01:00
Kyle Kearney c7a6a8f649 WHD: Fix incorrect security type mapping 2020-06-26 12:22:10 -07:00
Kyle Kearney 4c95356f58 PSoC: Update WHD to v1.91.2 2020-06-26 10:03:08 -07:00
Darryl Green a3af4305bc Ensure that MBEDTLS_USE_PSA_CRYPTO is only defined when it should be
MBEDTLS_USE_PSA_CRYPTO should only be defined in Mbed OS when the
appropriate Mbed OS flags are set.
2020-06-25 14:24:25 +01:00
Darryl Green 077f4c3d46 Move code additions to end of adjust_config.sh
The config.py script that adjusts config.h in Mbed TLS doesn't
handle having configurations being defined in it multiple times
very well. As Mbed OS needs to have certain configurations settings
based on what features are set, these code additions to config.h
are moved to being added after the rest of the configuration is
adjusted.
2020-06-25 14:16:26 +01:00
toyowata ee5ef0b3ed Add spif-driver support for baremetal test build 2020-06-25 11:57:45 +09:00
adbridge a6207cadad Update Mbed version block 2020-06-24 16:41:27 +01:00
jeromecoutant 4d7db01d01 tests-mbed_timing_fpga_ci_test_shield-watchdog update with clock accuracy information
Test is checking the exact time for watchdog,
which is based on a non accurate clock...

Correction is then taken into account clock information from API.
2020-06-24 14:20:24 +02:00
Martin Kojtal 846fbfb0fd
Merge pull request #13175 from Patater/remove-tfm-kvstore-adapter
psa: Remove not needed TF-M ITS KVStore adapter
2020-06-24 10:14:20 +02:00
Martin Kojtal 6c27da57d9
Merge pull request #13122 from romanjoe/pr/add_cy8ckit_064b0b2_4343w
Cypress: Add target CY8CKIT_064B0S2_4343W, update psoc6pdl, psoc6cm0p
2020-06-24 09:36:39 +02:00
Esa Jaaskela c9748a8c8a Update mbed-coap to version 5.1.6 2020-06-24 09:19:45 +03:00
Jaeden Amero 6c9d16843c test: Add an experimental API config
It's important we still continue to run `mbed test` tests for APIs
considered experimental. Add a new test config which enables all
experimental APIs for test purposes.

For example, to run mbed test including experimental APIs on K64F:
    mbed test -m K64F -t GCC_ARM --app-config TESTS/configs/experimental.json
2020-06-23 13:48:03 +01:00
Jaeden Amero e3cfee4b3d psa: Remove not needed TF-M ITS KVStore adapter
Targets that use Mbed for their PSA implementation
(TARGET_MBED_PSA_SRV), rather than TF-M, do not need any adapters to
connect TF-M and KVStore. Remove the unnecessary file its_tfm_impl.cpp.
2020-06-23 13:22:29 +01:00
jeromecoutant 0d277eefe4 STM32L4: I2C init parameters for L4+ MCU 2020-06-23 10:05:24 +02:00
Lingkai Dong 183a4c7ecf mbed-os-example-aws: build for DISCO_L475VG_IOT01A and K64F 2020-06-22 16:39:25 +01:00
Lingkai Dong 8a09d308d5 Revert "disable compilation in CI"
This reverts commit d4e9267542.
2020-06-22 16:26:40 +01:00
Martin Kojtal b4389c7805
Merge pull request #13165 from MarceloSalazar/musca_a1
Remove Musca A1 target
2020-06-22 16:32:01 +02:00
Martin Kojtal 107d9bbf8a
Merge pull request #13070 from ithinuel/add_aws_example_to_build_list
add mbed-os-example-aws to the example list
2020-06-22 16:08:45 +02:00
Wilfried Chauveau d4e9267542
disable compilation in CI 2020-06-22 14:15:52 +01:00
Marcelo Salazar dbbdb3f5bd Remove Musca A1 target
The MUSCA_A1 target isn't supported in Mbed OS 6.
Removing as it was left in master by mistake.
However, it continues to be available in 5.15 branch.
2020-06-22 13:24:40 +01:00
YARB(Cypress) 383b8f98de Fix internal JIRA. Add check if cybsp_init() is successful 2020-06-22 12:45:09 +03:00
Roman Okhrimenko 00cbc2d54e Update GeneratedSource of 064B0S2 with repo-starging 15347 revision 2020-06-19 16:16:55 +03:00
Roman Okhrimenko dcc3559a82 Update GeneratedSources for 064B0S2 - disable ALT systick due to changes in psoc6pdl-1.6.0.4266 2020-06-19 16:16:55 +03:00
Roman Okhrimenko 1bd215ba1a Update GeneratedSource files for 064B0S2 using psoc6pdl-1.6.0.4266-rc3 2020-06-19 16:16:55 +03:00
Roman Okhrimenko 611c95614d Update psoc6cm0p to 1.2.0.237-rc2 2020-06-19 16:16:55 +03:00
Roman Okhrimenko 7a862d2059 Update psoc6pdl to 1.6.0.4266-rc3 2020-06-19 16:16:55 +03:00
Roman Okhrimenko bcc8c2cdae Rename 064B0S2 linker scripts names per common pattern 2020-06-19 16:16:54 +03:00
Roman Okhrimenko 2a313c3ed7 Update prebuild Secure CM0p hex file from multi image case with 064B0S2 to 1.2.0.210 2020-06-19 16:16:54 +03:00
Roman Okhrimenko 4043deee7e Update linker scripts with templates from psoc6pdl 1.6.0.4172 for IAR and ARM for 064B0S2, add cm4_dual versions 2020-06-19 16:16:54 +03:00
Roman Okhrimenko fc42c74e7b Rework find_policy() in post build script to enable default locations 2020-06-19 16:16:54 +03:00