CMSIS-DSP: Improvement to AC6+FVP support in test framework.

pull/19/head
Christophe Favergeon 5 years ago
parent 00368be949
commit 62425781d0

@ -7,7 +7,7 @@
#include "mem_ARMv81MML.h"
LOAD_REGION 0x0
LOAD_REGION 0x10000000
{
CODE +0 0x100000
{

@ -0,0 +1,5 @@
# README
Options to use with the FVP
-C cpu0.SECEXT=1 -C fvp_mps2.mps2_visualisation.disable-visualisation=1 -q -C cpu0.MVE=2 -C cpu0.semihosting-enable=1 -a cpu0=Testing

@ -463,6 +463,8 @@ endif()
target_sources(FrameworkLib PRIVATE ${FRAMEWORKSRC})
target_sources(FrameworkLib PRIVATE ${FRAMEWORKMODESRC})
target_compile_definitions(FrameworkLib PRIVATE ${PLATFORMOPT})
if (DISABLEFLOAT16)
target_compile_definitions(FrameworkLib PRIVATE DISABLEFLOAT16)
endif()

@ -162,7 +162,15 @@ Testing::cycles_t getCycles()
{
result = SYSTICK_INITIAL_VALUE - (v - startCycles);
}
/* SysTick tested and tuned on IPSS.
On other FVP, the value is forced to 0
because measurement is wrong.
*/
#if defined(NORMALFVP)
return(0);
#else
return(result);
#endif
#endif
#if defined(CORTEXA) || defined(CORTEXR)

Loading…
Cancel
Save