Landfall

Annotated conf/landfall-examples/mips-ci20-led.io

299:6f492d79dbc0
6 months ago Paul Boddie 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)