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
54c6fe74
Commit
54c6fe74
authored
10 years ago
by
BytesGalore
Browse files
Options
Downloads
Plain Diff
Merge pull request #2033 from haukepetersen/fix_msbiot_cpp
board/msbiot: added support for C++
parents
de2a8b2b
af271114
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
boards/msbiot/Makefile.features
+1
-0
1 addition, 0 deletions
boards/msbiot/Makefile.features
boards/msbiot/Makefile.include
+5
-0
5 additions, 0 deletions
boards/msbiot/Makefile.include
with
6 additions
and
0 deletions
boards/msbiot/Makefile.features
+
1
−
0
View file @
54c6fe74
FEATURES_PROVIDED
+=
cpp
FEATURES_PROVIDED
+=
periph_gpio
FEATURES_PROVIDED
+=
periph_gpio
This diff is collapsed.
Click to expand it.
boards/msbiot/Makefile.include
+
5
−
0
View file @
54c6fe74
...
@@ -17,6 +17,7 @@ export PORT
...
@@ -17,6 +17,7 @@ export PORT
# define tools used for building the project
# define tools used for building the project
export
PREFIX
=
arm-none-eabi-
export
PREFIX
=
arm-none-eabi-
export
CC
=
$(
PREFIX
)
gcc
export
CC
=
$(
PREFIX
)
gcc
export
CXX
=
$(
PREFIX
)
g++
export
AR
=
$(
PREFIX
)
ar
export
AR
=
$(
PREFIX
)
ar
export
AS
=
$(
PREFIX
)
as
export
AS
=
$(
PREFIX
)
as
export
LINK
=
$(
PREFIX
)
gcc
export
LINK
=
$(
PREFIX
)
gcc
...
@@ -40,6 +41,10 @@ export FFLAGS = write bin/$(BOARD)/$(APPLICATION).hex 0x8000000
...
@@ -40,6 +41,10 @@ export FFLAGS = write bin/$(BOARD)/$(APPLICATION).hex 0x8000000
export
DEBUGGER_FLAGS
=
$(
RIOTBOARD
)
/
$(
BOARD
)
/dist/gdb.conf
$(
BINDIR
)
/
$(
APPLICATION
)
.elf
export
DEBUGGER_FLAGS
=
$(
RIOTBOARD
)
/
$(
BOARD
)
/dist/gdb.conf
$(
BINDIR
)
/
$(
APPLICATION
)
.elf
export
TERMFLAGS
+=
-p
"
$(
PORT
)
"
export
TERMFLAGS
+=
-p
"
$(
PORT
)
"
# unwanted (CXXUWFLAGS) and extra (CXXEXFLAGS) flags for c++
export
CXXUWFLAGS
+=
export
CXXEXFLAGS
+=
# use newLib nano-specs if available
# use newLib nano-specs if available
ifeq
($(shell $(LINK) -specs=nano.specs -E - 2>/dev/null >/dev/null </dev/null ; echo $$?),0)
ifeq
($(shell $(LINK) -specs=nano.specs -E - 2>/dev/null >/dev/null </dev/null ; echo $$?),0)
export
LINKFLAGS
+=
-specs
=
nano.specs
-lc
-lnosys
export
LINKFLAGS
+=
-specs
=
nano.specs
-lc
-lnosys
...
...
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