1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/periph/spi
Marian Buschsieweke b90f985d47
tests/periph/spi: allow use on more boards
- Disable the benchmark on low memory boards
- Reduce the help message length on low memory boards
- Update to new shell command interface using XFA
2023-11-30 11:10:04 +01:00
..
app.config.test tests/periph/spi: allow use on more boards 2023-11-30 11:10:04 +01:00
Kconfig tests/periph/spi: allow use on more boards 2023-11-30 11:10:04 +01:00
main.c tests/periph/spi: allow use on more boards 2023-11-30 11:10:04 +01:00
Makefile tests/periph/spi: allow use on more boards 2023-11-30 11:10:04 +01:00
Makefile.ci tests/periph/spi: allow use on more boards 2023-11-30 11:10:04 +01:00
README.md tests: move periph_ applications to periphs subdirectory 2023-05-06 15:29:51 +02:00

Expected result

You should be presented with the RIOT shell, providing you with commands to initialize a board as master or slave, and to send and receive data via SPI.

Background

Test for the low-level SPI driver.

Default SPI CS pin

To overwrite the optional default cs pin CFLAGS can be used:

CFLAGS="-DDEFAULT_SPI_CS_PORT=<my_port_int> -DDEFAULT_SPI_CS_PIN=<my_pin_int>" BOARD=<my_board> make flash term