Skip to content

Commit

Permalink
spiService: Use #if in adef to support wp76, wp77
Browse files Browse the repository at this point in the history
  • Loading branch information
dpfrey committed Feb 21, 2018
1 parent 2ba58c3 commit cc33db5
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions apps/platformServices/spiService.adef
Expand Up @@ -31,7 +31,23 @@ requires:
{
device:
{
#if ${LEGATO_TARGET} = wp85
[rw] /dev/spidev0.0 /dev/
#elif ${LEGATO_TARGET} = wp750x
[rw] /dev/spidev0.0 /dev/
#elif ${LEGATO_TARGET} = wp76xx
[rw] /dev/spidev1.0 /dev/
#elif ${LEGATO_TARGET} = wp77xx
[rw] /dev/spidev1.0 /dev/
#elif ${LEGATO_TARGET} = ar7
// TODO: ar7 device path
#elif ${LEGATO_TARGET} = ar758x
// TODO: ar758x device path
#elif ${LEGATO_TARGET} = ar86
// TODO: ar86 device path
#elif ${LEGATO_TARGET} = em75xx
// TODO: em75xx device path
#endif
}
}

Expand Down

0 comments on commit cc33db5

Please sign in to comment.