6 months ago | Paul Boddie | raw annotate files changeset graph | Added demonstration configuration files. | jz4780-spi-lcd |
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 AIC = wrap(hw:match("x1600-aic")); 9 CPM = wrap(hw:match("x1600-cpm")); 10 DMA = wrap(hw:match("x1600-dma")); 11 GPIO = wrap(hw:match("x1600-gpio")); 12 I2C = wrap(hw:match("x1600-i2c")); 13 SSI = wrap(hw:match("x1600-ssi")); 14 } 15 16 Io.add_vbus("common", bus)