gonzui


Format: Advanced Search

mtkernel_3/etc/linker/iote_stm32l4/tkernel_map.ldbare sourcepermlink (0.01 seconds)

Search this content:

    1: /*
    2:  *----------------------------------------------------------------------
    3:  *    micro T-Kernel 3.00.03
    4:  *
    5:  *    Copyright (C) 2006-2021 by Ken Sakamura.
    6:  *    This software is distributed under the T-License 2.2.
    7:  *----------------------------------------------------------------------
    8:  *
    9:  *    Released by TRON Forum(http://www.tron.org) at 2021/03/31.
   10:  *
   11:  *----------------------------------------------------------------------
   12:  */
   13: 
   14: /*
   15:  *      tkernel_map.ld
   16:  *      micro T-Kernel linker script for STM32L4 IoT-Engine
   17:  */
   18: 
   19: ENTRY(Reset_Handler)
   20: 
   21: /* Memories definition */
   22: MEMORY
   23: {
   24:   RAM (xrw)             : ORIGIN = 0x20000000, LENGTH = 96K
   25:   ROM (rx)              : ORIGIN = 0x08000000, LENGTH = 1024K
   26: }
   27: 
   28: SECTIONS {
   29:         .text : {
   30:                 . = ALIGN(8);
   31:                 __vector_org = .;
   32:                 *(.vector)
   33:                 __start = .;
   34:                 *(.text)
   35:                 *(.text.*)
   36:                 *(.rodata)
   37:                 *(.rodata.*)
   38:         } >ROM
   39:         . = ALIGN(4);
   40:         __data_org = .;
   41:         vector 0x20000000 (NOLOAD) : {
   42:                 __vector_start = .;
   43:                 *(.data_vector)
   44:                 __vector_end = .;
   45:         } >RAM
   46:         .data : AT(__data_org) {
   47:                 __data_start = .;
   48:                 *(.data)
   49:                 *(.data.*)
   50:                 . = ALIGN(4);
   51:                 __data_end = .;
   52:         } >RAM
   53:         .bss ALIGN(4) (NOLOAD) : {
   54:                 __bss_start = .;
   55:                 PROVIDE (__noinit_start = .);
   56:                 *(.noinit)
   57:                 PROVIDE (__noinit_end = .);
   58:                 *(.bss)
   59:                 *(.bss.*)
   60:                 *(COMMON)
   61:                 . = ALIGN(4);
   62:                 __bss_end = .;
   63:                 __end = .;
   64:         } >RAM
   65: }
   66: