Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RIOT
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
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
cm-projects
RIOT
Commits
585e9a23
Commit
585e9a23
authored
7 years ago
by
Martine Lenders
Browse files
Options
Downloads
Patches
Plain Diff
examples: adapt border router for ZEP
parent
28aa90df
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/gnrc_border_router/Makefile
+13
-0
13 additions, 0 deletions
examples/gnrc_border_router/Makefile
with
13 additions
and
0 deletions
examples/gnrc_border_router/Makefile
+
13
−
0
View file @
585e9a23
...
@@ -28,6 +28,10 @@ ifeq (,$(filter native,$(BOARD)))
...
@@ -28,6 +28,10 @@ ifeq (,$(filter native,$(BOARD)))
ETHOS_BAUDRATE
?=
115200
ETHOS_BAUDRATE
?=
115200
CFLAGS
+=
-DETHOS_BAUDRATE
=
$(
ETHOS_BAUDRATE
)
-DUSE_ETHOS_FOR_STDIO
CFLAGS
+=
-DETHOS_BAUDRATE
=
$(
ETHOS_BAUDRATE
)
-DUSE_ETHOS_FOR_STDIO
FEATURES_REQUIRED
+=
periph_uart
FEATURES_REQUIRED
+=
periph_uart
else
GNRC_NETIF_NUMOF
:=
2
TERMFLAGS
+=
-z
[
::1]:17754
USEMODULE
+=
socket_zep
endif
endif
# SLIP legacy compatibility
# SLIP legacy compatibility
...
@@ -81,6 +85,14 @@ QUIET ?= 1
...
@@ -81,6 +85,14 @@ QUIET ?= 1
TAP
?=
tap0
TAP
?=
tap0
IPV6_PREFIX
?=
2001:db8::/64
IPV6_PREFIX
?=
2001:db8::/64
ifeq
(native,$(BOARD))
TERMDEPS
+=
uhcpd-daemon
.PHONY
:
uhcpd-daemon
uhcpd-daemon
:
host-tools
$(
RIOTBASE
)
/dist/tools/uhcpd/bin/uhcpd
$(
TAP
)
$(
IPV6_PREFIX
)
&
else
# We override the `make term` command to use ethos
# We override the `make term` command to use ethos
TERMPROG
?=
sudo
sh
$(
RIOTBASE
)
/dist/tools/ethos/start_network.sh
TERMPROG
?=
sudo
sh
$(
RIOTBASE
)
/dist/tools/ethos/start_network.sh
TERMFLAGS
?=
$(
PORT
)
$(
TAP
)
$(
IPV6_PREFIX
)
TERMFLAGS
?=
$(
PORT
)
$(
TAP
)
$(
IPV6_PREFIX
)
...
@@ -88,6 +100,7 @@ TERMFLAGS ?= $(PORT) $(TAP) $(IPV6_PREFIX)
...
@@ -88,6 +100,7 @@ TERMFLAGS ?= $(PORT) $(TAP) $(IPV6_PREFIX)
# We depend on the ethos host tools to run the border router, we build them
# We depend on the ethos host tools to run the border router, we build them
# if necessary
# if necessary
TERMDEPS
+=
host-tools
TERMDEPS
+=
host-tools
endif
include
$(RIOTBASE)/Makefile.include
include
$(RIOTBASE)/Makefile.include
...
...
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