6 weeks ago | Paul Boddie | raw annotate files changeset graph | Employ a value in seconds to set the RTC alarm without trying to calculate a value based on some other level of accuracy. | 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)