Commit Graph

1762 Commits (tools-release-6.0.0)

Author SHA1 Message Date
Martin Kojtal b622a25688
Merge pull request #12810 from MarceloSalazar/platform_cleanup
Remove unsupported targets

Note, commit 21e364e is just a styling fix, no target removal.
2020-04-22 10:58:50 +02:00
Martin Kojtal aec6303437
Merge pull request #12787 from kyle-cypress/pr/cyeskit-064b0s2-4343w
Cypress: Add CYESKIT-064B0S2-4343W
2020-04-21 10:08:40 +02:00
Martin Kojtal bb6345e63b
Merge pull request #12827 from ithinuel/bare_metal_hal
enable common tickers & lp_tickers hal tests in baremetal mode
2020-04-21 09:56:59 +02:00
Martin Kojtal b9ab2d2f25
Merge pull request #12816 from rajkan01/semaphore_greentea_test
Baremetal: Enable Semaphore greentea test
2020-04-21 09:51:07 +02:00
Evelyne Donnaes 8be00a1ff8 Override c_lib to small for all targets.
Small C libraries should be used with the bare metal profile
to save memory.
2020-04-20 18:01:51 +01:00
Marcelo Salazar ee8231ab9d Remove USI_WM_BN_BM_22 based targets 2020-04-20 16:55:35 +01:00
MarceloSalazar bf590310db Remove MTB_RAK811 target 2020-04-20 16:55:34 +01:00
MarceloSalazar e78ba7065b Remove MTB_MTS_XDOT target 2020-04-20 16:55:33 +01:00
MarceloSalazar 91607fe9cd Remove MTB_MURATA_ABZ target 2020-04-20 16:55:33 +01:00
Rajkumar Kanagaraj a24419bde6 Incorporated the review comments 2020-04-20 12:56:50 +01:00
Kimmo Vaisanen fe98dbef94 Cellular: Fix BG96 offloaded DNS query for new API
Fixed following issues in BG96 offloaded DNS:
- Fixed mbed-os 6 API change for asynchronous DNS callback. Return value is no longer
  an error value but in success case the amount of DNS records
- Asynchronous request returns request ID instead of NSAPI_ERROR_OK. BG96 supports only
  one asynchronouse DNS query at the time, so ID 1 is used.
