26 lines
567 B
Plaintext
26 lines
567 B
Plaintext
## Example RTEMS startup script
|
|
|
|
## You may have to change _APPNAME_ to something else
|
|
## everywhere it appears in this file
|
|
|
|
#< envPaths
|
|
|
|
## Register all support components
|
|
dbLoadDatabase("dbd/_APPNAME_.dbd")
|
|
_CSAFEAPPNAME__registerRecordDeviceDriver(pdbbase)
|
|
|
|
## Load record instances
|
|
dbLoadTemplate("db/user.substitutions")
|
|
dbLoadRecords("db/dbSubExample.db", "user=_USER_")
|
|
|
|
## Set this to see messages from mySub
|
|
#var mySubDebug 1
|
|
|
|
## Run this to trace the stages of iocInit
|
|
#traceIocInit
|
|
|
|
iocInit
|
|
|
|
## Start any sequence programs
|
|
#seq(sncExample, "user=_USER_")
|