Landfall

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

83:987722928c16
2020-06-17 Paul Boddie Added spectrum example definitions for the CI20. jz4780-lcd
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
})