Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
Baitboat
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenSource
Baitboat
Commits
00175807
Commit
00175807
authored
10 years ago
by
mirkix
Committed by
Andrew Tridgell
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
mk: add support for BBBMINI, simple ArduPilot DIY Cape for the BeagleBone Black
parent
c58a0221
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
mk/environ.mk
+5
-0
5 additions, 0 deletions
mk/environ.mk
mk/targets.mk
+5
-1
5 additions, 1 deletion
mk/targets.mk
with
10 additions
and
1 deletion
mk/environ.mk
+
5
−
0
View file @
00175807
...
@@ -160,6 +160,11 @@ HAL_BOARD = HAL_BOARD_LINUX
...
@@ -160,6 +160,11 @@ HAL_BOARD = HAL_BOARD_LINUX
HAL_BOARD_SUBTYPE
=
HAL_BOARD_SUBTYPE_LINUX_NAVIO
HAL_BOARD_SUBTYPE
=
HAL_BOARD_SUBTYPE_LINUX_NAVIO
endif
endif
ifneq
($(findstring bbbmini, $(MAKECMDGOALS)),)
HAL_BOARD
=
HAL_BOARD_LINUX
HAL_BOARD_SUBTYPE
=
HAL_BOARD_SUBTYPE_LINUX_BBBMINI
endif
ifneq
($(findstring vrbrain, $(MAKECMDGOALS)),)
ifneq
($(findstring vrbrain, $(MAKECMDGOALS)),)
HAL_BOARD
=
HAL_BOARD_VRBRAIN
HAL_BOARD
=
HAL_BOARD_VRBRAIN
HAL_BOARD_SUBTYPE
=
HAL_BOARD_SUBTYPE_NONE
HAL_BOARD_SUBTYPE
=
HAL_BOARD_SUBTYPE_NONE
...
...
This diff is collapsed.
Click to expand it.
mk/targets.mk
+
5
−
1
View file @
00175807
...
@@ -45,6 +45,10 @@ navio: HAL_BOARD = HAL_BOARD_LINUX
...
@@ -45,6 +45,10 @@ navio: HAL_BOARD = HAL_BOARD_LINUX
navio
:
TOOLCHAIN = RPI
navio
:
TOOLCHAIN = RPI
navio
:
all
navio
:
all
bbbmini
:
HAL_BOARD = HAL_BOARD_LINUX
bbbmini
:
TOOLCHAIN = BBONE
bbbmini
:
all
empty
:
HAL_BOARD = HAL_BOARD_EMPTY
empty
:
HAL_BOARD = HAL_BOARD_EMPTY
empty
:
TOOLCHAIN = AVR
empty
:
TOOLCHAIN = AVR
empty
:
all
empty
:
all
...
@@ -58,7 +62,7 @@ empty: all
...
@@ -58,7 +62,7 @@ empty: all
# cope with copter and hil targets
# cope with copter and hil targets
FRAMES
=
quad tri hexa y6 octa octa-quad heli single obc
FRAMES
=
quad tri hexa y6 octa octa-quad heli single obc
BOARDS
=
apm1 apm2 apm2beta apm1-1280 px4 px4-v1 px4-v2 sitl flymaple linux vrbrain vrbrain-v40 vrbrain-v45 vrbrainv-50 vrbrain-v51 vrubrain-v51 vrhero-v10 erle pxf navio
BOARDS
=
apm1 apm2 apm2beta apm1-1280 px4 px4-v1 px4-v2 sitl flymaple linux vrbrain vrbrain-v40 vrbrain-v45 vrbrainv-50 vrbrain-v51 vrubrain-v51 vrhero-v10 erle pxf navio
bbbmini
define
frame_template
define
frame_template
$(1)-$(2)
:
EXTRAFLAGS += "-DFRAME_CONFIG=$(shell echo $(2) | tr a-z A-Z | sed s/-/_/g)_FRAME "
$(1)-$(2)
:
EXTRAFLAGS += "-DFRAME_CONFIG=$(shell echo $(2) | tr a-z A-Z | sed s/-/_/g)_FRAME "
...
...
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