diff --git a/cpu/stm32_common/ldscripts/stm32_common.ld b/cpu/stm32_common/ldscripts/stm32_common.ld new file mode 100644 index 0000000000000000000000000000000000000000..fcd963541745731247c169f0914fa21096a1efe8 --- /dev/null +++ b/cpu/stm32_common/ldscripts/stm32_common.ld @@ -0,0 +1,28 @@ +/* + * Copyright (C) 2017 Inria + * + * 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 + * directory for more details. + */ + +/** + * @addtogroup cpu_cortexm_common + * @{ + * + * @file + * @brief Memory definitions for the Cortex-M family + * + * @author Francisco Acosta <francisco.acosta@inria.fr> + * + * @} + */ + +ccmram_length = DEFINED( ccmram_len ) ? ccmram_len : 0x0 ; + +MEMORY +{ + ccmram (rwx): ORIGIN = 0x10000000, LENGTH = ccmram_length +} + +INCLUDE cortexm.ld