5 months ago | Paul Boddie | raw annotate files changeset graph | Parameterised TCU interrupt usage, avoiding TCU0 on the JZ4780 which is currently reserved for the kernel timer. | cpm-library-improvements |
1 -- vim: ft=lua ts=2 et sw=2 2 3 -- Configuration file for Io. 4 5 local hw = Io.system_bus() 6 7 Io.add_vbus("cpm", Io.Vi.System_bus 8 { 9 CPM = wrap(hw:match("jz4740-cpm")); 10 }) 11 12 Io.add_vbus("gpio", Io.Vi.System_bus 13 { 14 GPIO = wrap(hw:match("jz4740-gpio")); 15 }) 16 17 Io.add_vbus("lcd", Io.Vi.System_bus 18 { 19 LCD = wrap(hw:match("jz4740-lcd")); 20 })