aboutsummaryrefslogtreecommitdiffstats
path: root/demos/various/RT-ARM7-GENERIC
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-03-27 09:51:45 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-03-27 09:51:45 +0000
commit25c944f87f69c46efe23e998152c9c48365e51b0 (patch)
tree5ca6c4694122ba4996c812394cf45809b097ac12 /demos/various/RT-ARM7-GENERIC
parent6cc7199329fa18b0f2a2110c686b71c2d5ea556e (diff)
downloadChibiOS-25c944f87f69c46efe23e998152c9c48365e51b0.tar.gz
ChibiOS-25c944f87f69c46efe23e998152c9c48365e51b0.tar.bz2
ChibiOS-25c944f87f69c46efe23e998152c9c48365e51b0.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7816 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/various/RT-ARM7-GENERIC')
-rw-r--r--demos/various/RT-ARM7-GENERIC/Makefile3
-rw-r--r--demos/various/RT-ARM7-GENERIC/armparams.h65
2 files changed, 3 insertions, 65 deletions
diff --git a/demos/various/RT-ARM7-GENERIC/Makefile b/demos/various/RT-ARM7-GENERIC/Makefile
index 1560b36e7..4244d8c9f 100644
--- a/demos/various/RT-ARM7-GENERIC/Makefile
+++ b/demos/various/RT-ARM7-GENERIC/Makefile
@@ -147,6 +147,9 @@ ASMSRC = $(PORTASM)
# List of the standard inclusion directories.
INCDIR = $(PORTINC) $(KERNINC)
+# Make this point to your armparams.h header.
+INCDIR += $(CHIBIOS)/os/common/ports/ARM/devices/LPC214x
+
#
# Project, sources and paths
##############################################################################
diff --git a/demos/various/RT-ARM7-GENERIC/armparams.h b/demos/various/RT-ARM7-GENERIC/armparams.h
deleted file mode 100644
index 6bbc42af9..000000000
--- a/demos/various/RT-ARM7-GENERIC/armparams.h
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio.
-
- This file is part of ChibiOS.
-
- ChibiOS 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 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 armparams.h
- * @brief Generic ARM parameters.
- *
- * @defgroup ARM_GENERIC Generic ARM Parameters
- * @ingroup ARM_SPECIFIC
- * @details This file contains the ARM specific parameters for the
- * a generic platform.
- * @{
- */
-
-#ifndef _ARMPARAMS_H_
-#define _ARMPARAMS_H_
-
-/**
- * @brief ARM core model.
- */
-#define ARM_CORE ARM_CORE_ARM7TDMI
-
-/**
- * @brief Thumb-capable.
- */
-#define ARM_SUPPORTS_THUMB 1
-
-/**
- * @brief Thumb2-capable.
- */
-#define ARM_SUPPORTS_THUMB2 0
-
-/**
- * @brief Implementation of the wait-for-interrupt state enter.
- */
-#define ARM_WFI_IMPL
-
-#if !defined(_FROM_ASM_) || defined(__DOXYGEN__)
-/**
- * @brief Address of the IRQ vector register in the interrupt controller.
- */
-#define ARM_IRQ_VECTOR_REG 0xFFFFF030U
-#else
-#define ARM_IRQ_VECTOR_REG 0xFFFFF030
-#endif
-
-#endif /* _ARMPARAMS_H_ */
-
-/** @} */