Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alberto Ruiz Garcia
Firmware
Commits
a8b91c7a
Commit
a8b91c7a
authored
6 years ago
by
Daniel Agar
Browse files
Options
Downloads
Patches
Plain Diff
move intel_aerofc-v1 init to rc.board
parent
a4830f8d
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
ROMFS/px4fmu_common/init.d/rc.logging
+0
-9
0 additions, 9 deletions
ROMFS/px4fmu_common/init.d/rc.logging
ROMFS/px4fmu_common/init.d/rc.sensors
+0
-13
0 additions, 13 deletions
ROMFS/px4fmu_common/init.d/rc.sensors
ROMFS/px4fmu_common/init.d/rcS
+3
-14
3 additions, 14 deletions
ROMFS/px4fmu_common/init.d/rcS
with
3 additions
and
36 deletions
ROMFS/px4fmu_common/init.d/rc.logging
+
0
−
9
View file @
a8b91c7a
...
@@ -4,8 +4,6 @@
...
@@ -4,8 +4,6 @@
# NOTE: Script variables are declared/initialized/unset in the rcS script.
# NOTE: Script variables are declared/initialized/unset in the rcS script.
#
#
set LOGGER_ARGS ""
if param greater UAVCAN_ENABLE 1
if param greater UAVCAN_ENABLE 1
then
then
# Reduce logger buffer to free up some RAM for UAVCAN servers.
# Reduce logger buffer to free up some RAM for UAVCAN servers.
...
@@ -26,11 +24,4 @@ then
...
@@ -26,11 +24,4 @@ then
set LOGGER_ARGS "-f"
set LOGGER_ARGS "-f"
fi
fi
if ver hwcmp INTEL_AEROFC_V1
then
set LOGGER_ARGS "-m mavlink"
fi
logger start -b ${LOGGER_BUF} -t ${LOGGER_ARGS}
logger start -b ${LOGGER_BUF} -t ${LOGGER_ARGS}
unset LOGGER_ARGS
This diff is collapsed.
Click to expand it.
ROMFS/px4fmu_common/init.d/rc.sensors
+
0
−
13
View file @
a8b91c7a
...
@@ -31,19 +31,6 @@ then
...
@@ -31,19 +31,6 @@ then
adc start
adc start
fi
fi
if ver hwcmp INTEL_AEROFC_V1
then
ms5611 -T 0 start
mpu9250 -s -R 14 start
# Possible external compasses
hmc5883 -X start
ist8310 -C -b 1 -R 4 start
aerofc_adc start
ll40ls start i2c
fi
if ver hwcmp GUMSTIX_AEROCORE2
if ver hwcmp GUMSTIX_AEROCORE2
then
then
l3gd20 -R 12 start
l3gd20 -R 12 start
...
...
This diff is collapsed.
Click to expand it.
ROMFS/px4fmu_common/init.d/rcS
+
3
−
14
View file @
a8b91c7a
...
@@ -33,6 +33,7 @@ set FMU_MODE pwm
...
@@ -33,6 +33,7 @@ set FMU_MODE pwm
set IOFW "/etc/extras/px4_io-v2_default.bin"
set IOFW "/etc/extras/px4_io-v2_default.bin"
set IO_PRESENT no
set IO_PRESENT no
set LOG_FILE /fs/microsd/bootlog.txt
set LOG_FILE /fs/microsd/bootlog.txt
set LOGGER_ARGS ""
set LOGGER_BUF 14
set LOGGER_BUF 14
set MAV_TYPE none
set MAV_TYPE none
set MIXER none
set MIXER none
...
@@ -142,6 +143,7 @@ else
...
@@ -142,6 +143,7 @@ else
# Waypoint storage.
# Waypoint storage.
# REBOOTWORK this needs to start in parallel.
# REBOOTWORK this needs to start in parallel.
#
#
# TODO: fix board override $DATAMAN_OPT
dataman start $DATAMAN_OPT
dataman start $DATAMAN_OPT
#
#
...
@@ -228,20 +230,6 @@ else
...
@@ -228,20 +230,6 @@ else
set DATAMAN_OPT "-f /fs/mtd_dataman"
set DATAMAN_OPT "-f /fs/mtd_dataman"
fi
fi
if ver hwcmp INTEL_AEROFC_V1
then
if param compare SYS_AUTOSTART 0
then
set AUTOCNF yes
fi
# We don't allow changing AUTOSTART as it doesn't work in
# other configurations.
param set SYS_AUTOSTART 4070
set DATAMAN_OPT -i
fi
if ver hwcmp BITCRAZE_CRAZYFLIE
if ver hwcmp BITCRAZE_CRAZYFLIE
then
then
if param compare SYS_AUTOSTART 0
if param compare SYS_AUTOSTART 0
...
@@ -509,6 +497,7 @@ unset FMU_MODE
...
@@ -509,6 +497,7 @@ unset FMU_MODE
unset IOFW
unset IOFW
unset IO_PRESENT
unset IO_PRESENT
unset LOG_FILE
unset LOG_FILE
unset LOGGER_ARGS
unset LOGGER_BUF
unset LOGGER_BUF
unset MAV_TYPE
unset MAV_TYPE
unset MIXER
unset MIXER
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment