1
0
mirror of git://projects.qi-hardware.com/iris.git synced 2024-07-02 21:34:32 +03:00
iris/init.config

46 lines
1.7 KiB
Plaintext
Raw Normal View History

# driver <name> = '<filename>' load a file into memory to be run priviledged.
# program <name> = '<filename>' load a file into memory to be run normally.
2010-07-08 13:38:36 +03:00
driver driver_lcd = "lcd.elf"
driver driver_buzzer = "buzzer.elf"
driver driver_gpio = "gpio.elf"
2010-07-08 13:38:36 +03:00
program alarm = "alarm.elf"
program gui = "gui.elf"
driver nand = "nand.elf"
2010-05-15 19:42:17 +03:00
driver sdmmc = "sd+mmc.elf"
2010-06-07 00:03:25 +03:00
program partition = "partition.elf"
program fat = "fat.elf"
program test = "test.elf"
# receive <name> / <type> [, <index>] = <cap> prepare to accept a capability from a named program.
2010-07-08 13:38:36 +03:00
receive driver_lcd / Display = display
receive driver_lcd / Setting = display_bright
receive driver_buzzer / Buzzer = buzzer
receive driver_gpio / Keyboard , 0 = keyboard
receive driver_gpio / Keyboard , 1 = sysreq
2010-05-15 19:42:17 +03:00
receive driver_gpio / Event = sdmmc_gpio
2010-07-08 13:38:36 +03:00
receive alarm / UI = ui
2010-05-15 19:42:17 +03:00
receive sdmmc / WString = sdmmc
2010-06-07 00:03:25 +03:00
receive partition / WString, 0 = p0
receive partition / WString, 1 = p1
receive partition / WString, 2 = p2
receive partition / WString, 3 = p3
receive fat / Directory = root
# 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.
2010-07-08 13:38:36 +03:00
give gui / UI = ui
give gui / Display = display
give gui / Setting = display_bright
give gui / Buzzer = buzzer
give gui / Keyboard = keyboard
2010-05-15 19:42:17 +03:00
give sdmmc / Event = sdmmc_gpio
2010-06-07 00:03:25 +03:00
give partition / WString = sdmmc
give fat / WString = p0
give test / Directory = root
# 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.