# driver = '' load a file into memory to be run priviledged. # program = '' load a file into memory to be run normally. driver driver_lcd = "lcd.elf" driver driver_buzzer = "buzzer.elf" driver driver_gpio = "gpio.elf" program alarm = "alarm.elf" program gui = "gui.elf" driver nand = "nand.elf" driver sdmmc = "sd+mmc.elf" program partition = "partition.elf" program fat = "fat.elf" program test = "test.elf" # receive / [, ] = prepare to accept a capability from a named program. 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 receive driver_gpio / Event = sdmmc_gpio receive alarm / UI = ui receive sdmmc / WString = sdmmc 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 use a capability as the system request keyboard. sysreq sysreq # give / [, ] = give this capability to this program when it requests it. give gui / UI = ui give gui / Display = display give gui / Setting = display_bright give gui / Buzzer = buzzer give gui / Keyboard = keyboard give sdmmc / Event = sdmmc_gpio give partition / WString = sdmmc give fat / WString = p0 give test / Directory = root # include 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.