mirror of https://github.com/ARMmbed/mbed-os.git
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.pull/10820/head
parent
261e67b687
commit
852456006b
|
@ -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<AnaloginPort, DefaultFormFactor, analogin_init>),
|
||||
#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<AnaloginPort, DefaultFormFactor, analogin_full_test>),
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue