From 852456006b862288c56bf5ba48068f54e6a032d0 Mon Sep 17 00:00:00 2001 From: Przemyslaw Stekiel Date: Wed, 3 Jul 2019 10:26:12 +0200 Subject: [PATCH] FPGA Analogin test: Remove usage of FULL_TEST_SHIELD symbol, increase tolerance Keep "AnalogIn - full test" disabled due to hardware issue in the first rev of FPGA Test Shield. --- TESTS/mbed_hal_fpga_ci_test_shield/analogin/main.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/TESTS/mbed_hal_fpga_ci_test_shield/analogin/main.cpp b/TESTS/mbed_hal_fpga_ci_test_shield/analogin/main.cpp index 1016c045c3..fa4b94ba89 100644 --- a/TESTS/mbed_hal_fpga_ci_test_shield/analogin/main.cpp +++ b/TESTS/mbed_hal_fpga_ci_test_shield/analogin/main.cpp @@ -34,8 +34,8 @@ using namespace utest::v1; #define analogin_debug_printf(...) -#define DELTA_FLOAT 0.01f // 1% -#define DELTA_U16 655 // 1% +#define DELTA_FLOAT 0.03f // 3% +#define DELTA_U16 1965 // 3% const PinList *form_factor = pinmap_ff_default_pins(); const PinList *restricted = pinmap_restricted_pins(); @@ -142,7 +142,8 @@ void analogin_full_test(PinName pin) Case cases[] = { // This will be run for all pins Case("AnalogIn - init test", all_ports), -#if defined(FULL_TEST_SHIELD) + // This test case is disabled for now due to hardware issue in the first rev of FPGA Test Shield +#if 0 Case("AnalogIn - full test", all_ports), #endif