Skip to content

Commit 6e31c14

Browse files
committed
Fix fpga test function names
1 parent b8a8c98 commit 6e31c14

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

TESTS/mbed_hal_fpga_ci_test_shield/gpio/main.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,14 +225,14 @@ void fpga_test_explicit_output(PinName pin)
225225
}
226226

227227
Case cases[] = {
228-
Case("generic init, input & output", all_ports<GPIOPort, DefaultFormFactor, test_basic_input_output>),
228+
Case("generic init, input & output", all_ports<GPIOPort, DefaultFormFactor, fpga_test_basic_input_output>),
229229
// Some targets don't support input pull mode.
230230
#if !defined(TARGET_NANO100) && \
231231
!defined(TARGET_NUC472) && \
232232
!defined(TARGET_M451)
233-
Case("explicit init, input", all_ports<GPIOPort, DefaultFormFactor, test_explicit_input>),
233+
Case("explicit init, input", all_ports<GPIOPort, DefaultFormFactor, fpga_test_explicit_input>),
234234
#endif
235-
Case("explicit init, output", all_ports<GPIOPort, DefaultFormFactor, test_explicit_output>),
235+
Case("explicit init, output", all_ports<GPIOPort, DefaultFormFactor, fpga_test_explicit_output>),
236236
};
237237

238238
utest::v1::status_t greentea_test_setup(const size_t number_of_cases)

TESTS/mbed_hal_fpga_ci_test_shield/spi/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ Case cases[] = {
179179
Case("SPI - mode testing (MODE_2)", one_peripheral<SPIPort, DefaultFormFactor, fpga_spi_test_common<SPITester::Mode2, 8, TRANSFER_SPI_MASTER_WRITE_SYNC, FREQ_1_MHZ> >),
180180
Case("SPI - mode testing (MODE_3)", one_peripheral<SPIPort, DefaultFormFactor, fpga_spi_test_common<SPITester::Mode3, 8, TRANSFER_SPI_MASTER_WRITE_SYNC, FREQ_1_MHZ> >),
181181

182-
Case("SPI - symbol size testing (16)", one_peripheral<SPIPort, DefaultFormFactor, spi_test_common<SPITester::Mode0, 16, TRANSFER_SPI_MASTER_WRITE_SYNC, FREQ_1_MHZ> >),
182+
Case("SPI - symbol size testing (16)", one_peripheral<SPIPort, DefaultFormFactor, fpga_spi_test_common<SPITester::Mode0, 16, TRANSFER_SPI_MASTER_WRITE_SYNC, FREQ_1_MHZ> >),
183183

184184
Case("SPI - frequency testing (500 kHz)", one_peripheral<SPIPort, DefaultFormFactor, fpga_spi_test_common<SPITester::Mode0, 8, TRANSFER_SPI_MASTER_WRITE_SYNC, FREQ_500_KHZ> >),
185185
Case("SPI - frequency testing (2 MHz)", one_peripheral<SPIPort, DefaultFormFactor, fpga_spi_test_common<SPITester::Mode0, 8, TRANSFER_SPI_MASTER_WRITE_SYNC, FREQ_2_MHZ> >),

TESTS/mbed_hal_fpga_ci_test_shield/uart/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ static void test_irq_handler(uint32_t id, SerialIrq event)
8181
}
8282
}
8383

84-
static void uart_test_common(int baudrate, int data_bits, SerialParity parity, int stop_bits, PinName tx, PinName rx, PinName cts = NC, PinName rts = NC)
84+
static void uart_test_common(int baudrate, int data_bits, SerialParity parity, int stop_bits, PinName tx, PinName rx, PinName cts, PinName rts)
8585
{
8686
// The FPGA CI shield only supports None, Odd & Even.
8787
// Forced parity is not supported on Atmel, Freescale, Nordic & STM targets.
@@ -273,7 +273,7 @@ static void uart_test_common(int baudrate, int data_bits, SerialParity parity, i
273273
tester.reset();
274274
}
275275

276-
void fpga_uart_init_free_test(PinName tx, PinName rx, PinName cts = NC, PinName rts = NC)
276+
void fpga_uart_init_free_test(PinName tx, PinName rx, PinName cts, PinName rts)
277277
{
278278
bool use_flow_control = (cts != NC && rts != NC) ? true : false;
279279
serial_t serial;

0 commit comments

Comments
 (0)