mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Merge pull request #1809 from LudwigOrtmann/Makefile.features-SPI
make: periph_spi feature
This commit is contained in:
commit
e06604a6f8
@ -1 +1 @@
|
||||
FEATURES_PROVIDED = periph_gpio
|
||||
FEATURES_PROVIDED = periph_gpio periph_spi
|
||||
|
@ -1 +1 @@
|
||||
FEATURES_PROVIDED = transceiver periph_gpio
|
||||
FEATURES_PROVIDED = transceiver periph_gpio periph_spi
|
||||
|
@ -1 +1 @@
|
||||
FEATURES_PROVIDED = periph_gpio
|
||||
FEATURES_PROVIDED = periph_gpio periph_spi
|
||||
|
@ -1 +1 @@
|
||||
FEATURES_PROVIDED = periph_gpio
|
||||
FEATURES_PROVIDED = periph_gpio periph_spi
|
||||
|
@ -1,9 +1,7 @@
|
||||
export APPLICATION = periph_spi
|
||||
include ../Makefile.tests_common
|
||||
|
||||
BOARD_BLACKLIST := chronos mbed_lpc1768 msb-430 msb-430h native qemu-i386 redbee-econotag telosb \
|
||||
wsn430-v1_3b wsn430-v1_4 z1
|
||||
# all listed boards: no periph_conf.h defined,
|
||||
FEATURES_REQUIRED = periph_spi
|
||||
|
||||
USEMODULE += shell
|
||||
USEMODULE += shell_commands
|
||||
|
@ -29,9 +29,6 @@
|
||||
#include "periph/spi.h"
|
||||
#include "periph/gpio.h"
|
||||
|
||||
/* only compile this test if at least one SPI device is defined */
|
||||
#if SPI_NUMOF
|
||||
|
||||
#define SHELL_BUFSIZE (128U)
|
||||
|
||||
enum {
|
||||
@ -273,13 +270,3 @@ int main(void)
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
int main(void)
|
||||
{
|
||||
puts("RIOT low-level SPI driver test");
|
||||
puts("There is no SPI device defined for your platform");
|
||||
}
|
||||
|
||||
#endif /* SPI_NUMOF */
|
||||
|
Loading…
Reference in New Issue
Block a user