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
dad52242
Commit
dad52242
authored
8 years ago
by
Sergej Scheiermann
Committed by
Lorenz Meier
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
bmi055 added to start-up script
parent
7dcdc574
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ROMFS/px4fmu_common/init.d/rc.sensors
+15
-0
15 additions, 0 deletions
ROMFS/px4fmu_common/init.d/rc.sensors
src/platforms/px4_spi.h
+1
-2
1 addition, 2 deletions
src/platforms/px4_spi.h
with
16 additions
and
2 deletions
ROMFS/px4fmu_common/init.d/rc.sensors
+
15
−
0
View file @
dad52242
...
...
@@ -216,6 +216,21 @@ then
if bmi160 start
then
fi
# Start either ICM2060X or BMI055. They are both connected to the same SPI bus and use the same
# chip select pin. There are different boards with either one of them and the WHO_AM_I register
# will prevent the incorrect driver from a successful initialization.
# Internal SPI bus BMI055_ACC
if bmi055 -A start
then
fi
# Internal SPI bus BMI055_GYR
if bmi055 -G start
then
fi
fi
if ver hwcmp PX4FMU_V1
...
...
This diff is collapsed.
Click to expand it.
src/platforms/px4_spi.h
+
1
−
2
View file @
dad52242
...
...
@@ -15,8 +15,7 @@ enum spi_dev_e {
SPIDEV_EXPANDER
,
/* Select SPI I/O expander device */
SPIDEV_MUX
,
/* Select SPI multiplexer device */
SPIDEV_AUDIO_DATA
,
/* Select SPI audio codec device data port */
SPIDEV_AUDIO_CTRL
,
/* Select SPI audio codec device control port */
SPIDEV_BMI055_GYR
/* Select SPI BMI055 Gyroscope */
SPIDEV_AUDIO_CTRL
/* Select SPI audio codec device control port */
};
/* Certain SPI devices may required different clocking modes */
...
...
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