Skip to content

Instantly share code, notes, and snippets.

@wprimett
Created August 29, 2018 13:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wprimett/72768262e9b4c1a2212f71aaad4d2aa9 to your computer and use it in GitHub Desktop.
Save wprimett/72768262e9b4c1a2212f71aaad4d2aa9 to your computer and use it in GitHub Desktop.
/******************************************************************************
*
* copyright (c) 2013 texas instruments incorporated
*
* All rights reserved. Property of Texas Instruments Incorporated.
* Restricted rights to use, duplicate or disclose this code are
* granted through contract.
*
* The program may not be used without the written permission of
* Texas Instruments Incorporated or against the terms and conditions
* stipulated in the agreement under which this program has been supplied,
* and under no circumstances can it be used with non-TI connectivity device.
*
******************************************************************************/
/* ---HEAP_SIZE CHANGED FOR BITALINO R-IoT-- */
HEAP_SIZE = 0x00007500;
MEMORY
{
SRAM (rwx) : ORIGIN = 0x20004000, LENGTH = 0x00030000
}
SECTIONS
{
.text :
{
_text = .;
KEEP(*(.intvecs))
*(.text*)
*(.rodata*)
*(.ARM.extab* .gnu.linkonce.armextab.*)
/* ---ENERGIA C++ Linking Specific-- */
. = ALIGN(4);
KEEP(*(.init))
. = ALIGN(4);
__preinit_array_start = .;
KEEP (*(SORT(.preinit_array*)))
KEEP (*(.preinit_array))
__preinit_array_end = .;
. = ALIGN(4);
__init_array_start = .;
KEEP (*(SORT(.init_array.*)))
KEEP (*(.init_array))
__init_array_end = .;
. = ALIGN(4);
KEEP(*(.fini))
. = ALIGN(4);
__fini_array_start = .;
KEEP (*(.fini_array))
KEEP (*(SORT(.fini_array.*)))
__fini_array_end = .;
/* ---end ENERGIA C++ Linking Specific-- */
. = ALIGN(8);
_etext = .;
} > SRAM
PROVIDE_HIDDEN (__exidx_start = .);
.ARM : {
__exidx_start = .;
*(.ARM.exidx*)
__exidx_end = .;
} > SRAM
__init_data = .;
.data : AT(__init_data)
{
_data = .;
*(.data*)
. = ALIGN (8);
_edata = .;
} > SRAM
.bss :
{
_bss = .;
*(.bss*)
*(COMMON)
_ebss = .;
} > SRAM
.heap :
{
_heap = .;
. = . + HEAP_SIZE;
. = ALIGN(8);
_eheap = .;
}
}
PROVIDE(end = _end);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment