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
a1abd1b6
Commit
a1abd1b6
authored
7 years ago
by
David Sidrane
Committed by
Beat Küng
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
sitil:Use Non Arch specific Board identity API
parent
ed9223ed
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
src/drivers/boards/sitl/CMakeLists.txt
+4
-1
4 additions, 1 deletion
src/drivers/boards/sitl/CMakeLists.txt
src/drivers/boards/sitl/board_config.h
+2
-3
2 additions, 3 deletions
src/drivers/boards/sitl/board_config.h
with
6 additions
and
4 deletions
src/drivers/boards/sitl/CMakeLists.txt
+
4
−
1
View file @
a1abd1b6
...
...
@@ -31,4 +31,7 @@
#
############################################################################
px4_add_library
(
drivers_board sitl_led.c
)
px4_add_library
(
drivers_board
sitl_led.c
../common/board_identity.c
)
This diff is collapsed.
Click to expand it.
src/drivers/boards/sitl/board_config.h
+
2
−
3
View file @
a1abd1b6
...
...
@@ -39,9 +39,8 @@
#pragma once
#define BOARD_OVERRIDE_UUID "SIMULATIONID" // must be of length 12 (PX4_CPU_UUID_BYTE_LENGTH)
#define BOARD_OVERRIDE_MFGUID BOARD_OVERRIDE_UUID
#define BOARD_OVERRIDE_PX4_GUID "00000000" BOARD_OVERRIDE_UUID // must be of length 18 (PX4_GUID_BYTE_LENGTH)
#define BOARD_OVERRIDE_UUID "SIMULATIONID0000" // must be of length 16
#define PX4_SOC_ARCH_ID 0x1003
#define BOARD_NAME "SITL"
#define BOARD_BATTERY1_V_DIV (10.177939394f)
...
...
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