Landfall

Annotated conf/landfall-examples/mips-qi_lb60-common.io

83:987722928c16
2020-06-17 Paul Boddie Added spectrum example definitions for the CI20. jz4780-lcd
paul@7 1
-- vim: ft=lua ts=2 et sw=2
paul@7 2
  
paul@7 3
-- Configuration file for Io.
paul@7 4
paul@7 5
local hw = Io.system_bus()
paul@7 6
paul@7 7
Io.add_vbus("cpm", Io.Vi.System_bus
paul@7 8
{
paul@7 9
  CPM = wrap(hw:match("jz4740-cpm"));
paul@7 10
})
paul@7 11
paul@7 12
Io.add_vbus("gpio", Io.Vi.System_bus
paul@7 13
{
paul@7 14
  GPIO = wrap(hw:match("jz4740-gpio"));
paul@7 15
})
paul@7 16
paul@7 17
Io.add_vbus("lcd", Io.Vi.System_bus
paul@7 18
{
paul@7 19
  LCD = wrap(hw:match("jz4740-lcd"));
paul@7 20
})