
The driver seems to work well. I tested it on Linux with i.mx233-based board using hardware SPI. I tried to modify the build files as well, but it's probably a little messy. I'm not sure whether it will work on other *nix OSes, so it's probably better to limit the driver to Linux only using build system.
10 lines
278 B
Makefile
10 lines
278 B
Makefile
|
|
# set the include path found by configure
|
|
AM_CPPFLAGS = $(all_includes) $(LIBNFC_CFLAGS)
|
|
|
|
noinst_LTLIBRARIES = libnfcbuses.la
|
|
libnfcbuses_la_SOURCES = uart.c uart.h spi.c spi.h
|
|
libnfcbuses_la_CFLAGS = -I$(top_srcdir)/libnfc
|
|
|
|
EXTRA_DIST = uart_posix.c uart_win32.c spi_posix.c
|
|
|