mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 00:09:46 +01:00
cpu/sam_common: make use of cortexm.ld
This commit is contained in:
parent
516b4b6c7f
commit
338f0ff604
@ -4,7 +4,12 @@ CFLAGS += -DCPU_FAM_$(call uppercase_and_underscore,$(CPU_FAM))
|
||||
# this CPU implementation doesn't use CMSIS initialization
|
||||
CFLAGS += -DDONT_USE_CMSIS_INIT
|
||||
|
||||
# for the sam[drl] CPUs we hold all linkerscripts in the sam0 common folder
|
||||
LINKFLAGS += -L$(RIOTCPU)/sam_common/ldscripts
|
||||
ROM_START_ADDR ?= 0x80000
|
||||
RAM_START_ADDR ?= 0x20070000
|
||||
|
||||
ROM_LEN ?= 0x80000
|
||||
RAM_LEN ?= 0x18000
|
||||
|
||||
LINKER_SCRIPT ?= cortexm.ld
|
||||
|
||||
INCLUDES += -I$(RIOTCPU)/sam_common/include
|
||||
|
@ -1,27 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2015 Freie Universität Berlin
|
||||
*
|
||||
* 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_sam3
|
||||
* @{
|
||||
*
|
||||
* @file
|
||||
* @brief Memory definitions for the SAM3X8E
|
||||
*
|
||||
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
|
||||
*
|
||||
* @}
|
||||
*/
|
||||
|
||||
MEMORY
|
||||
{
|
||||
rom (rx) : ORIGIN = 0x00080000, LENGTH = 512K
|
||||
ram (w!rx) : ORIGIN = 0x20070000, LENGTH = 96K
|
||||
}
|
||||
|
||||
INCLUDE cortexm_base.ld
|
Loading…
Reference in New Issue
Block a user