Skip to content

Commit ff506bf

Browse files
committed
Merge pull request #2 from mbedmicro/master
Update to latest mbed code with KSDK 2.0 update merged
2 parents cb20335 + 9cef243 commit ff506bf

File tree

561 files changed

+159117
-292205
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

561 files changed

+159117
-292205
lines changed

libraries/USBDevice/USBDevice/USBEndpoints.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ typedef enum {
4141
#include "USBEndpoints_LPC17_LPC23.h"
4242
#elif defined(TARGET_LPC11UXX) || defined(TARGET_LPC1347) || defined (TARGET_LPC11U6X) || defined (TARGET_LPC1549)
4343
#include "USBEndpoints_LPC11U.h"
44-
#elif defined(TARGET_KL25Z) | defined(TARGET_KL26Z) | defined(TARGET_KL43Z) | defined(TARGET_KL46Z) | defined(TARGET_K20D50M) | defined(TARGET_K64F) | defined(TARGET_K22F) | defined(TARGET_TEENSY3_1)
44+
#elif defined(TARGET_KL25Z) | defined(TARGET_KL26Z) | defined(TARGET_KL27Z) | defined(TARGET_KL43Z) | defined(TARGET_KL46Z) | defined(TARGET_K20D50M) | defined(TARGET_K64F) | defined(TARGET_K22F) | defined(TARGET_TEENSY3_1)
4545
#include "USBEndpoints_KL25Z.h"
4646
#elif defined (TARGET_STM32F4)
4747
#include "USBEndpoints_STM32F4.h"

libraries/mbed/targets/cmsis/TARGET_Freescale/TARGET_K22F/MK22F51212.h

100644100755
Lines changed: 6184 additions & 7543 deletions
Large diffs are not rendered by default.

libraries/mbed/targets/cmsis/TARGET_Freescale/TARGET_K22F/MK22F51212_features.h

Lines changed: 1899 additions & 0 deletions
Large diffs are not rendered by default.

libraries/mbed/targets/cmsis/TARGET_Freescale/TARGET_K22F/TOOLCHAIN_ARM_STD/MK22F51212.sct

Lines changed: 0 additions & 13 deletions
This file was deleted.
Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
#! armcc -E
2+
/*
3+
** ###################################################################
4+
** Processors: MK22FN512CAP12
5+
** MK22FN512VDC12
6+
** MK22FN512VLH12
7+
** MK22FN512VLL12
8+
** MK22FN512VMP12
9+
**
10+
** Compiler: Keil ARM C/C++ Compiler
11+
** Reference manual: K22P121M120SF7RM, Rev. 1, March 24, 2014
12+
** Version: rev. 2.8, 2015-02-19
13+
** Build: b151009
14+
**
15+
** Abstract:
16+
** Linker file for the Keil ARM C/C++ Compiler
17+
**
18+
** Copyright (c) 2015 Freescale Semiconductor, Inc.
19+
** All rights reserved.
20+
**
21+
** Redistribution and use in source and binary forms, with or without modification,
22+
** are permitted provided that the following conditions are met:
23+
**
24+
** o Redistributions of source code must retain the above copyright notice, this list
25+
** of conditions and the following disclaimer.
26+
**
27+
** o Redistributions in binary form must reproduce the above copyright notice, this
28+
** list of conditions and the following disclaimer in the documentation and/or
29+
** other materials provided with the distribution.
30+
**
31+
** o Neither the name of Freescale Semiconductor, Inc. nor the names of its
32+
** contributors may be used to endorse or promote products derived from this
33+
** software without specific prior written permission.
34+
**
35+
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
36+
** ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
37+
** WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
38+
** DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
39+
** ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
40+
** (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
41+
** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
42+
** ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
43+
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
44+
** SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
45+
**
46+
** http: www.freescale.com
47+
48+
**
49+
** ###################################################################
50+
*/
51+
#define __ram_vector_table__ 1
52+
53+
/* Heap 1/4 of ram and stack 1/8 */
54+
#define __stack_size__ 0x4000
55+
#define __heap_size__ 0x8000
56+
57+
#if (defined(__ram_vector_table__))
58+
#define __ram_vector_table_size__ 0x00000400
59+
#else
60+
#define __ram_vector_table_size__ 0x00000000
61+
#endif
62+
63+
#define m_interrupts_start 0x00000000
64+
#define m_interrupts_size 0x00000400
65+
66+
#define m_flash_config_start 0x00000400
67+
#define m_flash_config_size 0x00000010
68+
69+
#define m_text_start 0x00000410
70+
#define m_text_size 0x0007FBF0
71+
72+
#define m_interrupts_ram_start 0x1FFF0000
73+
#define m_interrupts_ram_size __ram_vector_table_size__
74+
75+
#define m_data_start (m_interrupts_ram_start + m_interrupts_ram_size)
76+
#define m_data_size (0x00010000 - m_interrupts_ram_size)
77+
78+
#define m_data_2_start 0x20000000
79+
#define m_data_2_size 0x00010000
80+
81+
/* Sizes */
82+
#if (defined(__stack_size__))
83+
#define Stack_Size __stack_size__
84+
#else
85+
#define Stack_Size 0x0400
86+
#endif
87+
88+
#if (defined(__heap_size__))
89+
#define Heap_Size __heap_size__
90+
#else
91+
#define Heap_Size 0x0400
92+
#endif
93+
94+
LR_m_text m_interrupts_start m_text_size+m_interrupts_size+m_flash_config_size { ; load region size_region
95+
VECTOR_ROM m_interrupts_start m_interrupts_size { ; load address = execution address
96+
* (RESET,+FIRST)
97+
}
98+
ER_m_flash_config m_flash_config_start m_flash_config_size { ; load address = execution address
99+
* (FlashConfig)
100+
}
101+
ER_m_text m_text_start m_text_size { ; load address = execution address
102+
* (InRoot$$Sections)
103+
.ANY (+RO)
104+
}
105+
RW_m_data m_data_start m_data_size { ; RW data
106+
.ANY (+RW +ZI)
107+
}
108+
RW_m_data_2 m_data_2_start m_data_2_size-Stack_Size-Heap_Size { ; RW data
109+
.ANY (+RW +ZI)
110+
}
111+
RW_IRAM1 ((ImageLimit(RW_m_data_2) == m_data_2_start) ? ImageLimit(RW_m_data) : +0) EMPTY Heap_Size { ; Heap region growing up
112+
}
113+
VECTOR_RAM m_interrupts_ram_start EMPTY m_interrupts_ram_size {
114+
}
115+
}
116+

0 commit comments

Comments
 (0)