From 30bebdb3ff05f921f0dd5355ecf45d786c89c855 Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Mon, 28 Sep 2020 13:20:34 +0200 Subject: [PATCH] cpu/cortexm_common: Add architecture_arch.h --- .../include/architecture_arch.h | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 cpu/cortexm_common/include/architecture_arch.h diff --git a/cpu/cortexm_common/include/architecture_arch.h b/cpu/cortexm_common/include/architecture_arch.h new file mode 100644 index 0000000000..a393f6db6b --- /dev/null +++ b/cpu/cortexm_common/include/architecture_arch.h @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2020 Otto-von-Guericke-Universität Magdeburg + * + * This file is subject to the terms and conditions of the GNU Lesser + * General Public License v2.1. See the file LICENSE in the top level + * directory for more details. + */ + +/** + * @ingroup cpu_cortexm_common + * @{ + * + * @file + * @brief Architecture details + * + * @author Marian Buschsieweke + * + */ + +#ifndef ARCHITECTURE_ARCH_H +#define ARCHITECTURE_ARCH_H + +#ifdef __cplusplus +extern "C" { +#endif + +/* Doc is provided centrally in architecture.h, hide this from Doxygen */ +#ifndef DOXYGEN +#define ARCHITECTURE_WORD_BITS (32U) +#endif /* DOXYGEN */ + +#ifdef __cplusplus +} +#endif + +/** @} */ +#endif /* ARCHITECTURE_ARCH_H */