7 months ago | Paul Boddie | raw annotate files changeset graph | Adjusted various types and tidied up somewhat. | 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 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 } 14 15 Io.add_vbus("common", bus)