Landfall

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

154:f1ed3ebe0ddd
17 months ago Paul Boddie Fixed parameter type. Without this fix, C++ treats the method as being distinct from the base class method of the same name, and thus the operation cannot be invoked via IPC. idl4re-libipc-libsystypes
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
})