PX4: enable MTD on FMUv1 as well

This commit is contained in:
Andrew Tridgell 2014-01-15 19:32:49 +11:00
parent 64fbadcc21
commit 950bb09735
3 changed files with 7 additions and 12 deletions

View File

@ -256,15 +256,12 @@ else
echo "Failed to start rgbled driver" >> $logfile
fi
if [ $BOARD == FMUv2 ]
if mtd start /fs/mtd
then
if mtd start
then
echo "started mtd driver OK"
else
echo "failed to start mtd driver"
sh /etc/init.d/rc.error
fi
echo "started mtd driver OK"
else
echo "failed to start mtd driver"
sh /etc/init.d/rc.error
fi
echo Starting ArduPilot $deviceA $deviceC $deviceD

View File

@ -40,7 +40,7 @@ MODULES += drivers/mkblctrl
#
# System commands
#
MODULES += systemcmds/eeprom
MODULES += systemcmds/mtd
MODULES += systemcmds/bl_update
MODULES += systemcmds/boardinfo
MODULES += systemcmds/i2c

View File

@ -42,7 +42,6 @@ MODULES += drivers/meas_airspeed
#
# System commands
#
MODULES += systemcmds/ramtron
MODULES += systemcmds/bl_update
MODULES += systemcmds/boardinfo
MODULES += systemcmds/mixer
@ -52,8 +51,7 @@ MODULES += systemcmds/reboot
MODULES += systemcmds/top
MODULES += systemcmds/tests
MODULES += systemcmds/nshterm
#MODULES += systemcmds/eeprom
MODULES += systemcmds/auth
MODULES += systemcmds/auth
MODULES += systemcmds/mtd
#