mbed-os/drivers
Robert Walton 40154ee2b1 CMake: greentea: Port mbed-drivers-ticker to CTest
Call add_test in mbed_greentea_add_test and specify mbedhtrun as the
command to run.

An MBED_HTRUN_ARGUMENTS variable has been added, which is a semicolon
separated list of arguments to forward to htrun. The user is required to
pass in any arguments mbedhtrun needs to communicate with the device
under test at CMake configuration time.

We automate passing some of the htrun arguments in CMake using data
provided by mbed_config.cmake or gathered from the CMake environment.
The following arguments are passed to htrun from CMake:

* -f/--image-path
* -e/--enum-host-tests
* -m/--micro
* -R/--reset-timeout

--baud-rate is also passed if the MBED_CONF_PLATFORM_STDIO_BAUD_RATE
config parameter is defined.

Temporary checks have been added to mbed_greentea_add_test to keep the
old flow working until we port all of the greentea tests to CTest. These
checks should be removed after we make all greentea tests runnable by
CTest.
2021-08-10 16:54:03 +01:00
..
device_key Fix DeviceKey documentation regarding RoT 2021-04-15 12:15:50 +01:00
docs/serial Replace USBTX/RX 2021-03-24 15:00:53 +00:00
include/drivers Merge pull request #14805 from rkotan/I2C_Multiple_Buses_fix 2021-07-20 09:44:59 +02:00
source Resolved review comments 2021-07-03 13:22:25 +05:30
tests CMake: greentea: Port mbed-drivers-ticker to CTest 2021-08-10 16:54:03 +01:00
usb fix(docs): corrects various typos in project documentation 2021-04-23 23:31:11 -05:00
CMakeLists.txt CMake: greentea: Port mbed-drivers-ticker to CTest 2021-08-10 16:54:03 +01:00
LICENSE-mit.txt drivers: add license information 2019-04-16 11:29:14 +01:00
LICENSE.md license: fix files list 2019-04-16 11:43:14 +01:00
mbed_lib.json add opsi driver 2020-09-16 11:27:23 +08:00