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
e1185257
Commit
e1185257
authored
8 years ago
by
Kees Bakker
Browse files
Options
Downloads
Patches
Plain Diff
cpu/sam21_common: add C++ wrapper to sam0.h
parent
bd2fbf04
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
cpu/sam21_common/include/sam0.h
+8
-0
8 additions, 0 deletions
cpu/sam21_common/include/sam0.h
with
8 additions
and
0 deletions
cpu/sam21_common/include/sam0.h
+
8
−
0
View file @
e1185257
...
@@ -19,11 +19,19 @@
...
@@ -19,11 +19,19 @@
#ifndef SAM0_H
#ifndef SAM0_H
#define SAM0_H
#define SAM0_H
#ifdef __cplusplus
extern
"C"
{
#endif
#if defined(__SAMR21G18A__) || defined(__ATSAMR21G18A__)
#if defined(__SAMR21G18A__) || defined(__ATSAMR21G18A__)
#include
"cmsis/samr21/include/samr21g18a.h"
#include
"cmsis/samr21/include/samr21g18a.h"
#else
#else
#error "Unsupported SAM0 variant."
#error "Unsupported SAM0 variant."
#endif
#endif
#ifdef __cplusplus
}
#endif
#endif
/* SAM0_H */
#endif
/* SAM0_H */
/** @} */
/** @} */
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