7 months ago | Paul Boddie | file changeset files shortlog | Introduced support for the SPI peripheral on the JZ4780. Removed DMA buffer handling from the AIC/I2S peripheral support, changing the transfer operation to use an arbitrary physical address. Changed the hw_info test program to support use of the SPI peripheral and GPIO-driven SPI communication in the same session. Added a test picture in RGB16 format for use with the hw_info program. | cpm-library-improvements |
paul@199 | 1 | PKGDIR ?= ../../.. |
paul@199 | 2 | L4DIR ?= $(PKGDIR)/../.. |
paul@199 | 3 | |
paul@199 | 4 | TARGET = libspi.o.a libspi.o.so |
paul@199 | 5 | PC_FILENAME := libdrivers-spi |
paul@199 | 6 | |
paul@221 | 7 | SRC_CC := gpio.cc jz4780.cc |
paul@199 | 8 | |
paul@199 | 9 | PRIVATE_INCDIR += $(PKGDIR)/lib/spi/include |
paul@199 | 10 | |
paul@221 | 11 | REQUIRES_LIBS := l4re_c l4re_c-util libdrivers-common libdrivers-cpm libdrivers-dma libdrivers-gpio |
paul@199 | 12 | |
paul@199 | 13 | include $(L4DIR)/mk/lib.mk |