Landfall

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

130:abedda4341ef
2021-01-16 Paul Boddie Merged changes from the default branch. idl4re-libipc-libsystypes
paul@0 1
-- vim: ft=lua ts=2 et sw=2
paul@0 2
paul@0 3
-- Configuration file for Io.
paul@0 4
paul@0 5
local hw = Io.system_bus()
paul@0 6
paul@0 7
Io.add_vbus("devices", Io.Vi.System_bus
paul@0 8
{
paul@0 9
  GPIO = wrap(hw:match("jz4730-gpio"));
paul@0 10
  PWM = wrap(hw:match("jz4730-pwm"));
paul@0 11
})