Skip to content
Snippets Groups Projects
Unverified Commit d9db2584 authored by Gaëtan Harter's avatar Gaëtan Harter Committed by cladmi
Browse files

cortexm_common/ldscript: re-use _rom_offset variable name

parent 67e3b3a8
No related branches found
No related tags found
No related merge requests found
/* /*
* Copyright (C) 2017 Inria * Copyright (C) 2017 Inria
* 2018 Freie Universität Berlin
* *
* This file is subject to the terms and conditions of the GNU Lesser * This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level * General Public License v2.1. See the file LICENSE in the top level
...@@ -14,16 +15,17 @@ ...@@ -14,16 +15,17 @@
* @brief Memory definitions for the Cortex-M family * @brief Memory definitions for the Cortex-M family
* *
* @author Francisco Acosta <francisco.acosta@inria.fr> * @author Francisco Acosta <francisco.acosta@inria.fr>
* Gaëtan Harter <gaetan.harter@inria.fr>
* *
* @} * @}
*/ */
_boot_offset = DEFINED( _rom_offset ) ? _rom_offset : 0x0 ; _rom_offset = DEFINED( _rom_offset ) ? _rom_offset : 0x0;
MEMORY MEMORY
{ {
rom (rx) : ORIGIN = _rom_start_addr + _boot_offset, LENGTH = _rom_length - _boot_offset rom (rx) : ORIGIN = _rom_start_addr + _rom_offset, LENGTH = _rom_length - _rom_offset
ram (w!rx) : ORIGIN = _ram_start_addr, LENGTH = _ram_length ram (w!rx) : ORIGIN = _ram_start_addr, LENGTH = _ram_length
} }
INCLUDE cortexm_base.ld INCLUDE cortexm_base.ld
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment