From b4bddf67edfde706a019893a54be7b24926d783b Mon Sep 17 00:00:00 2001 From: Maciej Bocianski Date: Thu, 24 Oct 2019 11:41:11 +0200 Subject: [PATCH] fpga i2c test: limit tested peripherals Due to lack of i2c_free function switching between peripherals cause i2c tests failures on some targets. For now limit testing to single peripheral. --- TESTS/mbed_hal_fpga_ci_test_shield/i2c/main.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/TESTS/mbed_hal_fpga_ci_test_shield/i2c/main.cpp b/TESTS/mbed_hal_fpga_ci_test_shield/i2c/main.cpp index 7259f805bd..7f1999ac7e 100644 --- a/TESTS/mbed_hal_fpga_ci_test_shield/i2c/main.cpp +++ b/TESTS/mbed_hal_fpga_ci_test_shield/i2c/main.cpp @@ -437,11 +437,11 @@ void i2c_test_byte_read(PinName sda, PinName scl) } Case cases[] = { - Case("i2c - init/free test all pins", all_ports), - Case("i2c - test write i2c API", all_peripherals), - Case("i2c - test read i2c API", all_peripherals), - Case("i2c - test single byte write i2c API", all_peripherals), - Case("i2c - test single byte read i2c API", all_peripherals) + Case("i2c - init/free test all pins", one_peripheral), + Case("i2c - test write i2c API", one_peripheral), + Case("i2c - test read i2c API", one_peripheral), + Case("i2c - test single byte write i2c API", one_peripheral), + Case("i2c - test single byte read i2c API", one_peripheral) }; utest::v1::status_t greentea_test_setup(const size_t number_of_cases)