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 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 MSC = wrap(hw:match("x1600-msc")); 14 RTC = wrap(hw:match("x1600-rtc")); 15 SSI = wrap(hw:match("x1600-ssi")); 16 TCU = wrap(hw:match("x1600-tcu")); 17 } 18 19 Io.add_vbus("common", bus)