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
160da3fa
Commit
160da3fa
authored
9 years ago
by
Marshall Culpepper
Browse files
Options
Downloads
Patches
Plain Diff
cpu/cortexm_common: enable custom newlib syscalls w/ newlib_syscalls_X
parent
851695cd
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Makefile.dep
+5
-0
5 additions, 0 deletions
Makefile.dep
sys/Makefile.include
+1
-1
1 addition, 1 deletion
sys/Makefile.include
sys/newlib/Makefile
+2
-0
2 additions, 0 deletions
sys/newlib/Makefile
sys/newlib/Makefile.include
+1
-1
1 addition, 1 deletion
sys/newlib/Makefile.include
with
9 additions
and
2 deletions
Makefile.dep
+
5
−
0
View file @
160da3fa
...
@@ -270,6 +270,11 @@ ifneq (,$(filter gnrc_pktdump,$(USEMODULE)))
...
@@ -270,6 +270,11 @@ ifneq (,$(filter gnrc_pktdump,$(USEMODULE)))
endif
endif
ifneq
(,$(filter newlib,$(USEMODULE)))
ifneq
(,$(filter newlib,$(USEMODULE)))
# allow custom newlib syscalls implementations by adding
# newlib_syscalls_XXX to USEMODULE
ifeq
(,$(filter newlib_syscalls_%,$(USEMODULE)))
USEMODULE
+=
newlib_syscalls_default
endif
USEMODULE
+=
uart_stdio
USEMODULE
+=
uart_stdio
endif
endif
...
...
This diff is collapsed.
Click to expand it.
sys/Makefile.include
+
1
−
1
View file @
160da3fa
...
@@ -61,7 +61,7 @@ ifneq (,$(filter log_%,$(USEMODULE)))
...
@@ -61,7 +61,7 @@ ifneq (,$(filter log_%,$(USEMODULE)))
include
$(RIOTBASE)/sys/log/Makefile.include
include
$(RIOTBASE)/sys/log/Makefile.include
endif
endif
ifneq
(,$(filter newlib,$(USEMODULE)))
ifneq
(,$(filter newlib
_syscalls_default
,$(USEMODULE)))
include
$(RIOTBASE)/sys/newlib/Makefile.include
include
$(RIOTBASE)/sys/newlib/Makefile.include
endif
endif
...
...
This diff is collapsed.
Click to expand it.
sys/newlib/Makefile
+
2
−
0
View file @
160da3fa
MODULE
=
newlib_syscalls_default
include
$(RIOTBASE)/Makefile.base
include
$(RIOTBASE)/Makefile.base
This diff is collapsed.
Click to expand it.
sys/newlib/Makefile.include
+
1
−
1
View file @
160da3fa
UNDEF
:=
$(
BINDIR
)
newlib/syscalls.o
$(
UNDEF
)
UNDEF
:=
$(
BINDIR
)
newlib
_syscalls_default
/syscalls.o
$(
UNDEF
)
# Search for Newlib include directories
# Search for Newlib include directories
...
...
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