From 25c944f87f69c46efe23e998152c9c48365e51b0 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Fri, 27 Mar 2015 09:51:45 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7816 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/various/RT-ARM7-GENERIC/Makefile | 3 ++ demos/various/RT-ARM7-GENERIC/armparams.h | 65 ------------------------------- 2 files changed, 3 insertions(+), 65 deletions(-) delete mode 100644 demos/various/RT-ARM7-GENERIC/armparams.h (limited to 'demos/various/RT-ARM7-GENERIC') 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 . -*/ - -/** - * @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_ */ - -/** @} */ -- cgit v1.2.3