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
Branches
No related tags found
No related merge requests found
......@@ -19,11 +19,19 @@
#ifndef SAM0_H
#define SAM0_H
#ifdef __cplusplus
extern "C" {
#endif
#if defined(__SAMR21G18A__) || defined(__ATSAMR21G18A__)
#include "cmsis/samr21/include/samr21g18a.h"
#else
#error "Unsupported SAM0 variant."
#endif
#ifdef __cplusplus
}
#endif
#endif /* SAM0_H */
/** @} */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment