1
0
mirror of git://projects.qi-hardware.com/iris.git synced 2024-11-17 20:20:37 +02:00
iris/init.config

35 lines
1.2 KiB
Plaintext
Raw Normal View History

# load <name> = '<filename>' load a file into memory. Don't use this after killbootthreads.
load driver_lcd = "lcd.elf"
2010-05-03 17:46:14 +03:00
#load driver_buzzer = "buzzer.elf"
#load driver_gpio = "gpio.elf"
2010-05-05 01:07:55 +03:00
#load ball = "ball.elf"
# killbootthreads destroy bootinit, bootfs and bootstore.
killbootthreads
# receive <name> / <type> [, <index>] = <cap> prepare to accept a capability from a named program.
receive driver_lcd / Display = display
receive driver_lcd / Setting = display_bright
2010-05-03 17:46:14 +03:00
#receive driver_buzzer / Buzzer = buzzer
#receive driver_gpio / Keyboard , 0 = keyboard
#receive driver_gpio / Keyboard , 1 = sysreq
# driver <name> run a previously loaded program priviledged.
driver driver_lcd
2010-05-03 17:46:14 +03:00
#driver driver_buzzer
#driver driver_gpio
# wait wait until all expected capabilities are received.
wait
# sysreq <cap> use a capability as the system request keyboard.
sysreq sysreq
2010-05-05 01:07:55 +03:00
# give <name> / <type> [, <index>] = <cap> give this capability to this program when it requests it.
#give ball / Display = display
# run <name> run a previously loaded program (normally).
2010-05-05 01:07:55 +03:00
#run ball
# include <name> include a loaded file as another config file.