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:
Fri Aug 12 13:04:35 2016 +0200
Revision:
123:b0220dba8be7
Child:
127:25aea2a3f4e3
Release 123 of the mbed library

Changes:
- new targets: nucleo_f207zg, beetle, nrf51_dk, hexiwear,
nuvoton nuc472, vk rz a1h
- ST - fix timer interrupt handler, sleep api fix
- NXP - lpc15xx us ticker fix
- Nordic - analogin fixes, LF clock init addition, enable i2c async

Who changed what in which revision?

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