2021-01-16 | Paul Boddie | file changeset files shortlog | Added missing Makefiles. |
paul@62 | 1 | -- vi:ft=lua |
paul@62 | 2 | -- configuration file for io |
paul@62 | 3 | |
paul@62 | 4 | local hw = Io.system_bus() |
paul@62 | 5 | |
paul@62 | 6 | local bus = Io.Vi.System_bus |
paul@62 | 7 | { |
paul@62 | 8 | CPM = wrap(hw:match("jz4780-cpm")); |
paul@62 | 9 | GPIO = wrap(hw:match("jz4780-gpio")); |
paul@81 | 10 | LCD = wrap(hw:match("jz4780-lcd")); |
paul@62 | 11 | HDMI = wrap(hw:match("jz4780-hdmi")); |
paul@62 | 12 | } |
paul@62 | 13 | |
paul@81 | 14 | Io.add_vbus("vbus", bus) |