Add the Gumstix AeroCore2 to the build system.

This commit is contained in:
Andrew C. Smith
2017-01-08 17:54:41 -08:00
committed by David Sidrane
parent 05cf34a510
commit d21b6655d2
26 changed files with 3874 additions and 7 deletions

View File

@@ -233,6 +233,11 @@ then
then
set USE_IO no
fi
if ver hwcmp AEROCORE2
then
set USE_IO no
fi
else
set USE_IO no
fi
@@ -413,6 +418,10 @@ then
then
set DATAMAN_OPT -i
fi
if ver hwcmp AEROCORE2
then
set DATAMAN_OPT "-f /fs/mtd_dataman"
fi
# waypoint storage
# REBOOTWORK this needs to start in parallel
if dataman start $DATAMAN_OPT
@@ -1084,11 +1093,18 @@ then
# CF2 shouldn't have an sd card
else
# Run no SD alarm
if [ $LOG_FILE == /dev/null ]
if ver hwcmp AEROCORE2
then
# Play SOS
tone_alarm error
# AEROCORE2 shouldn't have an sd card
else
# Run no SD alarm
if [ $LOG_FILE == /dev/null ]
then
# Play SOS
tone_alarm error
fi
fi
fi