6 months ago | Paul Boddie | file changeset files shortlog | Added JZ4780-specific register details. | cpm-library-improvements |
paul@0 | 1 | -- vi:ft=lua |
paul@0 | 2 | -- configuration file for io |
paul@0 | 3 | |
paul@0 | 4 | local hw = Io.system_bus() |
paul@0 | 5 | |
paul@0 | 6 | local bus = Io.Vi.System_bus |
paul@0 | 7 | { |
paul@0 | 8 | GPIO = wrap(hw:match("jz4780-gpio")); |
paul@0 | 9 | } |
paul@0 | 10 | |
paul@0 | 11 | Io.add_vbus("gpio", bus) |