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
4240abad
Commit
4240abad
authored
6 years ago
by
Daniel Agar
Browse files
Options
Downloads
Patches
Plain Diff
move bitcraze_crazyflie init to rc.board
parent
0e980c1f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
ROMFS/px4fmu_common/init.d/rc.sensors
+0
-14
0 additions, 14 deletions
ROMFS/px4fmu_common/init.d/rc.sensors
ROMFS/px4fmu_common/init.d/rcS
+0
-9
0 additions, 9 deletions
ROMFS/px4fmu_common/init.d/rcS
boards/bitcraze/crazyflie/init/rc.board
+29
-0
29 additions, 0 deletions
boards/bitcraze/crazyflie/init/rc.board
with
29 additions
and
23 deletions
ROMFS/px4fmu_common/init.d/rc.sensors
+
0
−
14
View file @
4240abad
...
@@ -31,20 +31,6 @@ then
...
@@ -31,20 +31,6 @@ then
adc start
adc start
fi
fi
if ver hwcmp BITCRAZE_CRAZYFLIE
then
# Onboard I2C
mpu9250 -R 12 start
# I2C bypass of mpu
lps25h start
# Optical flow deck
vl53lxx start
pmw3901 start
fi
if ver hwcmp ATMEL_SAME70XPLAINED_V1
if ver hwcmp ATMEL_SAME70XPLAINED_V1
then
then
# External I2C bus
# External I2C bus
...
...
This diff is collapsed.
Click to expand it.
ROMFS/px4fmu_common/init.d/rcS
+
0
−
9
View file @
4240abad
...
@@ -225,15 +225,6 @@ else
...
@@ -225,15 +225,6 @@ else
sh $BOARD_RC
sh $BOARD_RC
fi
fi
if ver hwcmp BITCRAZE_CRAZYFLIE
then
if param compare SYS_AUTOSTART 0
then
param set SYS_AUTOSTART 4900
set AUTOCNF yes
fi
fi
###############################################################################
###############################################################################
# End Setup for board specific configurations. #
# End Setup for board specific configurations. #
###############################################################################
###############################################################################
...
...
This diff is collapsed.
Click to expand it.
boards/bitcraze/crazyflie/init/rc.board
0 → 100644
+
29
−
0
View file @
4240abad
#!nsh
#
# Bitcraze Crazyflie specific board init
#
#------------------------------------------------------------------------------
#
if param compare SYS_AUTOSTART 0
then
param set SYS_AUTOSTART 4900
set AUTOCNF yes
fi
if [ $AUTOCNF = yes ]
then
fi
set MIXER_AUX none
# Onboard I2C
mpu9250 -R 12 start
# I2C bypass of mpu
lps25h start
# Optical flow deck
vl53lxx start
pmw3901 start
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