atsam: Enable TCM and cache for atsame70

Signed-off-by: Luke Vuksta <wulfstawulfsta@gmail.com>
This commit is contained in:
Wulfsta
2024-09-14 13:13:36 -04:00
committed by KevinOConnor
parent 52af688245
commit 34e9ea55df
5 changed files with 188 additions and 13 deletions

View File

@@ -70,6 +70,7 @@ config CLOCK_FREQ
config FLASH_SIZE
hex
default 0x20000 if MACH_SAME70
default 0x80000
config FLASH_BOOT_ADDRESS
@@ -84,8 +85,7 @@ config RAM_START
config RAM_SIZE
hex
default 0x18000 if MACH_SAM3X
default 0x20000 if MACH_SAM4
default 0x40000 if MACH_SAME70
default 0x20000 if MACH_SAM4 || MACH_SAME70
config STACK_SIZE
int
@@ -93,9 +93,25 @@ config STACK_SIZE
config FLASH_APPLICATION_ADDRESS
hex
default 0x400000 if MACH_SAM4 || MACH_SAME70
default 0x0 if MACH_SAME70
default 0x400000 if MACH_SAM4
default 0x80000
config ARMCM_ITCM_FLASH_MIRROR_START
depends on MACH_SAME70
hex
default 0x400000
config ARMCM_DTCM_START
depends on MACH_SAME70
hex
default 0x20000000
config ARMCM_DTCM_SIZE
depends on MACH_SAME70
hex
default 0x20000
choice
prompt "Communication interface"
config ATSAM_USB