git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6969 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
5cd1e36d69
commit
f0a80283cb
|
@ -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-
|
||||
|
|
|
@ -0,0 +1,29 @@
|
|||
/*
|
||||
ChibiOS/RT - Copyright (C) 2006-2013 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.
|
||||
*/
|
||||
|
||||
/*
|
||||
* LPC2148 memory setup.
|
||||
*/
|
||||
MEMORY
|
||||
{
|
||||
flash : org = 0x00000000, len = 512k - 12k
|
||||
ram : org = 0x40000200, len = 32k - 0x200 - 288
|
||||
ram1 : org = 0, len = 0
|
||||
ram2 : org = 0, len = 0
|
||||
ram3 : org = 0, len = 0
|
||||
}
|
||||
|
||||
INCLUDE rules.ld
|
Loading…
Reference in New Issue