Martin Kojtal
62c2431344
Merge pull request #12824 from kjbracey-arm/faultasm
...
Optimise fault handler assembly
2020-06-18 09:43:00 +02:00
Martin Kojtal
698fc09b4c
Merge pull request #12615 from jeromecoutant/PR_FPGA_UART
...
FPGA UART test cases addition with 7 and 9 bits data length
2020-06-10 13:51:18 +02:00
Martin Kojtal
867cd0f0b6
Merge pull request #13016 from jeromecoutant/PR_RTCTEST
...
tests-mbed_hal-rtc patch to match IAR compilation issue
2020-06-05 15:52:08 +02:00
Martin Kojtal
8ff3c95b2d
Merge pull request #13030 from kjbracey-arm/thisthreadgetname
...
Fix ThisThread::get_name definition
2020-06-05 10:39:34 +02:00
Martin Kojtal
ab439624ed
Merge pull request #12979 from LDong-Arm/stack_size_expectation_from_config
...
stack_size_unification test: set expected stack sizes from config
2020-06-04 14:39:08 +02:00
Darryl Green
e5f8dd8798
Move import to after TARGET_PSA define check
...
Signed-off-by: Darryl Green <darryl.green@arm.com>
2020-05-29 13:19:12 +01:00
Jaeden Amero
b44a263729
psa: Put Mbed PSA implementation into MBED_PSA_SRV
...
Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-05-29 13:19:11 +01:00
Kevin Bracey
922b656d39
Fix ThisThread::get_name definition
2020-05-29 11:46:58 +03:00
jeromecoutant
ccfb099255
tests-mbed_hal-rtc patch to match IAR compilation issue
2020-05-26 10:26:45 +02:00
jeromecoutant
1a64d6e525
FPGA UART test: disable 7 bits test for K64F
2020-05-18 11:48:27 +02:00
jeromecoutant
64f9a7a8ba
FPGA UART test: disable 9 bits test for K64F
2020-05-18 11:48:26 +02:00
jeromecoutant
ba94adbf65
FPGA test: Add ReadMe file
2020-05-18 11:48:26 +02:00
jeromecoutant
6900ec69dd
FPGA test shield: UART test capability update
2020-05-18 11:48:25 +02:00
jeromecoutant
864c96efd4
FGGA UART test: add test cases with 7 and 9 bits data length
2020-05-18 11:47:31 +02:00
Lingkai Dong
4ecd99f6a4
stack_size_unification test: set expected stack sizes from config
2020-05-15 14:42:27 +01:00
Martin Kojtal
6cbe22dc59
Merge pull request #12623 from toyowata/baremetal_lpc1114
...
LPC1114: baremetal profile support
2020-05-15 13:17:52 +02:00
Anna Bridge
90a8fef7d0
Merge pull request #12942 from kjbracey-arm/chrono-timeout-test
...
Add Timeout rescheduling test
2020-05-15 11:13:25 +01:00
Martin Kojtal
37ee008b90
Merge pull request #12961 from MarceloSalazar/remove_nrf51
...
Remove nRF51 targets
2020-05-15 08:08:26 +02:00
Martin Kojtal
595754dffa
Merge pull request #12917 from rajkan01/usb_serial_greentea
...
Bare metal profile: Enable USB serial greentea test
2020-05-14 10:49:39 +02:00
Rajkumar Kanagaraj
15dd18a058
Incorporated the review comment
2020-05-13 16:47:35 +01:00
Rajkumar Kanagaraj
3ee6d8993b
Incorporated the review comment
2020-05-13 14:11:36 +01:00
Marcelo Salazar
ccd95f1e14
Remove nRF51 targets
...
The following public nRF51 targets are being removed:
- NRF51822
- NRF51_DK
- NRF51_MICROBIT
2020-05-13 10:36:50 +01:00
Martin Kojtal
0b4b2afaf4
Merge pull request #12901 from kjbracey-arm/mailchrono
...
Rationalise Mail/Queue/MemoryPool timing APIs
2020-05-12 17:10:43 +02:00
Martin Kojtal
15ade20b4d
Merge pull request #12909 from kyle-cypress/pr/cypress-misc-fixes
...
Cypress: Misc target updates
2020-05-12 14:27:34 +02:00
Kevin Bracey
181446331e
Rationalise Queue/Mail get/put APIs
...
To line up with MemoryPool/Mail alloc, rework naming of get/put
Queue::get -> try_get, try_get_for
Queue::put -> try_put, try_put_for
Mail::get -> try_get, try_get_for
Mail::put (no change, but assert that it works)
In the future the names `get` and `put` can be used for untimed blocking
operations. In the interim, you have to use
`try_get_for(Kernel::wait_for_u32_forever)`.
`Mail::put` differs in that it has always been a non-blocking call, but
it can be assumed to always succeed when used correctly, because the
Queue has enough room to store a pointer to every block in the
MemoryPool. It could in future be made a `void` return, similar to the
change made to `Mutex::lock`.
2020-05-12 15:17:01 +03:00
Kevin Bracey
166ada084e
Rationalise MemoryPool/Mail alloc APIs
...
alloc APIs were generally inconsistent - take the opportunity to align with
other APIs like Semaphore.
alloc -> try_alloc
alloc_for -> try_alloc_for
alloc_until -> try_alloc_until
In future the name `alloc` can be used for an untimed blocking
allocation.
2020-05-12 15:17:01 +03:00
Rajkumar Kanagaraj
2feb1124f8
Call non-blocking USB send_nb instead of blocking send from ticker callback
2020-05-12 13:16:47 +01:00
Rajkumar Kanagaraj
beacd629d1
Bare metal profile: Enable USB serial greentea test
2020-05-12 13:16:47 +01:00
Martin Kojtal
44b98761e0
Merge pull request #12944 from rajkan01/usb_msd_greentea_py3
...
Fix the USB MSD greentea host side pyusb_msd.py script
2020-05-12 14:06:27 +02:00
Martin Kojtal
631e81e07e
Merge pull request #12916 from rajkan01/usb_basic_hid_greentea
...
USB basic and hid greentea test cleanup and enable to the bare metal profile
2020-05-12 14:06:07 +02:00
Martin Kojtal
5f76dfe896
Merge pull request #12805 from fkjagodzinski/test_update-usb_serial-minimal_printf
...
Tests: USBSerial: Handle minimal printf limitations
2020-05-12 14:05:51 +02:00
toyowata
5a57670121
[TESTS] Add memory check for RAM constraint device
2020-05-12 10:07:34 +09:00
Rajkumar Kanagaraj
61c70e0fdc
Cleanup
...
- Remove the partially implemented VENDOR_TEST_CTRL_NONE USB control request type.
- Remove the USB control request type VENDOR_TEST_CTRL_IN_DELAY, VENDOR_TEST_CTRL_OUT_DELAY, VENDOR_TEST_CTRL_IN_STATUS_DELAY, VENDOR_TEST_CTRL_OUT_STATUS_DELAY macros as did not have any test.
2020-05-11 20:55:15 +01:00
Rajkumar Kanagaraj
f7f0681c7b
USB hid and basic test
...
- Enable the USB hid and basic test for bare metal profile.
- Remove the partially (The green tea test host side implementation is missing on pyusb_basic.py ) implemented USB control transfer VENDOR_TEST_CTRL_NONE_DELAY request type test case as it is becoming obsolete.
- Remove high priority event queue which is used by that request type test case.
2020-05-11 11:48:23 +01:00
Rajkumar Kanagaraj
b6fa3cb072
Fix the USB MSD greentea host side pyusb_msd.py script
2020-05-07 18:37:43 +01:00
Kevin Bracey
8a5f58bf55
Convert Timeout test to Chrono
...
Now tests only the Chrono `attach(duration)` method, not the deprecated
`attach` and `attach_us` calls.
2020-05-07 17:41:06 +03:00
Kevin Bracey
25fad5d2a3
Add Timeout rescheduling test
...
The `Timeout` drift test uses rescheduling inside a callback, but it is
currently disabled due to lack of stability. Rescheduling using relative
timeouts inside the callback is a bad technique as it leads to drift, so
I understand the test being disabled. It is better to use `Ticker` for a
periodic callback or to use `Timeout::attach_absolute`.
Add a simpler test that just ensures the callback is called repeatedly -
this test would detect issue #12940 , and should not have stability
problems.
2020-05-07 17:41:06 +03:00
Marcelo Salazar
4083469d09
Remove Ublox targets
2020-05-06 16:39:29 +01:00
Marcelo Salazar
570df49abd
Rename ADV_WISE_1510 target
2020-05-06 16:03:07 +01:00
Veijo Pesonen
b81f069df9
baremetal: include littlefsv2
2020-05-05 14:24:44 +03:00
Kyle Kearney
d058586c48
Remove CYW943012P6EVB_01 target
2020-04-30 11:12:00 -07:00
Martin Kojtal
af4c8a94f3
Merge pull request #12757 from dgreen-arm/test-remerge
...
Update Mbed OS with Mbed Crypto merged into Mbed TLS
2020-04-30 16:06:32 +02:00
Martin Kojtal
08a09200a6
Merge pull request #12864 from MarceloSalazar/platform_cleanup3
...
Remove unsupported targets
2020-04-30 14:56:36 +02:00
Darryl Green
7fbc143b05
Fix assertation ordering in tests
...
Signed-off-by: Darryl Green <darryl.green@arm.com>
2020-04-30 11:28:29 +01:00
Darryl Green
0d16ca4d8a
Remove references to mbed-crypto
...
Signed-off-by: Darryl Green <darryl.green@arm.com>
2020-04-30 11:28:20 +01:00
Darryl Green
d64c9e53c8
Move Mbed Crypto Greentea tests to Mbed TLS
...
Signed-off-by: Darryl Green <darryl.green@arm.com>
2020-04-30 11:28:15 +01:00
Darryl Green
53260ebd77
Use updated ECC curve macros
...
Signed-off-by: Darryl Green <darryl.green@arm.com>
2020-04-30 11:28:10 +01:00
Martin Kojtal
d1ae0d570c
Merge pull request #12425 from kjbracey-arm/chrono
...
C++ Chrono support
2020-04-30 11:41:43 +02:00
Marcelo Salazar
81a92e3cb5
Re-enable K82F target
2020-04-30 09:56:37 +01:00
Marcelo Salazar
92cbd9a734
Rename ADV_WISE_1570 target
2020-04-30 09:56:35 +01:00