1
0
mirror of git://projects.qi-hardware.com/iris.git synced 2024-11-16 19:48:06 +02:00

before device-removal

This commit is contained in:
Bas Wijnen 2010-05-05 00:07:55 +02:00
parent c8f7b1c678
commit 62ac5f1c0f

View File

@ -1,17 +1,8 @@
# load <name> = '<filename>' load a file into memory. Don't use this after killbootthreads. # load <name> = '<filename>' load a file into memory. Don't use this after killbootthreads.
#load session = "session.config"
load driver_lcd = "lcd.elf" load driver_lcd = "lcd.elf"
#load driver_buzzer = "buzzer.elf" #load driver_buzzer = "buzzer.elf"
#load driver_gpio = "gpio.elf" #load driver_gpio = "gpio.elf"
# load driver_audio = "audio.elf" #load ball = "ball.elf"
# load driver_udc = "udc.elf"
# load driver_nand = "nand.elf"
# load emu_lcd = "emu_display.elf"
# load emu_buzzer = "emu_buzzer.elf"
# load emu_keyboard = "emu_keyboard.elf"
# load emu_audio = "emu_audio.elf"
# load emu_udc = "emu_udc.elf"
# killbootthreads destroy bootinit, bootfs and bootstore. # killbootthreads destroy bootinit, bootfs and bootstore.
killbootthreads killbootthreads
@ -22,17 +13,11 @@
#receive driver_buzzer / Buzzer = buzzer #receive driver_buzzer / Buzzer = buzzer
#receive driver_gpio / Keyboard , 0 = keyboard #receive driver_gpio / Keyboard , 0 = keyboard
#receive driver_gpio / Keyboard , 1 = sysreq #receive driver_gpio / Keyboard , 1 = sysreq
# receive driver_audio / Audio = audio
# receive driver_udc / Udc = udc
# receive driver_nand / WString = nand
# driver <name> run a previously loaded program priviledged. # driver <name> run a previously loaded program priviledged.
driver driver_lcd driver driver_lcd
#driver driver_buzzer #driver driver_buzzer
#driver driver_gpio #driver driver_gpio
# driver driver_audio
# driver driver_udc
# driver driver_nand
# wait wait until all expected capabilities are received. # wait wait until all expected capabilities are received.
wait wait
@ -40,20 +25,10 @@
# sysreq <cap> use a capability as the system request keyboard. # sysreq <cap> use a capability as the system request keyboard.
sysreq sysreq sysreq sysreq
# give <name> (<type> [, <index>]) = <cap> give this capability to this program when it requests it. # give <name> / <type> [, <index>] = <cap> give this capability to this program when it requests it.
# give emu_display (display) = display #give ball / Display = display
# give emu_display_bright (setting) = display_bright
# give emu_buzzer (buzzer) = buzzer
# give emu_keyboard (keyboard, 0) = keyboard
# give emu_audio (audio) = audio
# give emu_udc (udc) = udc
# run <name> run a previously loaded program (normally). # run <name> run a previously loaded program (normally).
# run emu_lcd #run ball
# run emu_buzzer
# run emu_keyboard
# run emu_audio
# run emu_udc
# include <name> include a loaded file as another config file. # include <name> include a loaded file as another config file.
#include session