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
1a007dfc
Commit
1a007dfc
authored
10 years ago
by
Andrew Tridgell
Browse files
Options
Downloads
Patches
Plain Diff
build: added subtypes for all boards
parent
e53c872e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mk/environ.mk
+8
-0
8 additions, 0 deletions
mk/environ.mk
with
8 additions
and
0 deletions
mk/environ.mk
+
8
−
0
View file @
1a007dfc
...
@@ -132,6 +132,7 @@ endif
...
@@ -132,6 +132,7 @@ endif
ifneq
($(findstring sitl, $(MAKECMDGOALS)),)
ifneq
($(findstring sitl, $(MAKECMDGOALS)),)
HAL_BOARD
=
HAL_BOARD_AVR_SITL
HAL_BOARD
=
HAL_BOARD_AVR_SITL
HAL_BOARD_SUBTYPE
=
HAL_BOARD_SUBTYPE_NONE
endif
endif
ifneq
($(findstring linux, $(MAKECMDGOALS)),)
ifneq
($(findstring linux, $(MAKECMDGOALS)),)
...
@@ -156,32 +157,39 @@ endif
...
@@ -156,32 +157,39 @@ 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
endif
endif
ifneq
($(findstring vrubrain, $(MAKECMDGOALS)),)
ifneq
($(findstring vrubrain, $(MAKECMDGOALS)),)
HAL_BOARD
=
HAL_BOARD_VRBRAIN
HAL_BOARD
=
HAL_BOARD_VRBRAIN
HAL_BOARD_SUBTYPE
=
HAL_BOARD_SUBTYPE_NONE
endif
endif
ifneq
($(findstring vrhero, $(MAKECMDGOALS)),)
ifneq
($(findstring vrhero, $(MAKECMDGOALS)),)
HAL_BOARD
=
HAL_BOARD_VRBRAIN
HAL_BOARD
=
HAL_BOARD_VRBRAIN
HAL_BOARD_SUBTYPE
=
HAL_BOARD_SUBTYPE_NONE
endif
endif
ifneq
($(findstring apm1, $(MAKECMDGOALS)),)
ifneq
($(findstring apm1, $(MAKECMDGOALS)),)
HAL_BOARD
=
HAL_BOARD_APM1
HAL_BOARD
=
HAL_BOARD_APM1
HAL_BOARD_SUBTYPE
=
HAL_BOARD_SUBTYPE_AVR_APM1
endif
endif
ifneq
($(findstring apm2, $(MAKECMDGOALS)),)
ifneq
($(findstring apm2, $(MAKECMDGOALS)),)
HAL_BOARD
=
HAL_BOARD_APM2
HAL_BOARD
=
HAL_BOARD_APM2
HAL_BOARD_SUBTYPE
=
HAL_BOARD_SUBTYPE_AVR_APM2
endif
endif
ifneq
($(findstring flymaple, $(MAKECMDGOALS)),)
ifneq
($(findstring flymaple, $(MAKECMDGOALS)),)
HAL_BOARD
=
HAL_BOARD_FLYMAPLE
HAL_BOARD
=
HAL_BOARD_FLYMAPLE
HAL_BOARD_SUBTYPE
=
HAL_BOARD_SUBTYPE_NONE
endif
endif
# default to APM2
# default to APM2
ifeq
($(HAL_BOARD),)
ifeq
($(HAL_BOARD),)
#$(warning No HAL_BOARD in config.mk - defaulting to HAL_BOARD_APM2)
#$(warning No HAL_BOARD in config.mk - defaulting to HAL_BOARD_APM2)
HAL_BOARD
=
HAL_BOARD_APM2
HAL_BOARD
=
HAL_BOARD_APM2
HAL_BOARD_SUBTYPE
=
HAL_BOARD_SUBTYPE_AVR_APM2
endif
endif
HARDWARE
?=
arduino
HARDWARE
?=
arduino
...
...
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