+ patch by Justin Smyth to support the lpc1343, resolves #23844

git-svn-id: trunk@23620 -
This commit is contained in:
florian 2013-02-14 20:38:53 +00:00
parent 3b7a9543c6
commit bcd48ac1a1
7 changed files with 3860 additions and 6 deletions

1
.gitattributes vendored
View File

@ -7544,6 +7544,7 @@ rtl/embedded/arm/at91sam7x256.pp svneol=native#text/plain
rtl/embedded/arm/cortexm3_start.inc svneol=native#text/pascal
rtl/embedded/arm/lm3fury.pp svneol=native#text/pascal
rtl/embedded/arm/lm3tempest.pp svneol=native#text/pascal
rtl/embedded/arm/lpc1343.pp svneol=native#text/pascal
rtl/embedded/arm/lpc1768.pp svneol=native#text/pascal
rtl/embedded/arm/lpc21x4.pp svneol=native#text/plain
rtl/embedded/arm/sc32442b.pp svneol=native#text/pascal

View File

@ -73,6 +73,7 @@ Type
(ct_none,
{ Phillips }
ct_lpc1343,
ct_lpc2114,
ct_lpc2124,
ct_lpc2194,
@ -276,6 +277,15 @@ Const
sramsize:0
),
(
controllertypestr:'LPC1343';
controllerunitstr:'LPC1343';
flashbase:$00000000;
flashsize:$00008000;
srambase:$10000000;
sramsize:$00002000
),
(
controllertypestr:'LPC2114';
controllerunitstr:'LPC21x4';

View File

@ -328,15 +328,13 @@ unit cpupara;
else
internalerror(2005082901);
end
else if (paracgsize in [OS_NO,OS_64,OS_S64]) then
paraloc^.size := OS_32
else if paracgsize<>OS_S8 then
paraloc^.size := OS_8
else
paraloc^.size:=paracgsize;
case loc of
LOC_REGISTER:
begin
{ this is not abi compliant
why? (FK) }
if nextintreg>=RS_R8 then
begin
paraloc^.loc:=LOC_REGISTER;

View File

@ -223,6 +223,7 @@ begin
ct_none:
begin
end;
ct_lpc1343,
ct_lpc2114,
ct_lpc2124,
ct_lpc2194,

View File

@ -321,7 +321,7 @@ CPU_SPECIFIC_COMMON_UNITS=
ifeq ($(ARCH),arm)
CPU_SPECIFIC_COMMON_UNITS=sysutils sysconst
ifeq ($(SUBARCH),armv7m)
CPU_UNITS=lm3fury lm3tempest stm32f10x_ld stm32f10x_md stm32f10x_hd stm32f10x_xl stm32f10x_conn lpc1768 # thumb2_bare
CPU_UNITS=lm3fury lm3tempest stm32f10x_ld stm32f10x_md stm32f10x_hd stm32f10x_xl stm32f10x_conn lpc1768 lpc1343 # thumb2_bare
endif
ifeq ($(SUBARCH),armv4t)
CPU_UNITS=lpc21x4 at91sam7x256 sc32442b

View File

@ -54,7 +54,7 @@ CPU_SPECIFIC_COMMON_UNITS=
ifeq ($(ARCH),arm)
CPU_SPECIFIC_COMMON_UNITS=sysutils sysconst
ifeq ($(SUBARCH),armv7m)
CPU_UNITS=lm3fury lm3tempest stm32f10x_ld stm32f10x_md stm32f10x_hd stm32f10x_xl stm32f10x_conn lpc1768 # thumb2_bare
CPU_UNITS=lm3fury lm3tempest stm32f10x_ld stm32f10x_md stm32f10x_hd stm32f10x_xl stm32f10x_conn lpc1343 lpc1768 # thumb2_bare
endif
ifeq ($(SUBARCH),armv4t)
CPU_UNITS=lpc21x4 at91sam7x256 sc32442b

3844
rtl/embedded/arm/lpc1343.pp Normal file

File diff suppressed because it is too large Load Diff