6 months ago | Paul Boddie | raw annotate files changeset graph | 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 |
1 -- vi:ft=lua 2 -- configuration file for io 3 4 local hw = Io.system_bus() 5 6 local bus = Io.Vi.System_bus 7 { 8 CPM = wrap(hw:match("jz4780-cpm")); 9 GPIO = wrap(hw:match("jz4780-gpio")); 10 LCD = wrap(hw:match("jz4780-lcd")); 11 HDMI = wrap(hw:match("jz4780-hdmi")); 12 } 13 14 Io.add_vbus("vbus", bus)