move gumstix_aerocore2 init to rc.board

This commit is contained in:
Daniel Agar
2018-11-30 14:40:30 -05:00
parent a3fed608a6
commit 0e980c1f83
3 changed files with 20 additions and 11 deletions

View File

@@ -0,0 +1,20 @@
#!nsh
#
# Gumstix Aerocore2 specific board init
#
#------------------------------------------------------------------------------
#
if [ $AUTOCNF = yes ]
then
# Disable safety switch by default
param set CBRK_IO_SAFETY 22027
param set SYS_FMU_TASK 1
fi
set DATAMAN_OPT "-f /fs/mtd_dataman"
set MIXER_AUX none
l3gd20 -R 12 start
lsm303d start