diff options
author | Davide Grohmann <davide.grohmann@arm.com> | 2022-05-06 16:35:16 +0200 |
---|---|---|
committer | Davide Grohmann <davide.grohmann@arm.com> | 2022-05-12 19:07:46 +0200 |
commit | a8832ccaa0c5183f70a0c2aee8ae86e7bb5418ff (patch) | |
tree | a3f79f6936c0596f2b2a05a6cca36e2e5be266e3 /targets | |
parent | e6df5a799b5b0f3f2f7aeb7cbd071722ca2b80fb (diff) | |
download | ethos-u-core-platform-a8832ccaa0c5183f70a0c2aee8ae86e7bb5418ff.tar.gz |
Add support for Cortex-M85
Rely on CMSIS code for initializing Cortex-M85 devices.
Fallback to mcpu=cortex-m55 for gcc until support for cortex-m85 is
available.
Change-Id: I8b47563c3f0f44e35735a569f2abf8a308948e67
Diffstat (limited to 'targets')
-rw-r--r-- | targets/corstone-310/CMakeLists.txt | 3 | ||||
-rw-r--r-- | targets/corstone-310/platform.ld | 4 | ||||
-rw-r--r-- | targets/corstone-310/platform.scatter | 4 |
3 files changed, 5 insertions, 6 deletions
diff --git a/targets/corstone-310/CMakeLists.txt b/targets/corstone-310/CMakeLists.txt index 446a424..5583e3c 100644 --- a/targets/corstone-310/CMakeLists.txt +++ b/targets/corstone-310/CMakeLists.txt @@ -20,8 +20,7 @@ # Default parameters ############################################################################# -# TODO Olympus CPU is backwards compatible with Cortex-M55 -set(TARGET_CPU "cortex-m55" CACHE INTERNAL "") +set(TARGET_CPU "cortex-m85" CACHE INTERNAL "") if (NOT CMAKE_TOOLCHAIN_FILE) set(CMAKE_TOOLCHAIN_FILE "${CMAKE_CURRENT_SOURCE_DIR}/../../cmake/toolchain/armclang.cmake") diff --git a/targets/corstone-310/platform.ld b/targets/corstone-310/platform.ld index 9d41f8f..a854afb 100644 --- a/targets/corstone-310/platform.ld +++ b/targets/corstone-310/platform.ld @@ -145,8 +145,8 @@ SECTIONS { KEEP(*(.vectors)) *crt* (.text*) - *startup_ARMCM55.c.obj (.text*) - *system_ARMCM55.c.obj (.text*) + *startup_ARMCM85.c.obj (.text*) + *system_ARMCM85.c.obj (.text*) *target.cpp.obj (.text*) KEEP(*(.init)) diff --git a/targets/corstone-310/platform.scatter b/targets/corstone-310/platform.scatter index f23f3a3..94d34e1 100644 --- a/targets/corstone-310/platform.scatter +++ b/targets/corstone-310/platform.scatter @@ -115,8 +115,8 @@ APP_IMAGE BRAM_START BRAM_SIZE { *.o (RESET, +First) *(InRoot$$Sections) - startup_ARMCM55.o - system_ARMCM55.o + startup_ARMCM85.o + system_ARMCM85.o target.o .ANY1 (+RO +RW +ZI) } |