2 weeks ago | Paul Boddie | raw annotate files changeset graph | Fixed the CI20 I2C example, introducing the missing RTC device to the IO bus. | 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 CPM = wrap(hw:match("jz4780-cpm")); 9 GPIO = wrap(hw:match("jz4780-gpio")); 10 I2C = wrap(hw:match("jz4780-i2c")); 11 RTC = wrap(hw:match("jz4780-rtc")); 12 } 13 14 Io.add_vbus("common", bus)