Sfoglia il codice sorgente

CMSIS-DSP: Corrected build issue with Neon.

Christophe Favergeon 5 anni fa
parent
commit
87e6d3b3fe

+ 1 - 0
CMSIS/DSP/Platforms/IPSS/ARMCM4/LinkScripts/GCC/lnk.ld

@@ -216,6 +216,7 @@ SECTIONS
     . = ALIGN(8);
     __end__ = .;
     PROVIDE(end = .);
+    __HeapBase = .;
     . = . + __HEAP_SIZE;
     . = ALIGN(8);
     __HeapLimit = .;

+ 2 - 1
CMSIS/DSP/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)

+ 1 - 1
CMSIS/DSP/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