From 93196c0fd72af1e34b52692a20e16b5f30296283 Mon Sep 17 00:00:00 2001 From: Christophe Favergeon Date: Fri, 17 Jul 2020 14:56:00 +0200 Subject: [PATCH] CMSIS-DSP: Corrected build issue with Neon. --- Platforms/IPSS/ARMCM4/LinkScripts/GCC/lnk.ld | 1 + Source/configDsp.cmake | 3 ++- configCore.cmake | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Platforms/IPSS/ARMCM4/LinkScripts/GCC/lnk.ld b/Platforms/IPSS/ARMCM4/LinkScripts/GCC/lnk.ld index 4e1febd8..1908abaf 100755 --- a/Platforms/IPSS/ARMCM4/LinkScripts/GCC/lnk.ld +++ b/Platforms/IPSS/ARMCM4/LinkScripts/GCC/lnk.ld @@ -216,6 +216,7 @@ SECTIONS . = ALIGN(8); __end__ = .; PROVIDE(end = .); + __HeapBase = .; . = . + __HEAP_SIZE; . = ALIGN(8); __HeapLimit = .; diff --git a/Source/configDsp.cmake b/Source/configDsp.cmake index e5b01954..85fc00f6 100644 --- a/Source/configDsp.cmake +++ b/Source/configDsp.cmake @@ -23,7 +23,8 @@ if (AUTOVECTORIZE) endif() if (NEON OR NEONEXPERIMENTAL) - target_include_directories(${project} PRIVATE "${root}/CMSIS/DSP/ComputeLibrary/Include") + # Used in arm_vec_math.h + target_include_directories(${project} PUBLIC "${root}/CMSIS/DSP/ComputeLibrary/Include") endif() if (MVEFLOAT16) diff --git a/configCore.cmake b/configCore.cmake index 18ccbe06..88bb2f91 100644 --- a/configCore.cmake +++ b/configCore.cmake @@ -7,7 +7,7 @@ SET(CORTEXM ON) option(HARDFP "Hard floating point" ON) option(LITTLEENDIAN "Little endian" ON) option(FASTMATHCOMPUTATIONS "Fast Math enabled" OFF) -option(FLOAT16 "Scalar float16 supported" OFF) +option(FLOAT16 "Scalar float16 supported by the core" OFF) option(HYBRID "Hybrid instrinsics" ON) # More detailed identification for benchmark results