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:
Tue May 10 12:23:43 2016 -0500
Revision:
120:7c328cabac7e
Child:
122:f9eeca106725
Release 120 of the mbed library

Changes:
- ST - STMF3XX/F4XX - directories removal
- STMF3 - pwm range fix
- STMF1 - Cube driver update
- Renesas - RZ_A1H - async i2c, serial and spi addition
- Freescale - KSDK2 update

Who changed what in which revision?

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