test: add an SPI dual board test for master FD DMA single directions test

This commit is contained in:
Armando
2021-07-01 09:32:25 +08:00
committed by Armando (Dou Yiwen)
parent fd6173b9b7
commit 9063a7b7e3
5 changed files with 200 additions and 9 deletions
@@ -293,4 +293,8 @@ void spitest_gpio_input_sel(uint32_t gpio_num, int func, uint32_t signal_idx);
//then the cs_num of the 1st and 2nd devices are 0 and 1 respectively.
void same_pin_func_sel(spi_bus_config_t bus, spi_device_interface_config_t dev, uint8_t cs_num);
/**
* This function is used to get tx_buffer used in dual-board test
*/
void get_tx_buffer(uint32_t seed, uint8_t *master_send_buf, uint8_t *slave_send_buf, int send_buf_size);
#endif //_TEST_COMMON_SPI_H_