Landfall

Annotated conf/landfall-examples/mips-ci20-hdmi-i2c.io

84:21b57dd374bb
2020-06-17 Paul Boddie Added a mention of listlibs.sh which will need to be invoked for some examples. jz4780-lcd
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)