The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Dependents:   hello SerialTestv11 SerialTestv12 Sierpinski ... more

mbed 2

This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.

Committer:
Kojto
Date:
Wed Jul 19 16:46:19 2017 +0100
Revision:
147:a97add6d7e64
Parent:
124:2241e3a39974
Release 147 of the mbed library.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Kojto 124:2241e3a39974 1 /*
Kojto 124:2241e3a39974 2 * BEETLE CMSIS Library
Kojto 124:2241e3a39974 3 */
Kojto 124:2241e3a39974 4 /*
Kojto 124:2241e3a39974 5 * Copyright (c) 2009-2016 ARM Limited. All rights reserved.
Kojto 124:2241e3a39974 6 *
Kojto 124:2241e3a39974 7 * SPDX-License-Identifier: Apache-2.0
Kojto 124:2241e3a39974 8 *
Kojto 124:2241e3a39974 9 * Licensed under the Apache License, Version 2.0 (the License) you may
Kojto 124:2241e3a39974 10 * not use this file except in compliance with the License.
Kojto 124:2241e3a39974 11 * You may obtain a copy of the License at
Kojto 124:2241e3a39974 12 *
Kojto 124:2241e3a39974 13 * http://www.apache.org/licenses/LICENSE-2.0
Kojto 124:2241e3a39974 14 *
Kojto 124:2241e3a39974 15 * Unless required by applicable law or agreed to in writing, software
Kojto 124:2241e3a39974 16 * distributed under the License is distributed on an AS IS BASIS, WITHOUT
Kojto 124:2241e3a39974 17 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Kojto 124:2241e3a39974 18 * See the License for the specific language governing permissions and
Kojto 124:2241e3a39974 19 * limitations under the License.
Kojto 124:2241e3a39974 20 */
Kojto 124:2241e3a39974 21 /*###ICF### Section handled by ICF editor, don't touch! ****/
Kojto 124:2241e3a39974 22 /*-Editor annotation file-*/
Kojto 124:2241e3a39974 23 /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */
Kojto 124:2241e3a39974 24 /*-Specials-*/
Kojto 124:2241e3a39974 25 define symbol __ICFEDIT_intvec_start__ = 0x00000000;
Kojto 124:2241e3a39974 26 /*-Memory Regions-*/
Kojto 124:2241e3a39974 27 define symbol __ICFEDIT_region_ROM_start__ = 0x00000000;
Kojto 124:2241e3a39974 28 define symbol __ICFEDIT_region_ROM_end__ = 0x0003FFFF;
Kojto 124:2241e3a39974 29 define symbol __ICFEDIT_region_RAM_start__ = 0x20000140;
Kojto 124:2241e3a39974 30 define symbol __ICFEDIT_region_RAM_end__ = 0x2001FFFF;
Kojto 124:2241e3a39974 31 /*-Sizes-*/
Kojto 124:2241e3a39974 32 /* Heap and Stack size */
Kojto 124:2241e3a39974 33 define symbol __ICFEDIT_size_cstack__ = 0x1000;
Kojto 124:2241e3a39974 34 define symbol __ICFEDIT_size_heap__ = 0x4000;
Kojto 124:2241e3a39974 35 /**** End of ICF editor section. ###ICF###*/
Kojto 124:2241e3a39974 36
Kojto 124:2241e3a39974 37 define memory mem with size = 4G;
Kojto 124:2241e3a39974 38 define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__];
Kojto 124:2241e3a39974 39 define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];
Kojto 124:2241e3a39974 40
Kojto 124:2241e3a39974 41 initialize by copy { readwrite };
Kojto 124:2241e3a39974 42 do not initialize { section .noinit };
Kojto 124:2241e3a39974 43
Kojto 124:2241e3a39974 44 define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
Kojto 124:2241e3a39974 45 define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
Kojto 124:2241e3a39974 46
Kojto 124:2241e3a39974 47 place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
Kojto 124:2241e3a39974 48 place in ROM_region { readonly };
Kojto 124:2241e3a39974 49 place in RAM_region { readwrite,
Kojto 124:2241e3a39974 50 block CSTACK, block HEAP };