diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-12-02 09:31:48 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-12-02 09:31:48 +0000 |
commit | 868114a1ed3a461b82bd1f6353c67c27c4f40b2f (patch) | |
tree | 7803d46b5ed6970f2d9ab6bef5cd7f495c88ca56 /os/common/ext/CMSIS/generic/system_generic.h | |
parent | 608df1768fd4493b764cec288be309ae2985fe30 (diff) | |
download | ChibiOS-868114a1ed3a461b82bd1f6353c67c27c4f40b2f.tar.gz ChibiOS-868114a1ed3a461b82bd1f6353c67c27c4f40b2f.tar.bz2 ChibiOS-868114a1ed3a461b82bd1f6353c67c27c4f40b2f.zip |
Added generic CMSIS device files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9945 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/common/ext/CMSIS/generic/system_generic.h')
-rw-r--r-- | os/common/ext/CMSIS/generic/system_generic.h | 40 |
1 files changed, 40 insertions, 0 deletions
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 */
+
+/** @} */
|