From 868114a1ed3a461b82bd1f6353c67c27c4f40b2f Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Fri, 2 Dec 2016 09:31:48 +0000 Subject: Added generic CMSIS device files. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9945 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/common/ext/CMSIS/generic/system_generic.h | 40 ++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 os/common/ext/CMSIS/generic/system_generic.h (limited to 'os/common/ext/CMSIS/generic/system_generic.h') diff --git a/os/common/ext/CMSIS/generic/system_generic.h b/os/common/ext/CMSIS/generic/system_generic.h new file mode 100644 index 000000000..6d3f1d907 --- /dev/null +++ b/os/common/ext/CMSIS/generic/system_generic.h @@ -0,0 +1,40 @@ +/* + ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +/** + * @file system_generic.h + * @brief CMSIS header for a generic Cortex-M platform. + * + * @addtogroup GENERIC_CMSIS_DEVICE + * @{ + */ + +#ifndef __SYSTEM_GENERIC_H +#define __SYSTEM_GENERIC_H + +extern uint32_t SystemCoreClock; + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif /*__SYSTEM_GENERIC_H */ + +/** @} */ -- cgit v1.2.3