1
0
mirror of git://projects.qi-hardware.com/iris.git synced 2024-07-01 01:26:43 +03:00
iris/init.config
2010-08-22 22:03:06 +02:00

53 lines
1.7 KiB
Plaintext

# driver <name> = '<filename>' load a file into memory to be run priviledged.
# program <name> = '<filename>' load a file into memory to be run normally.
# receive <name> / <type> [, <index>] = <cap> prepare to accept a capability from a named program.
# sysreq <cap> use a capability as the system request keyboard.
# give <name> / <type> [, <index>] = <cap> give this capability to this program when it requests it.
# include <file> include a file as another config file.
# at end of file, the initial threads are killed and the drivers and programs are run as soon as all their dependencies are provided.
driver driver_gpio = "gpio.elf"
receive driver_gpio / Keyboard , 0 = keyboard
receive driver_gpio / Keyboard , 1 = sysreq
receive driver_gpio / Event = sdmmc_gpio
sysreq sysreq
driver nand = "nand.elf"
#driver driver_lcd = "lcd.elf"
#receive driver_lcd / Display = display
#receive driver_lcd / Setting = display_bright
#driver driver_buzzer = "buzzer.elf"
#receive driver_buzzer / Buzzer = buzzer
#program alarm = "alarm.elf"
#receive alarm / UI = ui
#program gui = "gui.elf"
#give gui / UI = ui
#give gui / Display = display
#give gui / Setting = display_bright
#give gui / Buzzer = buzzer
#give gui / Keyboard = keyboard
#driver sdmmc = "sd+mmc.elf"
#receive sdmmc / WString = sdmmc
#give sdmmc / Event = sdmmc_gpio
#program partition = "partition.elf"
#receive partition / WString, 0 = p0
#receive partition / WString, 1 = p1
#receive partition / WString, 2 = p2
#receive partition / WString, 3 = p3
#give partition / WString = sdmmc
#program fat = "fat.elf"
#receive fat / Directory = root
#give fat / WString = p0
#program test = "test.elf"
#give test / Directory = root
#driver rtc = "rtc.elf"