mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
Add the Gumstix AeroCore2 to the build system.
This commit is contained in:
committed by
David Sidrane
parent
05cf34a510
commit
d21b6655d2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user