File tree Expand file tree Collapse file tree 2 files changed +7
-21
lines changed
libraries/mbed/targets/cmsis/TARGET_Freescale/TARGET_KL05Z/TOOLCHAIN_GCC_ARM Expand file tree Collapse file tree 2 files changed +7
-21
lines changed Original file line number Diff line number Diff line change 4
4
5
5
MEMORY
6
6
{
7
- VECTORS (rx) : ORIGIN = 0x00000000, LENGTH = 0x00000400
8
- FLASH_PROTECTION (rx) : ORIGIN = 0x00000400, LENGTH = 0x00000010
7
+ VECTORS (rx) : ORIGIN = 0x00000000, LENGTH = 0x00000410
9
8
FLASH (rx) : ORIGIN = 0x00000410, LENGTH = 32K - 0x00000410
10
9
RAM (rwx) : ORIGIN = 0x1FFFFC00, LENGTH = 4K - 0xC0
11
10
}
@@ -44,17 +43,9 @@ SECTIONS
44
43
{
45
44
__vector_table = .;
46
45
KEEP(*(.vector_table))
47
- *(.text.Reset_Handler)
48
- *(.text.System_Init)
49
46
. = ALIGN (4);
50
47
} > VECTORS
51
48
52
- .flash_protect :
53
- {
54
- KEEP(*(.kinetis_flash_config_field))
55
- . = ALIGN (4);
56
- } > FLASH_PROTECTION
57
-
58
49
.text :
59
50
{
60
51
*(.text*)
Original file line number Diff line number Diff line change @@ -130,6 +130,12 @@ __isr_vector:
130
130
.long PORTB_IRQHandler /* Port B interrupt */
131
131
132
132
.size __isr_vector, . - __isr_vector
133
+ .org 0x400 , 0xff
134
+
135
+ .long 0xffffffff
136
+ .long 0xffffffff
137
+ .long 0xffffffff
138
+ .long 0xfffffffe
133
139
134
140
.section .text .Reset_Handler
135
141
.thumb
@@ -216,15 +222,4 @@ Reset_Handler:
216
222
.weak DEF_IRQHandler
217
223
.set DEF_IRQHandler, Default_Handler
218
224
219
- /* Flash protection region, placed at 0x400 */
220
- .text
221
- .thumb
222
- .align 2
223
- .section .kinetis_flash_config_field,"a" ,%progbits
224
- kinetis_flash_config:
225
- .long 0xffffffff
226
- .long 0xffffffff
227
- .long 0xffffffff
228
- .long 0xfffffffe
229
-
230
225
.end
You can’t perform that action at this time.
0 commit comments