Skip to content
Snippets Groups Projects
Commit e1185257 authored by Kees Bakker's avatar Kees Bakker
Browse files

cpu/sam21_common: add C++ wrapper to sam0.h

parent bd2fbf04
No related branches found
No related tags found
No related merge requests found
...@@ -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 */
/** @} */ /** @} */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment