diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-05-29 12:37:51 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-05-29 12:37:51 +0000 |
commit | f0a80283cb71516718e18cc191a81969dd83b67a (patch) | |
tree | 7c75a5a8902ebf5ec73ef5d780bf566a43b253a3 /demos/LPC21xx | |
parent | 5cd1e36d69c454f062860fb27ba2526ac6c81db2 (diff) | |
download | ChibiOS-f0a80283cb71516718e18cc191a81969dd83b67a.tar.gz ChibiOS-f0a80283cb71516718e18cc191a81969dd83b67a.tar.bz2 ChibiOS-f0a80283cb71516718e18cc191a81969dd83b67a.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6969 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/LPC21xx')
-rw-r--r-- | demos/LPC21xx/RT-LPC214x-OLIMEX/Makefile | 38 |
1 files changed, 31 insertions, 7 deletions
diff --git a/demos/LPC21xx/RT-LPC214x-OLIMEX/Makefile b/demos/LPC21xx/RT-LPC214x-OLIMEX/Makefile index 9f4f7da81..eed3b5b0c 100644 --- a/demos/LPC21xx/RT-LPC214x-OLIMEX/Makefile +++ b/demos/LPC21xx/RT-LPC214x-OLIMEX/Makefile @@ -51,16 +51,40 @@ endif # Architecture or project specific options
#
-# Stack size to be allocated to the Cortex-M process stack. This stack is
-# the stack used by the main() thread.
-ifeq ($(USE_PROCESS_STACKSIZE),)
- USE_PROCESS_STACKSIZE = 0x400
+# Stack size to be allocated to the ARM System/User stack. This
+# stack is the stack used by the main() thread.
+ifeq ($(USE_SYSTEM_STACKSIZE),)
+ USE_SYSTEM_STACKSIZE = 0x400
endif
-# Stack size to the allocated to the Cortex-M main/exceptions stack. This
+# Stack size to the allocated to the ARM IRQ stack. This
# stack is used for processing interrupts and exceptions.
ifeq ($(USE_EXCEPTIONS_STACKSIZE),)
- USE_EXCEPTIONS_STACKSIZE = 0x400
+ USE_IRQ_STACKSIZE = 0x400
+endif
+
+# Stack size to the allocated to the ARM FIQ stack. This
+# stack is used for processing interrupts and exceptions.
+ifeq ($(USE_FIQ_STACKSIZE),)
+ USE_FIQ_STACKSIZE = 64
+endif
+
+# Stack size to the allocated to the ARM Supervisor stack. This
+# stack is used for processing interrupts and exceptions.
+ifeq ($(USE_SUPERVISOR_STACKSIZE),)
+ USE_SUPERVISOR_STACKSIZE = 8
+endif
+
+# Stack size to the allocated to the ARM Undefined stack. This
+# stack is used for processing interrupts and exceptions.
+ifeq ($(USE_UND_STACKSIZE),)
+ USE_UND_STACKSIZE = 8
+endif
+
+# Stack size to the allocated to the ARM Abort stack. This
+# stack is used for processing interrupts and exceptions.
+ifeq ($(USE_ABT_STACKSIZE),)
+ USE_ABT_STACKSIZE = 8
endif
# Enables the use of FPU.
@@ -142,7 +166,7 @@ INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \ # Compiler settings
#
-MCU = cortex-m3
+MCU = arm7tdmi
#TRGT = arm-elf-
TRGT = arm-none-eabi-
|