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@218 | 1 | -- vi:ft=lua |
paul@218 | 2 | -- configuration file for io |
paul@218 | 3 | |
paul@218 | 4 | local hw = Io.system_bus() |
paul@218 | 5 | |
paul@218 | 6 | local bus = Io.Vi.System_bus |
paul@218 | 7 | { |
paul@218 | 8 | AIC = wrap(hw:match("x1600-aic")); |
paul@218 | 9 | CPM = wrap(hw:match("x1600-cpm")); |
paul@218 | 10 | DMA = wrap(hw:match("x1600-dma")); |
paul@218 | 11 | GPIO = wrap(hw:match("x1600-gpio")); |
paul@218 | 12 | I2C = wrap(hw:match("x1600-i2c")); |
paul@221 | 13 | SSI = wrap(hw:match("x1600-ssi")); |
paul@218 | 14 | } |
paul@218 | 15 | |
paul@218 | 16 | Io.add_vbus("common", bus) |