CMSIS-DSP: Corrected issue in test framework to support experimental configs.

pull/19/head
Christophe Favergeon 6 years ago
parent 3c4824b28f
commit b6f57a4b9b

@ -14,7 +14,7 @@
; </h>
*----------------------------------------------------------------------------*/
#define __ROM_BASE 0x10000000
#define __ROM_SIZE 0x00100000
#define __ROM_SIZE 0x00200000
/*--------------------- Embedded RAM Configuration ---------------------------
; <h> RAM Configuration

@ -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)

@ -1,3 +1,5 @@
include(CMakePrintHelpers)
if(EXPERIMENTAL)
list(APPEND CMAKE_MODULE_PATH ${EXPROOT})
include(experimental)

Loading…
Cancel
Save