diff --git a/Platforms/FVP/ARMv81MML/LinkScripts/AC6/lnk.sct b/Platforms/FVP/ARMv81MML/LinkScripts/AC6/lnk.sct index 4cc0dc92..82330f67 100755 --- a/Platforms/FVP/ARMv81MML/LinkScripts/AC6/lnk.sct +++ b/Platforms/FVP/ARMv81MML/LinkScripts/AC6/lnk.sct @@ -14,7 +14,7 @@ ; *----------------------------------------------------------------------------*/ #define __ROM_BASE 0x10000000 -#define __ROM_SIZE 0x00100000 +#define __ROM_SIZE 0x00200000 /*--------------------- Embedded RAM Configuration --------------------------- ; RAM Configuration diff --git a/Testing/CMakeLists.txt b/Testing/CMakeLists.txt index acb79a3d..42e189c1 100644 --- a/Testing/CMakeLists.txt +++ b/Testing/CMakeLists.txt @@ -77,7 +77,11 @@ project(Testing) set(ROOT ${CMAKE_CURRENT_SOURCE_DIR}/../../..) - +# Change behavior of configBoot for scatter file +# We use the linker files from older test framework because bigger sections are needed. +# We should migrate the linker files to this new framework. +set(TESTFRAMEWORK ON) +include(config) add_subdirectory(../Source bin_dsp) add_subdirectory(${ROOT}/CMSIS/NN/Source bin_nn) @@ -167,11 +171,7 @@ set(FRAMEWORKSRC FrameworkSource/Generators.cpp FrameworkSource/Calibrate.cpp ) -# Change behavior of configBoot for scatter file -# We use the linker files from older test framework because bigger sections are needed. -# We should migrate the linker files to this new framework. -set(TESTFRAMEWORK ON) -include(config) + # With -O2, generated code is crashing on some cycle accurate models. # (cpp part) diff --git a/config.cmake b/config.cmake index ebe23029..693bf906 100755 --- a/config.cmake +++ b/config.cmake @@ -1,3 +1,5 @@ +include(CMakePrintHelpers) + if(EXPERIMENTAL) list(APPEND CMAKE_MODULE_PATH ${EXPROOT}) include(experimental)