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.
TARGET_K22F/TOOLCHAIN_ARM_STD/MK22FN512xxx12.sct@122:f9eeca106725, 2016-07-07 (annotated)
- Committer:
- Kojto
- Date:
- Thu Jul 07 14:34:11 2016 +0100
- Revision:
- 122:f9eeca106725
- Parent:
- 120:7c328cabac7e
- Child:
- 127:25aea2a3f4e3
Release 122 of the mbed library
Changes:
- new targets - Nucleo L432KC, Beetle, Nucleo F446ZE, Nucleo L011K4
- Thread safety addition - mbed API should contain a statement about thread safety
- critical section API addition
- CAS API (core_util_atomic_incr/decr)
- DEVICE_ are generated from targets.json file, device.h deprecated
- Callback replaces FunctionPointer to provide std like interface
- mbed HAL API docs improvements
- toolchain - prexif attributes with MBED_
- add new attributes - packed, weak, forcedinline, align
- target.json - contains targets definitions
- ST - L1XX - Cube update to 1.5
- SPI clock selection fix (clock from APB domain)
- F7 - Cube update v1.4.0
- L0 - baudrate init fix
- L1 - Cube update v1.5
- F3 - baudrate init fix, 3 targets CAN support
- F4 - Cube update v1.12.0, 3 targets CAN support
- L4XX - Cube update v1.5.1
- F0 - update Cube to v1.5.0
- L4 - 2 targets (L476RG/VG) CAN support
- NXP - pwm clock fix for KSDK2 MCU
- LPC2368 - remove ARM toolchain support - due to regression
- KSDK2 - fix SPI , I2C address and repeat start
- Silabs - some fixes backported from mbed 3
- Renesas - RZ_A1H - SystemCoreClockUpdate addition
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Kojto | 120:7c328cabac7e | 1 | #! armcc -E |
Kojto | 120:7c328cabac7e | 2 | /* |
Kojto | 120:7c328cabac7e | 3 | ** ################################################################### |
Kojto | 120:7c328cabac7e | 4 | ** Processors: MK22FN512CAP12 |
Kojto | 120:7c328cabac7e | 5 | ** MK22FN512VDC12 |
Kojto | 120:7c328cabac7e | 6 | ** MK22FN512VLH12 |
Kojto | 120:7c328cabac7e | 7 | ** MK22FN512VLL12 |
Kojto | 120:7c328cabac7e | 8 | ** MK22FN512VMP12 |
Kojto | 120:7c328cabac7e | 9 | ** |
Kojto | 120:7c328cabac7e | 10 | ** Compiler: Keil ARM C/C++ Compiler |
Kojto | 120:7c328cabac7e | 11 | ** Reference manual: K22P121M120SF7RM, Rev. 1, March 24, 2014 |
Kojto | 120:7c328cabac7e | 12 | ** Version: rev. 2.8, 2015-02-19 |
Kojto | 120:7c328cabac7e | 13 | ** Build: b151009 |
Kojto | 120:7c328cabac7e | 14 | ** |
Kojto | 120:7c328cabac7e | 15 | ** Abstract: |
Kojto | 120:7c328cabac7e | 16 | ** Linker file for the Keil ARM C/C++ Compiler |
Kojto | 120:7c328cabac7e | 17 | ** |
Kojto | 120:7c328cabac7e | 18 | ** Copyright (c) 2015 Freescale Semiconductor, Inc. |
Kojto | 120:7c328cabac7e | 19 | ** All rights reserved. |
Kojto | 120:7c328cabac7e | 20 | ** |
Kojto | 120:7c328cabac7e | 21 | ** Redistribution and use in source and binary forms, with or without modification, |
Kojto | 120:7c328cabac7e | 22 | ** are permitted provided that the following conditions are met: |
Kojto | 120:7c328cabac7e | 23 | ** |
Kojto | 120:7c328cabac7e | 24 | ** o Redistributions of source code must retain the above copyright notice, this list |
Kojto | 120:7c328cabac7e | 25 | ** of conditions and the following disclaimer. |
Kojto | 120:7c328cabac7e | 26 | ** |
Kojto | 120:7c328cabac7e | 27 | ** o Redistributions in binary form must reproduce the above copyright notice, this |
Kojto | 120:7c328cabac7e | 28 | ** list of conditions and the following disclaimer in the documentation and/or |
Kojto | 120:7c328cabac7e | 29 | ** other materials provided with the distribution. |
Kojto | 120:7c328cabac7e | 30 | ** |
Kojto | 120:7c328cabac7e | 31 | ** o Neither the name of Freescale Semiconductor, Inc. nor the names of its |
Kojto | 120:7c328cabac7e | 32 | ** contributors may be used to endorse or promote products derived from this |
Kojto | 120:7c328cabac7e | 33 | ** software without specific prior written permission. |
Kojto | 120:7c328cabac7e | 34 | ** |
Kojto | 120:7c328cabac7e | 35 | ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND |
Kojto | 120:7c328cabac7e | 36 | ** ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
Kojto | 120:7c328cabac7e | 37 | ** WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
Kojto | 120:7c328cabac7e | 38 | ** DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR |
Kojto | 120:7c328cabac7e | 39 | ** ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
Kojto | 120:7c328cabac7e | 40 | ** (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
Kojto | 120:7c328cabac7e | 41 | ** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON |
Kojto | 120:7c328cabac7e | 42 | ** ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
Kojto | 120:7c328cabac7e | 43 | ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
Kojto | 120:7c328cabac7e | 44 | ** SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
Kojto | 120:7c328cabac7e | 45 | ** |
Kojto | 120:7c328cabac7e | 46 | ** http: www.freescale.com |
Kojto | 120:7c328cabac7e | 47 | ** mail: support@freescale.com |
Kojto | 120:7c328cabac7e | 48 | ** |
Kojto | 120:7c328cabac7e | 49 | ** ################################################################### |
Kojto | 120:7c328cabac7e | 50 | */ |
Kojto | 120:7c328cabac7e | 51 | #define __ram_vector_table__ 1 |
Kojto | 120:7c328cabac7e | 52 | |
Kojto | 120:7c328cabac7e | 53 | #if (defined(__ram_vector_table__)) |
Kojto | 120:7c328cabac7e | 54 | #define __ram_vector_table_size__ 0x00000400 |
Kojto | 120:7c328cabac7e | 55 | #else |
Kojto | 120:7c328cabac7e | 56 | #define __ram_vector_table_size__ 0x00000000 |
Kojto | 120:7c328cabac7e | 57 | #endif |
Kojto | 120:7c328cabac7e | 58 | |
Kojto | 120:7c328cabac7e | 59 | #define m_interrupts_start 0x00000000 |
Kojto | 120:7c328cabac7e | 60 | #define m_interrupts_size 0x00000400 |
Kojto | 120:7c328cabac7e | 61 | |
Kojto | 120:7c328cabac7e | 62 | #define m_flash_config_start 0x00000400 |
Kojto | 120:7c328cabac7e | 63 | #define m_flash_config_size 0x00000010 |
Kojto | 120:7c328cabac7e | 64 | |
Kojto | 120:7c328cabac7e | 65 | #define m_text_start 0x00000410 |
Kojto | 120:7c328cabac7e | 66 | #define m_text_size 0x0007FBF0 |
Kojto | 120:7c328cabac7e | 67 | |
Kojto | 120:7c328cabac7e | 68 | #define m_interrupts_ram_start 0x1FFF0000 |
Kojto | 120:7c328cabac7e | 69 | #define m_interrupts_ram_size __ram_vector_table_size__ |
Kojto | 120:7c328cabac7e | 70 | |
Kojto | 120:7c328cabac7e | 71 | #define m_data_start (m_interrupts_ram_start + m_interrupts_ram_size) |
Kojto | 120:7c328cabac7e | 72 | #define m_data_size (0x00010000 - m_interrupts_ram_size) |
Kojto | 120:7c328cabac7e | 73 | |
Kojto | 120:7c328cabac7e | 74 | #define m_data_2_start 0x20000000 |
Kojto | 120:7c328cabac7e | 75 | #define m_data_2_size 0x00010000 |
Kojto | 120:7c328cabac7e | 76 | |
Kojto | 120:7c328cabac7e | 77 | |
Kojto | 120:7c328cabac7e | 78 | LR_m_text m_interrupts_start m_text_size+m_interrupts_size+m_flash_config_size { ; load region size_region |
Kojto | 120:7c328cabac7e | 79 | VECTOR_ROM m_interrupts_start m_interrupts_size { ; load address = execution address |
Kojto | 120:7c328cabac7e | 80 | * (RESET,+FIRST) |
Kojto | 120:7c328cabac7e | 81 | } |
Kojto | 120:7c328cabac7e | 82 | ER_m_flash_config m_flash_config_start m_flash_config_size { ; load address = execution address |
Kojto | 120:7c328cabac7e | 83 | * (FlashConfig) |
Kojto | 120:7c328cabac7e | 84 | } |
Kojto | 120:7c328cabac7e | 85 | ER_m_text m_text_start m_text_size { ; load address = execution address |
Kojto | 120:7c328cabac7e | 86 | * (InRoot$$Sections) |
Kojto | 120:7c328cabac7e | 87 | .ANY (+RO) |
Kojto | 120:7c328cabac7e | 88 | } |
Kojto | 120:7c328cabac7e | 89 | RW_m_data m_data_start m_data_size { ; RW data |
Kojto | 120:7c328cabac7e | 90 | .ANY (+RW +ZI) |
Kojto | 120:7c328cabac7e | 91 | } |
Kojto | 122:f9eeca106725 | 92 | RW_IRAM1 m_data_2_start m_data_2_size { ; RW data |
Kojto | 120:7c328cabac7e | 93 | .ANY (+RW +ZI) |
Kojto | 120:7c328cabac7e | 94 | } |
Kojto | 120:7c328cabac7e | 95 | VECTOR_RAM m_interrupts_ram_start EMPTY m_interrupts_ram_size { |
Kojto | 120:7c328cabac7e | 96 | } |
Kojto | 120:7c328cabac7e | 97 | } |
Kojto | 120:7c328cabac7e | 98 |