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@0 | 1 | -- vi:ft=lua |
paul@0 | 2 | -- configuration file for io |
paul@0 | 3 | |
paul@0 | 4 | local hw = Io.system_bus() |
paul@0 | 5 | |
paul@0 | 6 | local bus = Io.Vi.System_bus |
paul@0 | 7 | { |
paul@0 | 8 | CPM = wrap(hw:match("jz4780-cpm")); |
paul@0 | 9 | GPIO = wrap(hw:match("jz4780-gpio")); |
paul@0 | 10 | I2C = wrap(hw:match("jz4780-i2c")); |
paul@0 | 11 | } |
paul@0 | 12 | |
paul@0 | 13 | Io.add_vbus("i2c", bus) |