- BG96 does not support multi-ip DNS responses, so disabled multi-ip tests
2020-04-20 12:35:09 +03:00
Wilfried Chauveau 3d74526fa9
enable common tickers & lp_tickers hal tests in baremetal mode 2020-04-17 15:01:56 +01:00
Jaeden Amero 07a84ec10a psa: Remove MBED_SPM code
All MBED_SPM targets have been removed previously, via commits
5cc66282dd ("PSOC6: remove PSA targets") and 115b09aba43b ("psoc6:
Remove FUTURE_SEQUANA and FUTURE_SEQUANA_M0"). Remove all the dead
MBED_SPM code, as no targets use it.

Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-04-16 14:10:54 +01:00
Rajkumar Kanagaraj 8bc7ffe6e3 Baremetal: Enable Semaphore greentea test 2020-04-16 12:07:05 +01:00
Martin Kojtal 9ffc5bcaa6
Merge pull request #12779 from rajkan01/eventflags_greentea_test
Baremetal: Enable EventFlags greentea test
2020-04-15 15:00:48 +02:00
Martin Kojtal c83924d3dc
Merge pull request #12786 from rajkan01/kernel_tick_count_greentea_test
Baremetal: Enable kernel_tick_count greentea test
2020-04-15 09:42:34 +02:00
Martin Kojtal fef75b3b52
Merge pull request #12731 from kivaisan/fix_socketaddress_verification
Testing: Fix multihoming test compilation issues
2020-04-15 09:21:18 +02:00
Rajkumar Kanagaraj 45de008c50 Incorporated the review comment 2020-04-14 18:57:27 +01:00
Martin Kojtal 64bc9d9dd7
Merge pull request #12775 from MarceloSalazar/platform_cleanup
Remove unsupported targets
2020-04-14 10:59:20 +02:00
Martin Kojtal 33563b3cfb
Merge pull request #12739 from jamesbeyond/sema_dep
FIX: update usb device tests for deprecated API
2020-04-14 09:07:43 +02:00
Rajkumar Kanagaraj c91362fa3c Baremetal: Enable kernel_tick_count greentea test 2020-04-09 16:45:57 +01:00
MarceloSalazar a15f6a43ad General clean-up of unsupported targets 2020-04-09 15:36:21 +01:00
MarceloSalazar e43ece13aa Rename EMW3166 target 2020-04-09 15:32:41 +01:00
Rajkumar Kanagaraj 176c599a60 Incorported the review comment 2020-04-09 15:19:11 +01:00
Martin Kojtal 7fce7f552c
Merge pull request #12572 from rajkan01/waitapi_remove_deprecated
Remove mbed wait deprecated APIs
2020-04-09 14:57:46 +02:00
Martin Kojtal 0aacbf72d1
Merge pull request #12668 from VeijoPesonen/fix_tests-integration-fs_2
tests-integration-fs-threaded: makes tests independent from each other
2020-04-09 09:04:56 +02:00
Rajkumar Kanagaraj d598d81221 Baremetal: Enable EventFlags greentea test 2020-04-08 18:36:26 +01:00
Rajkumar Kanagaraj 3d128e861b - Fix the CI build issue.
- Incorporate the review comment.
2020-04-08 10:35:07 +01:00
Rajkumar Kanagaraj cbb15ad9ac ThisThread::sleep_for is asserted when the PWM test case calls this API with IRQ masked, so wait_us is used to fix this issue as PWM testes to be executed with interrupt disabled to avoid context switch. 2020-04-08 10:35:07 +01:00
Rajkumar Kanagaraj 9739b565b2 Fix the CI build issue 2020-04-08 10:35:07 +01:00
Rajkumar Kanagaraj 83be3f24a5 Remove mbed wait deprecated APIs 2020-04-08 10:35:07 +01:00
Roman Okhrimenko bb53efcdbd Add TARGET_CYESKIT_064B0S2_4343W to list in flash_configs in TESTS 2020-04-05 13:52:27 +03:00
Martin Kojtal 74ace63eaa
Merge pull request #12729 from AnttiKauppila/mbedtls_fixes
Mbedtls fixes
2020-04-03 08:59:14 +02:00
Martin Kojtal ded879daed
Merge pull request #12603 from dustin-crossman/pr/add-cysbsyskit_01
Add target CYSBSYSKIT_01
2020-04-02 18:18:11 +02:00
Martin Kojtal e8208c062b
Merge pull request #12719 from jeromecoutant/PR_FPGA_JSON
FPGA CI TEST SHIELD: add test config json file
2020-04-01 08:58:44 +02:00
Martin Kojtal f03860a971
Merge pull request #12604 from OpenNuvoton/nuvoton_nano130_tickless_lpticker
NANO130: Fix test failures with tickless from lp_ticker
2020-04-01 08:40:19 +02:00
Kimmo Vaisanen 9913f25d2a Testing: Add missing TRACE_GROUP for multihoming tests 2020-04-01 08:32:06 +03:00
Qinghao Shi 5a0141c5a1 FIX: update usb device tests for deprecated API 2020-03-31 21:42:39 +01:00
Veijo Pesonen 61d70ae967 tests-integration-fs: CY8CPROTO_062_4343W regression
Created a new test case to reveal an issue with CY8CPROTO_062_4343W
which was earlier exposed by two intervening test cases.
2020-03-31 18:43:11 +03:00
Veijo Pesonen 7d2f005ca3 tests-integration-fs: makes tests independent
Cleans up the created files between test cases to avoid out of space
situations.
2020-03-31 18:42:46 +03:00
Kimmo Vaisanen 692aafc80c Testing: Fix SocketAddress compare
TEST_ASSERT_EQUAL compares int values and converting SocketAddress as int is not supported.
2020-03-31 16:39:26 +03:00
Martin Kojtal 9bea1509da
Merge pull request #12612 from jamesbeyond/int_test
TEST: add RTOS macro to enable integration test
2020-03-31 15:13:51 +02:00
Teppo Järvelin c5d5d21f05 Added missing optimizations based on mbedtls/baremetal.h config 2020-03-31 14:21:45 +03:00
Martin Kojtal 8b929726e1
Merge pull request #12609 from rajkan01/semwait_remove_deprecation
Remove Semaphore deprecated APIs
2020-03-31 10:36:43 +02:00
Martin Kojtal fea7c1abef
Merge pull request #12472 from praveenCY/pr/wpa3_support_merge
Add WPA3 support in mbed-os for green tea tests
2020-03-31 08:32:27 +02:00
Qinghao Shi 0e67d1c258 TEST: fix typo 2020-03-30 20:55:38 +01:00
Qinghao Shi 8468fbe798 TEST: add RTOS macro to guard integration tests 2020-03-30 20:28:22 +01:00
jeromecoutant 2309a1749a FPGA CI TEST SHIELD: add test config json file 2020-03-30 18:03:12 +02:00
Anna Bridge 009ff7adf3
Merge pull request #12036 from kjbracey-arm/callback_fiddle
Callback extension and optimisation
2020-03-27 14:07:20 +00:00
Anna Bridge 2736896fb9
Merge pull request #12706 from hugueskamba/hk_remove_armc5_support_tests
Tests: Remove support for ARM Compiler 5
2020-03-27 14:05:26 +00:00
Martin Kojtal cb131c39b3
Merge pull request #12629 from evedon/ed-rtos-api
Add "rtos-api" to bare metal
2020-03-26 18:21:05 +01:00
Martin Kojtal 2d10d670d0
Merge pull request #12640 from evedon/ed-mprintf-profile
Remove minimal-printf extension profile
2020-03-26 14:50:13 +01:00
Hugues Kamba 4318a0747f Tests: Remove support for ARM Compiler 5
ARM Compiler 5 is no longer actively supported and was superseded in
Mbed OS by ARM Compiler 6.
2020-03-25 18:22:00 +00:00
Martin Kojtal ddd3b013e8
Merge pull request #12632 from evedon/ed-minimal-snprintf
Fix snprintf in minimal-printf library
2020-03-25 11:34:23 +01:00
Evelyne Donnaes 94acb5da50 Fix snprintf in minimal-printf library.
mbed_minimal_putchar assumed that buffer being NULL meant that it
should print to a file. This caused a system crash when calling
snprintf with both buffer and stream set to NULL.
It is valid to call snprintf with a NULL buffer; nothing should
be outputted, but the string length should be measured.
2020-03-23 13:46:12 +00:00
Martin Kojtal ef2c1c89e6
Merge pull request #12658 from VeijoPesonen/fix_tests-integration-fs
tests-integration;tests-filesystem: fix code causing compiler warnings and enable more tests
2020-03-23 12:31:13 +01:00
Anna Bridge d048cd4c83
Merge pull request #12410 from rajkan01/serial_remove_deprecate
Remove the deprecated RawSerial, UARTSerial, Serial
2020-03-20 15:19:32 +00:00
Chun-Chieh Li c3473e421d Fix events-queue failure on low CPU frequency 2020-03-20 13:07:29 +08:00
Chun-Chieh Li 9ddcdcde4e NANO130: Fix mbed_hal-stack_size_unification failure
NANO130 doesn't re-configure rtos.main-thread-stack-size, so keep EXPECTED_MAIN_THREAD_STACK_SIZE as normal.
2020-03-20 10:26:40 +08:00
Veijo Pesonen 41632891c3 tests-integration-*: target configuration cleanups
Stops duplication of target.components_add config parameter.
2020-03-19 18:43:18 +02:00
Veijo Pesonen d46c397e74 tests-integration-*: Stops using deprecated wait()
Additionally removes some dead code.
2020-03-19 18:43:18 +02:00
Veijo Pesonen 148cf851c2 tests-integration-*: fixes traces 2020-03-19 18:43:18 +02:00
Evelyne Donnaes 1bbe3a725f Removed minimal-printf profile 2020-03-17 13:57:48 +00:00
Rajkumar Kanagaraj a6b78c6429 Remove Semaphore deprecated APIs 2020-03-16 09:37:45 -07:00
Evelyne Donnaes ebf5d27788 Add "rtos-api" to bare metal 2020-03-16 11:40:49 +00:00
Kevin Bracey d09d85431c Disable test that breaks IAR 2020-03-11 15:46:03 +02:00
Kevin Bracey 171a5f80c7 Add more Callback tests 2020-03-11 15:46:03 +02:00
Kevin Bracey bb733f1ee8 Callback updates
* Optimise clearing by adding `nullptr` overload. This overload means
  `Callback(NULL)` or `Callback(0)` will no longer work; users must
  use `Callback(nullptr)` or `Callback()`.
* Optimise clearing by not clearing storage - increases code size of
  comparison, but that is extremely rare.
* Reduce ROM used by trivial functors - share copy/destroy code.
* Config option to force trivial functors - major ROM saving by
  eliminating the "operations" table.
* Config option to eliminate comparison altogether - minor ROM saving by
  eliminating zero padding.
* Conform more to `std::function` API.
2020-03-11 15:46:03 +02:00
Anna Bridge d5f034b637
Merge pull request #12319 from maciejbocianski/fix_userallocatedevent_imp
Fix userallocatedevent imp
2020-03-11 12:43:17 +00:00
Anna Bridge f6c6a9c4d6
Merge pull request #12601 from rajkan01/rtostimer_remove_deprecated
Remove RtosTimer deprecated class
2020-03-11 12:40:48 +00:00
Anna Bridge 33f3049286
Merge pull request #12233 from bulislaw/minimal_printf_default
Enable minimal-printf by default for all builds
2020-03-10 12:13:11 +00:00
Dustin Crossman 3f1afb8d91 Add CYSBSYSKIT_01 to qspi test flash configs. 2020-03-09 10:07:12 -07:00
Rajkumar Kanagaraj 8ae2ab404a Remove RtosTimer deprecated class and its APIs 2020-03-09 09:52:29 -07:00
Evelyne Donnaes 74884bb7a7 Fixed more greentea tests 2020-03-06 15:02:26 +00:00
David Lin 4a4c50fa4f
Fixed typo 'timout'
timout -> timeout
2020-03-06 22:04:12 +08:00
Martin Kojtal 22f3bc4ae7
Merge pull request #12436 from mprse/fpga_remove_gpio_pinmaps
Remove GPIO pin-maps used for FPGA testing
2020-03-04 13:24:05 +00:00
Rajkumar Kanagaraj df32091c7b Remove the deprecated RawSerial, UARTSerial, Serial class and SerialBase attach API 2020-03-03 05:19:42 -08:00
Martin Kojtal bad9c57085
Merge pull request #12460 from mprse/spi_init_nc_fix
Allow MISO/MOSI set to NC during SPI initialisation (fix for issue #12435)
2020-03-03 09:56:47 +00:00
Martin Kojtal e53b69bf58
Merge pull request #12548 from VeijoPesonen/fix_tests-integration-fs
tests-integration-net-single: fix build error
2020-03-03 09:54:22 +00:00
Evelyne Donnaes 5016fa1a10
Merge branch 'master' into minimal_printf_default 2020-03-02 17:31:37 +00:00
Evelyne Donnaes 0f2b0d1be5 Fixed greentea tests 2020-03-02 17:27:17 +00:00
Veijo Pesonen 9dbd5ed63a tests-integration-net-single: fix build error
Stops using deprecated TCPSocket constructors and string-based APIs.
2020-03-02 15:23:41 +02:00
Martin Kojtal 8ec2970f65 threads: fix timeout (set to 25s) 2020-03-02 12:15:54 +00:00
Martin Kojtal 555981e522
Merge pull request #12498 from jamesbeyond/usb_test
TEST: update usb tests and guard them with macro
2020-02-27 08:52:30 +00:00
Martin Kojtal 981691f95f
Merge pull request #12519 from mprse/sleepmanaget_test_fix
tests-mbed_hal-sleep_manager: fix counter wraparound handling
2020-02-27 08:50:39 +00:00
Martin Kojtal 67e950296d
Merge pull request #12385 from tymoteuszblochmobica/rot
DeviceKey Root of Trust generation refactored.
2020-02-26 16:59:24 +00:00
Przemyslaw Stekiel 42a9cc1e20 tests-mbed_hal-sleep_manager: fix counter wraparound handling
There is a mismatch while handling counter wraparound in `test_sleep_auto` test case.
In the test timestamps in ticks are first converted to us and then while counting the time difference wraparound is handled (us and ticks fields are mismatched). The ticker wraparound case must be handled in the field of ticks, and then the difference converted to us.
2020-02-26 14:05:46 +01:00
Praveen babu chandran 8b97e4c3ef Add WPA3 support for green tea tests 2020-02-25 10:14:30 -08:00
Qinghao Shi 1bf3590587 TEST: update licenses and add an empty line in the end 2020-02-25 16:26:21 +00:00
Martin Kojtal a3f8202cde
Merge pull request #12502 from DavidLin1577/patch-4
Fixed macro error
2020-02-25 09:52:29 +00:00
David Lin 7f1443de88
Fixed macro error in emac_util.cpp
Fixed macro spelling error:  INVALID_LENGHT-> INVALID_LENGHT
2020-02-24 23:43:07 +08:00
David Lin 5965985734
Fixed macro error in emac_util.h
INVALID_LENGHT -> INVALID_LENGTH
2020-02-24 23:33:30 +08:00
Przemyslaw Stekiel 2a9e32e4cb tests-mbed_hal_fpga_ci_test_shield-uart: fix include order 2020-02-24 14:57:10 +01:00
Przemyslaw Stekiel 6cd012d215 tests-mbed_hal-pinmap: Remove testing GPIO pinmaps (GPIO pinmaps are removed) 2020-02-24 14:57:09 +01:00
Qinghao Shi 70c5797a94 TEST: update usb test README 2020-02-24 12:25:38 +00:00
Martin Kojtal dc733d8883
Merge pull request #12477 from fkjagodzinski/hal-gpio-get_capabilities
HAL: Add a get_capabilities() function to GPIO API
2020-02-24 07:47:39 +00:00
Qinghao Shi d657fa178b TEST: Add USB_DEVICE_TESTS macro to guard usb test 2020-02-22 21:11:56 +00:00
Martin Kojtal 9cb8a12cc2 fix SPDX identifier typos 2020-02-21 07:01:55 +00:00
Martin Kojtal e20e7b8066 tests: fix SPDX identifiers 2020-02-21 07:01:01 +00:00
Martin Kojtal 6e64fe3800 test: fix SPDX identifier 2020-02-21 07:00:59 +00:00