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:
Anna Bridge
Date:
Fri Apr 28 13:09:19 2017 +0100
Revision:
141:794e51388b66
Parent:
129:0ab6a29f35bf
Release 141 of the mbed library

Ports for Upcoming Targets


Fixes and Changes

4008: [NUC472/M453] Support Bootloader and FlashIAP https://github.com/ARMmbed/mbed-os/pull/4008
4102: Add SCL and SDA defs for I2C[0-2]; redefine I2C_[SCL,SDA] to I2C2 https://github.com/ARMmbed/mbed-os/pull/4102
4118: STM32F4 Internal ADC channels rework https://github.com/ARMmbed/mbed-os/pull/4118
4126: STM32F4 : remove SERIAL_TX and SERIAL_RX from available pins https://github.com/ARMmbed/mbed-os/pull/4126
4148: Revert "STM32F4 Internal ADC channels rework" https://github.com/ARMmbed/mbed-os/pull/4148
4152: STM32F4 Internal ADC channels rework https://github.com/ARMmbed/mbed-os/pull/4152
4074: [Silicon Labs] Update pinout https://github.com/ARMmbed/mbed-os/pull/4074
4133: U-BLOX_C030: Default XTAL is now 12MHz onboard. Option to use Debug 8MHz https://github.com/ARMmbed/mbed-os/pull/4133
4142: EFM32: Fixed `pwmout_all_inactive` being inversed https://github.com/ARMmbed/mbed-os/pull/4142
4016: [NRF5]: fix rtc overflow-while-set-timestamp issue https://github.com/ARMmbed/mbed-os/pull/4016
4031: STM32 increase IAR heap size for big RAM targets https://github.com/ARMmbed/mbed-os/pull/4031
4137: MCUXpresso: Update ARM linker files to eliminate reserving RAM for stack & heap https://github.com/ARMmbed/mbed-os/pull/4137
4176: STM32L4 Internal ADC channels rework https://github.com/ARMmbed/mbed-os/pull/4176
4154: STM32F7 Internal ADC channels rework https://github.com/ARMmbed/mbed-os/pull/4154
4174: [NRF52840]: fix rtc overflow-while-set-timestamp issue https://github.com/ARMmbed/mbed-os/pull/4174
4180: [UBLOX_C030] create target hierarchy for the specific versions of the C030 board https://github.com/ARMmbed/mbed-os/pull/4180
4153: STM32F2: Internal ADC channels rework https://github.com/ARMmbed/mbed-os/pull/4153

Who changed what in which revision?

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