mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 20:29:32 +02:00
+ patch by Justin Smyth to support the lpc1343, resolves #23844
git-svn-id: trunk@23620 -
This commit is contained in:
parent
3b7a9543c6
commit
bcd48ac1a1
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -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
|
||||
|
@ -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';
|
||||
|
@ -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;
|
||||
|
@ -223,6 +223,7 @@ begin
|
||||
ct_none:
|
||||
begin
|
||||
end;
|
||||
ct_lpc1343,
|
||||
ct_lpc2114,
|
||||
ct_lpc2124,
|
||||
ct_lpc2194,
|
||||
|
@ -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
|
||||
|
@ -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
3844
rtl/embedded/arm/lpc1343.pp
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user