Skip to content

Commit 8503ccb

Browse files
committed
LPC2368 [GCC_ARM, GCC_CR]:
1. Added: GCC_CR toolchain ID for LPC2368. (targets.py) 2. Modified: Startup codes for GCC_ARM and GCC_CR toolchain. 3. Verified: "ticker" and "basic" test program work well, so far. (Fixed typo.)
1 parent 7bcdf0b commit 8503ccb

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

libraries/mbed/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_ARM/LPC2368.ld

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ SECTIONS
4848
.text : {
4949
__privileged_code_start__ = . ;
5050
KEEP( *( .vectors ) )
51-
KEEP( *( .privileged_code ) )
51+
*( .privileged_code )
5252

5353
__privileged_code_end__ = .;
5454

@@ -142,7 +142,7 @@ SECTIONS
142142
/* Heap starts here and grows up in memory */
143143
. = ALIGN( 8 ) ;
144144
__heap_start__ = . ;
145-
end = . ;
145+
end = . ;
146146

147147
.stab 0 (NOLOAD) : { *(.stab) }
148148
.stabstr 0 (NOLOAD) : { *(.stabstr) }

libraries/mbed/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_ARM/vector_functions.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44

5-
.section .plivileged_code, "ax"
5+
.section .privileged_code, "ax"
66
.arm
77

88

libraries/mbed/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_CR/LPC2368.ld

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ SECTIONS
5050
.text : {
5151
__privileged_code_start__ = . ;
5252
KEEP( *( .vectors ) )
53-
KEEP( *( .privileged_code ) )
53+
*( .privileged_code )
5454

5555
__privileged_code_end__ = .;
5656

@@ -144,8 +144,8 @@ SECTIONS
144144
/* Heap starts here and grows up in memory */
145145
. = ALIGN( 8 ) ;
146146
__heap_start__ = . ;
147-
_pvHeapStart = . ;
148-
end = . ;
147+
_pvHeapStart = . ;
148+
end = . ;
149149

150150
.stab 0 (NOLOAD) : { *(.stab) }
151151
.stabstr 0 (NOLOAD) : { *(.stabstr) }

libraries/mbed/targets/cmsis/TARGET_NXP/TARGET_LPC23XX/TOOLCHAIN_GCC_CR/vector_functions.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44

5-
.section .plivileged_code, "ax"
5+
.section .privileged_code, "ax"
66
.arm
77

88

0 commit comments

Comments
 (0)