File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
libraries/mbed/targets/cmsis/TARGET_Freescale/TARGET_KL46Z Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * KL25Z ARM GCC linker script file
2
+ * KL46Z ARM GCC linker script file
3
3
*/
4
4
5
5
MEMORY
6
6
{
7
7
VECTORS (rx) : ORIGIN = 0x00000000, LENGTH = 0x00000400
8
- FLASH_PROTECTION (rx) : ORIGIN = 0x00000400, LENGTH = 0x00000010
8
+ FLASH_PROTECTION (rx) : ORIGIN = 0x00000400, LENGTH = 0x00000010
9
9
FLASH (rx) : ORIGIN = 0x00000410, LENGTH = 256K - 0x00000410
10
- RAM (rwx) : ORIGIN = 0x1FFFE000 , LENGTH = 32K
10
+ RAM (rwx) : ORIGIN = 0x1FFFE0C0 , LENGTH = 32K - 0xC0
11
11
}
12
12
13
13
/* Linker script to place sections and symbol values. Should be used together
Original file line number Diff line number Diff line change 2
2
* Copyright (c) 2011 ARM Limited. All rights reserved.
3
3
*
4
4
* CMSIS-style functionality to support dynamic vectors
5
- */
5
+ */
6
6
#include "cmsis_nvic.h"
7
7
8
- #define NVIC_RAM_VECTOR_ADDRESS (0x1FFFF000 ) // Vectors positioned at start of RAM
8
+ #define NVIC_RAM_VECTOR_ADDRESS (0x1FFFE000 ) // Vectors positioned at start of RAM
9
9
#define NVIC_FLASH_VECTOR_ADDRESS (0x0) // Initial vector position in flash
10
10
11
11
void NVIC_SetVector (IRQn_Type IRQn , uint32_t vector ) {
You can’t perform that action at this time.
0 commit comments