ads1115 only

Fork of mbed by mbed official

Committer:
<>
Date:
Fri Sep 30 16:49:46 2016 +0100
Revision:
127:25aea2a3f4e3
Parent:
122:f9eeca106725
Release 127 of the mbed library

Ports for Upcoming Targets

2669: Added u-blox C029 target https://github.com/ARMmbed/mbed-os/pull/2669
2707: [EFM32] Add IAR support for remaining Silicon Labs targets https://github.com/ARMmbed/mbed-os/pull/2707
2819: MultiTech xDot platform support - 09.26.2016 https://github.com/ARMmbed/mbed-os/pull/2819
2827: include MultiTech xDot in mbed 5 releases https://github.com/ARMmbed/mbed-os/pull/2827

Fixes and Changes

2522: Add CThunk for CM7 https://github.com/ARMmbed/mbed-os/pull/2522
2518: Enable uvisor on Beetle https://github.com/ARMmbed/mbed-os/pull/2518
2571: STM32F7 - Add asynchronous serial https://github.com/ARMmbed/mbed-os/pull/2571
2616: STM32F3xx - Add Serial Flow Control pins + enable it https://github.com/ARMmbed/mbed-os/pull/2616
2619: NUCLEO_L152RE - Add Serial Flow Control https://github.com/ARMmbed/mbed-os/pull/2619
2620: NUCLEO_F429ZI - Add SERIAL_FC macro https://github.com/ARMmbed/mbed-os/pull/2620
2666: [EFM32] Microsecond ticker optimization https://github.com/ARMmbed/mbed-os/pull/2666
2681: STM32F0xx - Add support of ADC internal channels https://github.com/ARMmbed/mbed-os/pull/2681
2687: [NRF5] Add fs_data symbol in data secton for gcc https://github.com/ARMmbed/mbed-os/pull/2687
2696: Add device_has to all nrf51 devices https://github.com/ARMmbed/mbed-os/pull/2696
2703: TARGET_NRF5: Changed 'serial_baud' implementation to support special baud rates. https://github.com/ARMmbed/mbed-os/pull/2703
2704: DISCO_L476VG: add SPI nicknames https://github.com/ARMmbed/mbed-os/pull/2704
2723: KSDK serial_api.c: Fix assertion error for ParityEven https://github.com/ARMmbed/mbed-os/pull/2723
2463: [STM32L0] Add asynchronous serial https://github.com/ARMmbed/mbed-os/pull/2463
2572: Fix STM32F407VG target name and LPC11U6X linker errors https://github.com/ARMmbed/mbed-os/pull/2572
2698: DELTA_DFBM_NQ620 target https://github.com/ARMmbed/mbed-os/pull/2698
2542: Dev spi asynch stm32f4 https://github.com/ARMmbed/mbed-os/pull/2542
2650: STM32F3 - Add low power timer https://github.com/ARMmbed/mbed-os/pull/2650
2415: [STM32F0] Add asynchronous serial https://github.com/ARMmbed/mbed-os/pull/2415
2585: Added support for ADC only pins in LPC43xx https://github.com/ARMmbed/mbed-os/pull/2585
2622: [STM32F4] Add asynchronous I2C https://github.com/ARMmbed/mbed-os/pull/2622
2719: Updated ARM linker scripts for Kinetis platforms that use SDK 2.0 https://github.com/ARMmbed/mbed-os/pull/2719
2728: Added ethernet and enabled IPV4 feature for the EVK-ODIN-W2/C029 target https://github.com/ARMmbed/mbed-os/pull/2728
2747: [LPC11U68] Fix pin interrupt select offset https://github.com/ARMmbed/mbed-os/pull/2747
2751: STM32L0xx - Add Serial Flow Control https://github.com/ARMmbed/mbed-os/pull/2751
2753: [NUCLEO_F767ZI] Add CAN capability https://github.com/ARMmbed/mbed-os/pull/2753
2759: STM32F0 - Add low power timer https://github.com/ARMmbed/mbed-os/pull/2759
2763: STM32L1 - Add low power timer https://github.com/ARMmbed/mbed-os/pull/2763
2764: STM32L4 - Add low power timer https://github.com/ARMmbed/mbed-os/pull/2764
2771: STM32L4 - Update deepsleep implementation https://github.com/ARMmbed/mbed-os/pull/2771
2775: Update KSDK SDHC driver for K64F & K66F https://github.com/ARMmbed/mbed-os/pull/2775
2792: [NUCLEO_F303ZE] MBED-OS5 capability https://github.com/ARMmbed/mbed-os/pull/2792
2762: STM32L0 - Add low power timer https://github.com/ARMmbed/mbed-os/pull/2762
2761: STM32F7 - Add low power timer https://github.com/ARMmbed/mbed-os/pull/2761

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 ** ###################################################################
<> 127:25aea2a3f4e3 4 ** Processors: MK64FN1M0CAJ12
<> 127:25aea2a3f4e3 5 ** MK64FN1M0VDC12
Kojto 120:7c328cabac7e 6 ** MK64FN1M0VLL12
Kojto 120:7c328cabac7e 7 ** MK64FN1M0VLQ12
Kojto 120:7c328cabac7e 8 ** MK64FN1M0VMD12
Kojto 120:7c328cabac7e 9 **
Kojto 120:7c328cabac7e 10 ** Compiler: Keil ARM C/C++ Compiler
Kojto 120:7c328cabac7e 11 ** Reference manual: K64P144M120SF5RM, Rev.2, January 2014
<> 127:25aea2a3f4e3 12 ** Version: rev. 2.9, 2016-03-21
<> 127:25aea2a3f4e3 13 ** Build: b160406
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 **
<> 127:25aea2a3f4e3 18 ** Copyright (c) 2016 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
<> 127:25aea2a3f4e3 53 /* Heap 1/4 of ram and stack 1/8 */
<> 127:25aea2a3f4e3 54 #define __stack_size__ 0x8000
<> 127:25aea2a3f4e3 55 #define __heap_size__ 0x10000
<> 127:25aea2a3f4e3 56
Kojto 120:7c328cabac7e 57 #if (defined(__ram_vector_table__))
Kojto 120:7c328cabac7e 58 #define __ram_vector_table_size__ 0x00000400
Kojto 120:7c328cabac7e 59 #else
Kojto 120:7c328cabac7e 60 #define __ram_vector_table_size__ 0x00000000
Kojto 120:7c328cabac7e 61 #endif
Kojto 120:7c328cabac7e 62
Kojto 120:7c328cabac7e 63 #define m_interrupts_start 0x00000000
Kojto 120:7c328cabac7e 64 #define m_interrupts_size 0x00000400
Kojto 120:7c328cabac7e 65
Kojto 120:7c328cabac7e 66 #define m_flash_config_start 0x00000400
Kojto 120:7c328cabac7e 67 #define m_flash_config_size 0x00000010
Kojto 120:7c328cabac7e 68
Kojto 120:7c328cabac7e 69 #define m_text_start 0x00000410
Kojto 120:7c328cabac7e 70 #define m_text_size 0x000FFBF0
Kojto 120:7c328cabac7e 71
Kojto 120:7c328cabac7e 72 #define m_interrupts_ram_start 0x1FFF0000
Kojto 120:7c328cabac7e 73 #define m_interrupts_ram_size __ram_vector_table_size__
Kojto 120:7c328cabac7e 74
Kojto 120:7c328cabac7e 75 #define m_data_start (m_interrupts_ram_start + m_interrupts_ram_size)
Kojto 120:7c328cabac7e 76 #define m_data_size (0x00010000 - m_interrupts_ram_size)
Kojto 120:7c328cabac7e 77
Kojto 120:7c328cabac7e 78 #define m_data_2_start 0x20000000
Kojto 120:7c328cabac7e 79 #define m_data_2_size 0x00030000
Kojto 120:7c328cabac7e 80
<> 127:25aea2a3f4e3 81 /* Sizes */
<> 127:25aea2a3f4e3 82 #if (defined(__stack_size__))
<> 127:25aea2a3f4e3 83 #define Stack_Size __stack_size__
<> 127:25aea2a3f4e3 84 #else
<> 127:25aea2a3f4e3 85 #define Stack_Size 0x0400
<> 127:25aea2a3f4e3 86 #endif
Kojto 120:7c328cabac7e 87
<> 127:25aea2a3f4e3 88 #if (defined(__heap_size__))
<> 127:25aea2a3f4e3 89 #define Heap_Size __heap_size__
<> 127:25aea2a3f4e3 90 #else
<> 127:25aea2a3f4e3 91 #define Heap_Size 0x0400
<> 127:25aea2a3f4e3 92 #endif
<> 127:25aea2a3f4e3 93
<> 127:25aea2a3f4e3 94 LR_m_text m_interrupts_start m_text_start+m_text_size-m_interrupts_start { ; load region size_region
Kojto 120:7c328cabac7e 95 VECTOR_ROM m_interrupts_start m_interrupts_size { ; load address = execution address
Kojto 120:7c328cabac7e 96 * (RESET,+FIRST)
Kojto 120:7c328cabac7e 97 }
<> 127:25aea2a3f4e3 98 ER_m_flash_config m_flash_config_start FIXED m_flash_config_size { ; load address = execution address
Kojto 120:7c328cabac7e 99 * (FlashConfig)
Kojto 120:7c328cabac7e 100 }
Kojto 120:7c328cabac7e 101 ER_m_text m_text_start m_text_size { ; load address = execution address
Kojto 120:7c328cabac7e 102 * (InRoot$$Sections)
Kojto 120:7c328cabac7e 103 .ANY (+RO)
Kojto 120:7c328cabac7e 104 }
<> 127:25aea2a3f4e3 105
<> 127:25aea2a3f4e3 106 #if (defined(__ram_vector_table__))
<> 127:25aea2a3f4e3 107 VECTOR_RAM m_interrupts_ram_start EMPTY m_interrupts_ram_size {
<> 127:25aea2a3f4e3 108 }
<> 127:25aea2a3f4e3 109 #else
<> 127:25aea2a3f4e3 110 VECTOR_RAM m_interrupts_start EMPTY 0 {
<> 127:25aea2a3f4e3 111 }
<> 127:25aea2a3f4e3 112 #endif
Kojto 120:7c328cabac7e 113 RW_m_data m_data_start m_data_size { ; RW data
Kojto 120:7c328cabac7e 114 .ANY (+RW +ZI)
Kojto 120:7c328cabac7e 115 }
<> 127:25aea2a3f4e3 116 RW_m_data_2 m_data_2_start m_data_2_size-Stack_Size-Heap_Size { ; RW data
Kojto 120:7c328cabac7e 117 .ANY (+RW +ZI)
Kojto 120:7c328cabac7e 118 }
<> 127:25aea2a3f4e3 119 RW_IRAM1 ImageLimit(RW_m_data_2) { ; Heap region growing up
Kojto 120:7c328cabac7e 120 }
Kojto 120:7c328cabac7e 121 }