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 -- vim: ft=lua ts=2 et sw=2 2 3 -- Configuration file for Io. 4 5 local hw = Io.system_bus() 6 7 Io.add_vbus("cpm", Io.Vi.System_bus 8 { 9 CPM = wrap(hw:match("jz4780-cpm")); 10 }) 11 12 Io.add_vbus("gpio", Io.Vi.System_bus 13 { 14 GPIO = wrap(hw:match("jz4780-gpio")); 15 }) 16 17 Io.add_vbus("lcd", Io.Vi.System_bus 18 { 19 LCD = wrap(hw:match("jz4780-lcd")); 20 }) 21 22 Io.add_vbus("hdmi", Io.Vi.System_bus 23 { 24 HDMI = wrap(hw:match("jz4780-hdmi")); 25 })