Landfall

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

299:6f492d79dbc0
6 months ago Paul Boddie Added JZ4780-specific register details. cpm-library-improvements
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
})