Commit Graph

1827 Commits (dc6e9db0674e34c476acc4a0c5d61f7c6181ac99)

Author SHA1 Message Date
Marcelo Salazar 92cbd9a734 Rename ADV_WISE_1570 target 2020-04-30 09:56:35 +01:00
MarceloSalazar a58de82a7f Remove KL82Z target 2020-04-30 09:56:33 +01:00
MarceloSalazar 51c2484c06 Remove LPC1769 target 2020-04-30 09:56:32 +01:00
MarceloSalazar 5dcfe57c41 Remove LPC4088 based targets 2020-04-30 09:56:32 +01:00
Martin Kojtal a9cb876b39
Merge pull request #12737 from Patater/psa-breaking-changes
Remove PSA implementation for v8-M and dual CPU targets
2020-04-30 10:42:24 +02:00
Filip Jagodzinski 9066e67eff Tests: USBSerial: Handle minimal printf limitations
In a line coding test, host changes the line coding based on data received
from DUT via the USBSerial::printf(). A fixed-size payload, equal to
LINE_CODING_STRLEN, is required by the host side. When the minimal printf is
used, fixed-width messages can not be easily generated on the fly. Zero-fill
or width specifiers are not supported by the minimal printf.

Update the host side to stop reading on a defined payload delimiter and
allow variable-width messages.
2020-04-28 18:07:51 +02:00
Lingkai Dong 81e676b86b RTOS: use default boot-stack-size for nRF as SoftDevice is no longer used
Previously we overrode nRF targets to have a larger stack
due to memory required by SoftDevice. Having deprecated SoftDevice
in favour of Cordio for BLE (#12674), such requirement does not
apply anymore.
2020-04-27 17:22:49 +01:00
Jaeden Amero fcf427ac11 psa: Remove S-mode only code
Remove all PSA S-mode only code, as it is unused. Only PSA S targets
would use the code, and we've removed those targets in a previous
commit.

Ensure all tests for S-mode code we are deleting is also removed, even
if that code would run in NS-mode. Keep any tests that also test our PSA
emulation support (for single v7-M targets).

Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-04-27 09:51:13 +01:00
Kevin Bracey 8e3e19837a More Chrono test fixes
* Timer test - handle removal of Timer(ticker_data_t *)
* Timer test - use Chrono, don't test deprecated methods
* Kernel tick count test - TEST_ASSERT_WITHIN -> TEST_ASSERT_INT_WITHIN
* Mutex test - fix up Chrono changes
* SysTimer test - adapt to SysTimer Chrono changes
* Thread test - use Chrono
* SysTimer - devirtualize destructor
2020-04-27 10:19:08 +03:00
Kevin Bracey e5e45d83e7 Chrono test fixes
* Remove ambiguity in single-parameter Queue::put and get
* Fix type problems in RTC test - add missing include
* Don't attempt to use TimerEvent default constructor
* Remove references to Timer::read_duration
2020-04-27 10:19:08 +03:00
Kevin Bracey 5601a207cc Fix and update tests to use Chronos APIs 2020-04-27 10:19:08 +03:00
Kevin Bracey f0ee31f119 Add RealTimeClock 2020-04-27 10:19:08 +03:00
Kevin Bracey b6a7a0896e Streamline crash data access
Use correctly-typed external definition for the crash data region, and
eliminate unnecessary pointer indirection.

Results in a small ROM saving even with crash capture disabled, as there
was a pointer for the fault context store in either case. The pointer
isn't needed, as the context store location is fixed according to the
configuration flag.
2020-04-24 10:59:13 +03:00
Rajkumar Kanagaraj 784369a3de Bare metal: Enable signals greentea test 2020-04-23 12:38:02 +01:00
Martin Kojtal 5e765487c4
Merge pull request #12833 from evedon/ed-baremetal-json
Override c_lib to small for all targets
2020-04-22 11:15:08 +02:00
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
Filip Jagodzinski ce65a80f82 Tests: GPIO: Use the get_capabilities()
Make use of the gpio_get_capabilities() function to skip unsupported
input pull modes when testing with the FPGA-CI-test-shield.
2020-02-19 18:35:19 +01:00
Przemyslaw Stekiel 6d0a9015cc SPI FPGA test: Test all possible pin configurations to init SPI 2020-02-19 11:46:44 +01:00
Tymoteusz Bloch 0e7a53cdb1 DeviceKey Root of Trust generation refactored.
It's no longer automatically and silently created.
2020-02-18 16:32:20 +01:00
Martin Kojtal a8188bfd4d
Merge pull request #12166 from hugueskamba/hk-baremetal-NRF52840_DK-fix
NRF52840_DK: Fix baremetal linker error
2020-02-14 08:21:27 +00:00
Martin Kojtal ba2a1bc120
Merge pull request #12403 from OpenNuvoton/nuvoton_fpga-ci_i2c
FPGA: Enlarge timeout with mbed_hal_fpga_ci_test_shield-i2c
2020-02-13 09:22:42 +00:00
Martin Kojtal f502b4166e
Merge pull request #12378 from jamesbeyond/test_update
TEST: Refactor mbedmicro tests to use utest framework
2020-02-13 08:16:13 +00:00
Maciej Bocianski 83a07836e4 queue test update
- extend mixed test with periodic events
- improve static event queue test
2020-02-12 14:41:35 +01:00
Maciej Bocianski 784393a919 equeue tests update
- test periodic user allocated events
- test user allocated events re-posting
- test unnecessary cancels of user allocated events
2020-02-12 14:41:17 +01:00
Hugues Kamba 65fbee1d33 NRF52840_DK: Fix baremetal linker error
Compile in the inclusion of cryptocell310 only if the library is included
in the build
2020-02-10 15:18:46 +00:00
Martin Kojtal a8e87236de
Merge pull request #12368 from mprse/NRF_Serial_Fpga_fix
Fix NRF52840_DK UART driver and adapt FPGA test
2020-02-10 14:26:31 +00:00
Martin Kojtal deb4995dae
Merge pull request #12150 from Patater/update-tls-crypto-20191220
Update Mbed TLS and Mbed Crypto to latest as of 2019-12-20
2020-02-10 13:04:12 +00:00
Chun-Chieh Li 68f9196b44 FPGA: Enlarge timeout with mbed_hal_fpga_ci_test_shield-i2c
Meet timeout error on some slow target. Enlarge the timeout configuration.
2020-02-10 17:39:54 +08:00
Przemyslaw Stekiel 8fda5a453a Use dedicated macros to skip test cases instead target macro. 2020-02-06 12:53:41 +01:00
Qinghao Shi 4bd91ce890 TEST: update license 2020-02-06 10:54:29 +00:00
Qinghao Shi c37df2efca TEST: Refactor mbedmicro tests to use utest framework 2020-02-06 10:05:04 +00:00
Martin Kojtal e3ad1cae55
Merge pull request #12334 from AriParkkila/cell-c030-r412m
Update cellular drivers/tests for UBLOX_C030_R412M
2020-02-05 12:50:11 +00:00
Przemyslaw Stekiel 22acc795c9 fpga_ci_test_shield-uart: Disable test cases not supported on NRF52840_DK target
According to the documentation, `NRF52840_DK` does not support odd parity and 2 stop bits. Skip these test case using #if !defined(TARGET_NRF52840) directive.
This is temporary solution. In the future we shell consider adding `uart_get_capabilities()` function.
-
2020-02-05 08:47:10 +01:00
Martin Kojtal 5165559a2c
Merge pull request #12142 from kjbracey-arm/thread_rm510
Thread: remove methods deprecated in 5.10
2020-02-03 15:09:34 +00:00
Martin Kojtal f7c58221be
Merge pull request #12333 from tymoteuszblochmobica/udpfix
UDP echotests  fix  in case of no memory or device busy.
2020-02-03 12:35:58 +00:00
Kevin Bracey 268096dd79
Merge pull request #12296 from jeromecoutant/PR_FPGA_FORCE
FPGA_CI_TEST_SHIELD : force all peripheral to be tested
2020-01-31 15:00:20 +02:00
Kevin Bracey ba5dd4d8c1
Merge pull request #12153 from mprse/spi_fpga_test_extend
Hackathon: Increase coverage of the SPI master FPGA test
2020-01-31 15:00:02 +02:00
Kevin Bracey e01aeccc55
Merge pull request #12308 from michalpasztamobica/multihoming_tests_trace_header
Tests: add missing mbed_trace.h multihoming header
2020-01-31 14:59:35 +02:00
Tymoteusz Bloch a185d6c277 UDP echotests hold in case of no memory or device busy status.
This  gives possibility of freeing memory and mesh device recover from busy state.
2020-01-30 15:26:52 +01:00
Ari Parkkila 4da93bf979 Add UBLOX_C030_R412M in CellularInterface.json 2020-01-30 04:30:54 -08:00
jeromecoutant 84b48410f0 STM32: enable QSPI test with MX25LM51245G octo SPI 2020-01-29 16:18:38 +01:00
Ari Parkkila cd6d9e6e8c Enable SYNCHRONOUS_DNS_CACHE just for NSAPI_PPP_AVAILABLE 2020-01-29 03:19:21 -08:00
Ari Parkkila 72281a57b3 Fix UDPSOCKET_ECHOTEST to handle oversized packets 2020-01-29 03:06:55 -08:00
Przemyslaw Stekiel 4b6c844be9 Extend FPGA-Test-Shield SPI master test
Increase coverage of the SPI master FPGA test:
 - check supported frequencies (based on the device capabilities),
 - add support for manual CS handling and test cases,
 - add test cases for rx/tx buffers with different length (based on the device capabilities),
 - add test case for one symbol transmission,
 - add test cases for different symbol sizes (based on the device capabilities).
2020-01-29 08:23:49 +01:00
Tymoteusz Bloch 17c5f3ecd7 Greentea DNS tests workaround due to NSAPI DNS bug/deadlock with Nanostack.
Tests sequence swaped:
ASYNCHRONOUS_DNS_TIMEOUTS
ASYNCHRONOUS_DNS_INVALID_HOST
This is temporary solution to prevent Jenkins fail until root cause will be fixed.
2020-01-24 13:26:29 +01:00
Michal Paszta 39fd30e46f Tests: add missing mbed_trace.h multihoming header 2020-01-24 09:21:07 +02:00
Anna Bridge ee1d998d43
Merge pull request #12278 from rajkan01/feature_rename_default_lib
Rename "default_lib" to "c_lib".
2020-01-21 16:39:11 +00:00
Anna Bridge 40a0b28068
Merge pull request #12225 from evedon/ed-heap-stack-test
Fix baremetal heap and stack initialisation
2020-01-21 16:27:37 +00:00
jeromecoutant 0a1875924b FPGA_CI_TEST_SHIELD : force all peripheral to be tested 2020-01-21 17:17:55 +01:00
Anna Bridge 80fe861f1d
Merge pull request #12035 from kjbracey-arm/callback_prep
Preparation for Callback changes
2020-01-21 11:50:43 +00:00
Evelyne Donnaes 3e3af70afc Fixed baremetal heap and stack initialisation.
Enabled heap_and_stack test for baremetal.
Added a test to check that global variables are initialised.

In mbed_sdk_boot:
- Added initialisation for mbed_stack_isr_start/size and mbed_heap_start/size for all toolchains.
- ARM toolchain:
   - Added call to mbed_toolchain_init() to initialise global variables.
   - Moved microlib initialisation code from mbed_retarget.cpp to mbed_sdk_boot.c.
- IAR toolchain: there is no equivalent to a software init hook that can be called. __low_level_init() was used but since this function is called before RAM initialisation, it cannot be used to initialize global variables. Defined a new __mbed_init() function called from IAR startup file instead.
2020-01-21 10:13:16 +00:00