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 CPM = wrap(hw:match("jz4740-cpm")); 9 LCD = wrap(hw:match("jz4740-lcd")); 10 } 11 12 Io.add_vbus("vbus", bus)