Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
version: 0.1.0
// sandboxed: true
sandboxed: false
start: auto
executables:
{
spiService = ( $LEGATO_ROOT/components/spiService )
}
processes:
{
envVars:
{
LE_LOG_LEVEL = INFO
}
run:
{
(spiService)
}
faultAction: restart
#if ${LEGATO_SERVICES_WDOG_DISABLE} = 1
watchdogTimeout: never
#else
watchdogTimeout: 120000
#endif
}
requires:
{
device:
{
// [rw] /dev/spidev0.0 /dev/
}
}
extern:
{
spiService.spiService.le_spi
}
bindings:
{
spiService.watchdogChain.le_wdog -> <root>.le_wdog
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.