mirror of https://github.com/ARMmbed/mbed-os.git
Use dedicated macros to skip test cases instead target macro.
parent
22acc795c9
commit
8fda5a453a
|
@ -338,7 +338,7 @@ Case cases[] = {
|
|||
Case("38400, 8N1, FC off", one_peripheral<UARTNoFCPort, DefaultFormFactor, fpga_uart_test_common_no_fc<38400, 8, ParityNone, 1, false> >),
|
||||
Case("115200, 8N1, FC off", one_peripheral<UARTNoFCPort, DefaultFormFactor, fpga_uart_test_common_no_fc<115200, 8, ParityNone, 1, false> >),
|
||||
// stop bits
|
||||
#if !defined(TARGET_NRF52840)
|
||||
#if !defined(UART_TWO_STOP_BITS_NOT_SUPPORTED)
|
||||
Case("9600, 8N2, FC off", one_peripheral<UARTNoFCPort, DefaultFormFactor, fpga_uart_test_common_no_fc<9600, 8, ParityNone, 2, false> >),
|
||||
#endif
|
||||
|
||||
|
@ -357,12 +357,12 @@ Case cases[] = {
|
|||
Case("115200, 8N1, FC on", one_peripheral<UARTPort, DefaultFormFactor, fpga_uart_test_common<115200, 8, ParityNone, 1, false> >),
|
||||
// data bits: not tested (some platforms support 8 bits only)
|
||||
// parity
|
||||
#if !defined(TARGET_NRF52840)
|
||||
#if !defined(UART_ODD_PARITY_NOT_SUPPORTED)
|
||||
Case("9600, 8O1, FC on", one_peripheral<UARTPort, DefaultFormFactor, fpga_uart_test_common<9600, 8, ParityOdd, 1, false> >),
|
||||
#endif
|
||||
Case("9600, 8E1, FC on", one_peripheral<UARTPort, DefaultFormFactor, fpga_uart_test_common<9600, 8, ParityEven, 1, false> >),
|
||||
// stop bits
|
||||
#if !defined(TARGET_NRF52840)
|
||||
#if !defined(UART_TWO_STOP_BITS_NOT_SUPPORTED)
|
||||
Case("9600, 8N2, FC on", one_peripheral<UARTPort, DefaultFormFactor, fpga_uart_test_common<9600, 8, ParityNone, 2, false> >),
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -11097,7 +11097,9 @@
|
|||
"WSF_MAX_HANDLERS=10",
|
||||
"MBED_MPU_CUSTOM",
|
||||
"SWI_DISABLE0",
|
||||
"NRF52_PAN_20"
|
||||
"NRF52_PAN_20",
|
||||
"UART_TWO_STOP_BITS_NOT_SUPPORTED",
|
||||
"UART_ODD_PARITY_NOT_SUPPORTED"
|
||||
],
|
||||
"features": [
|
||||
"CRYPTOCELL310",
|
||||
|
|
Loading…
Reference in New Issue