1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/periph_spi
Gerson Fernando Budke 4a9f0efb6d boards: introduce atmega328p-xplained-mini
Add ATmega328P Xplained Mini board.  The board is an official
development kit from MCHP based on the Arduino UNO, reduced
hardware, with a xplainedmini debugger and CDC ACM serial
converter.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-03-27 14:10:19 -03:00
..
app.config.test tests/periph_*: add Kconfig configuration files 2020-11-06 15:58:00 +01:00
Kconfig tests/periph_*: add Kconfig configuration files 2020-11-06 15:58:00 +01:00
main.c tests/periph_spi: compact help messages a bit to shave off some bytes 2021-02-25 12:41:04 +01:00
Makefile tests/periph_spi: enable test for SPI on QSPI 2020-12-12 18:36:16 +01:00
Makefile.ci boards: introduce atmega328p-xplained-mini 2021-03-27 14:10:19 -03:00
README.md tests/periph_spi: Expose default SPI CS pins 2020-05-20 10:44:57 +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