aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt/ports
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-05-28 14:24:36 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-05-28 14:24:36 +0000
commit5cd1e36d69c454f062860fb27ba2526ac6c81db2 (patch)
treee3d63b0ab9ff3868431ac3ff4c8bd2eb7c3d2653 /os/rt/ports
parent1f330aa369ca88670a504b28c4a29d7218a572f4 (diff)
downloadChibiOS-5cd1e36d69c454f062860fb27ba2526ac6c81db2.tar.gz
ChibiOS-5cd1e36d69c454f062860fb27ba2526ac6c81db2.tar.bz2
ChibiOS-5cd1e36d69c454f062860fb27ba2526ac6c81db2.zip
Untested ARM port related stuff.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6968 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/rt/ports')
-rw-r--r--os/rt/ports/ARM/chcore.c55
-rw-r--r--os/rt/ports/ARM/compilers/GCC/mk/port_lpc214x.mk13
2 files changed, 68 insertions, 0 deletions
diff --git a/os/rt/ports/ARM/chcore.c b/os/rt/ports/ARM/chcore.c
new file mode 100644
index 000000000..f57710185
--- /dev/null
+++ b/os/rt/ports/ARM/chcore.c
@@ -0,0 +1,55 @@
+/*
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010,
+ 2011,2012,2013 Giovanni Di Sirio.
+
+ This file is part of ChibiOS/RT.
+
+ ChibiOS/RT is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ ChibiOS/RT is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+/**
+ * @file ARM/chcore.c
+ * @brief ARM port code.
+ *
+ * @addtogroup ARM_CORE
+ * @{
+ */
+
+#include "ch.h"
+
+/*===========================================================================*/
+/* Module local definitions. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Module exported variables. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Module local types. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Module local variables. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Module local functions. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Module exported functions. */
+/*===========================================================================*/
+
+/** @} */
diff --git a/os/rt/ports/ARM/compilers/GCC/mk/port_lpc214x.mk b/os/rt/ports/ARM/compilers/GCC/mk/port_lpc214x.mk
new file mode 100644
index 000000000..1f91d144d
--- /dev/null
+++ b/os/rt/ports/ARM/compilers/GCC/mk/port_lpc214x.mk
@@ -0,0 +1,13 @@
+# List of the ChibiOS/RT Cortex-M3 STM32F1xx port files.
+PORTSRC = ${CHIBIOS}/os/rt/ports/ARM/chcore.c
+
+PORTASM = $(CHIBIOS)/os/common/ports/ARM/compilers/GCC/vectors.s \
+ $(CHIBIOS)/os/common/ports/ARM/compilers/GCC/irq.s \
+ $(CHIBIOS)/os/common/ports/ARM/compilers/GCC/crt0.s \
+ $(CHIBIOS)/os/rt/ports/ARM/compilers/GCC/chcoreasm.s
+
+PORTINC = ${CHIBIOS}/os/common/ports/ARM/devices/LPC214x \
+ ${CHIBIOS}/os/rt/ports/ARM \
+ ${CHIBIOS}/os/rt/ports/ARM/compilers/GCC
+
+PORTLD = ${CHIBIOS}/os/common/ports/ARM/compilers/GCC/ld