|
@@ -2,13 +2,13 @@ CC = gcc |
|
|
CFLAGS = -Wall |
|
|
CFLAGS = -Wall |
|
|
LDFLAGS = |
|
|
LDFLAGS = |
|
|
|
|
|
|
|
|
# Need BCM26 <-> BCM19 connected (1kOhm) |
|
|
|
|
|
tests = wiringpi_test1_sysfs wiringpi_test2_sysfs wiringpi_test3_device_wpi wiringpi_test4_device_phys wiringpi_test5_default wiringpi_test6_isr wiringpi_test7_version |
|
|
|
|
|
|
|
|
# Need BCM19 <-> BCM26, +PWM: BCM12 <-> BCM13, BCM18 <-> BCM17 connected (1kOhm) |
|
|
|
|
|
tests = wiringpi_test1_sysfs wiringpi_test2_sysfs wiringpi_test3_device_wpi wiringpi_test4_device_phys wiringpi_test5_default wiringpi_test6_isr wiringpi_test7_version wiringpi_test9_pwm |
|
|
|
|
|
|
|
|
# Need XO hardware |
|
|
# Need XO hardware |
|
|
xotests = wiringpi_xotest_test1_spi wiringpi_i2c_test1_pcf8574 |
|
|
|
|
|
|
|
|
xotests = wiringpi_xotest_test1_spi wiringpi_i2c_test1_pcf8574 wiringpi_test9_pwm |
|
|
|
|
|
|
|
|
# Need PiFace hardware and tests condition |
|
|
|
|
|
|
|
|
# Need PiFace hardware and BCM23 <-> BCM24 , BCM18 <-> BCM17 connected (1kOhm), and PiFace Out7<->In4, Out6<->In5, R0_NO<->In6, R0_NO<->In7, R_C<-100Ohm->GND |
|
|
pifacetests = wiringpi_piface_test1 wiringpi_test9_pwm |
|
|
pifacetests = wiringpi_piface_test1 wiringpi_test9_pwm |
|
|
|
|
|
|
|
|
all: $(tests) $(xotests) $(pifacetests) |
|
|
all: $(tests) $(xotests) $(pifacetests) |
|
|