Skip to content

Commit 91e83cb

Browse files
Corrected issue ARM-software#133 : missing const qualifier
1 parent 600dea7 commit 91e83cb

18 files changed

+50
-30
lines changed

Include/dsp/interpolation_functions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ extern "C"
162162
*
163163
*/
164164
float32_t arm_linear_interp_f32(
165-
arm_linear_interp_instance_f32 * S,
165+
const arm_linear_interp_instance_f32 * S,
166166
float32_t x);
167167

168168
/**

Include/dsp/interpolation_functions_f16.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ typedef struct
7070
* @return y processed output sample.
7171
*/
7272
float16_t arm_linear_interp_f16(
73-
arm_linear_interp_instance_f16 * S,
73+
const arm_linear_interp_instance_f16 * S,
7474
float16_t x);
7575

7676
/**

Source/InterpolationFunctions/arm_linear_interp_f16.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
*
5050
*/
5151
float16_t arm_linear_interp_f16(
52-
arm_linear_interp_instance_f16 * S,
52+
const arm_linear_interp_instance_f16 * S,
5353
float16_t x)
5454
{
5555
float16_t y;

Source/InterpolationFunctions/arm_linear_interp_f32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
*
7878
*/
7979
float32_t arm_linear_interp_f32(
80-
arm_linear_interp_instance_f32 * S,
80+
const arm_linear_interp_instance_f32 * S,
8181
float32_t x)
8282
{
8383
float32_t y;

Testing/cmsis_build/boot.clayer.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ layer:
1010
- +VHT-Corstone-310
1111
- component: Device:Startup&C Startup
1212
not-for-context:
13-
- +VHT-Corstone-300
13+
- +VHT-Corstone-300
1414
- +VHT-Corstone-300-NOMVE
1515
- +VHT-Corstone-310
1616
- +FVP_A5Neon
@@ -40,21 +40,20 @@ layer:
4040
for-context:
4141
- +VHT-Corstone-300
4242
- +VHT-Corstone-300-NOMVE
43-
- +VHT-Corstone-310
4443
- component: ARM::Native Driver:DMA350 Remap
4544
for-context:
4645
- +VHT-Corstone-310
47-
- component: ARM::Native Driver:Timeout
46+
- component: ARM::Native Driver:SysCounter
4847
for-context:
4948
- +VHT-Corstone-300
5049
- +VHT-Corstone-300-NOMVE
5150
- +VHT-Corstone-310
52-
- component: ARM::Native Driver:SysCounter
51+
- component: ARM::Native Driver:SysTimer
5352
for-context:
5453
- +VHT-Corstone-300
5554
- +VHT-Corstone-300-NOMVE
5655
- +VHT-Corstone-310
57-
- component: ARM::Native Driver:SysTimer
56+
- component: ARM::Native Driver:Timeout
5857
for-context:
5958
- +VHT-Corstone-300
6059
- +VHT-Corstone-300-NOMVE

Testing/cmsis_build/runall.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,8 @@ def runAVH(build,core):
196196
#allSuites=[("StatsTestsQ7","../Output.pickle")]
197197

198198
allSuites=[
199-
("MISCF32","../Output.pickle"),
199+
("InterpolationTestsF32","../Output.pickle"),
200+
("InterpolationTestsF16","../Output_f16.pickle"),
200201
#("MISCQ15","../Output.pickle"),
201202
#("MISCQ7","../Output.pickle"),
202203
#("FIRF16","../Output_f16.pickle")

Testing/cmsis_build/test.Release+VHT-Corstone-300-NOMVE.cprj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
22
<cprj schemaVersion="2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="CPRJ.xsd">
3-
<created timestamp="2023-11-27T06:42:48" tool="csolution 2.0.0"/>
3+
<created timestamp="2024-01-10T08:28:29" tool="csolution 2.2.1"/>
44

55
<info isLayer="false">
66
<description>Automatically generated project</description>
@@ -15,7 +15,7 @@
1515
<compiler name="AC6" version="6.22.0:6.22.0"/>
1616
</compilers>
1717

18-
<target Ddsp="DSP" Dfpu="DP_FPU" Dmve="FP_MVE" Dname="SSE-300-MPS3" Dtz="TZ" Dvendor="ARM:82">
18+
<target Bname="V2M-MPS3-SSE-300-FVP" Bvendor="ARM" Ddsp="DSP" Dfpu="DP_FPU" Dmve="FP_MVE" Dname="SSE-300-MPS3" Dtz="TZ" Dvendor="ARM:82">
1919
<output elf="test.axf" intdir="tmp/test/VHT-Corstone-300-NOMVE/Release" name="test" outdir="out/test/VHT-Corstone-300-NOMVE/Release" rtedir="RTE" type="exe"/>
2020
<options debug="on"/>
2121
<asflags add="-masm=auto" compiler="AC6"/>

Testing/cmsis_build/test.Release+VHT-Corstone-300.cprj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
22
<cprj schemaVersion="2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="CPRJ.xsd">
3-
<created timestamp="2023-11-27T06:42:48" tool="csolution 2.0.0"/>
3+
<created timestamp="2024-01-10T08:28:29" tool="csolution 2.2.1"/>
44

55
<info isLayer="false">
66
<description>Automatically generated project</description>
@@ -15,7 +15,7 @@
1515
<compiler name="AC6" version="6.22.0:6.22.0"/>
1616
</compilers>
1717

18-
<target Ddsp="DSP" Dfpu="DP_FPU" Dmve="FP_MVE" Dname="SSE-300-MPS3" Dtz="TZ" Dvendor="ARM:82">
18+
<target Bname="V2M-MPS3-SSE-300-FVP" Bvendor="ARM" Ddsp="DSP" Dfpu="DP_FPU" Dmve="FP_MVE" Dname="SSE-300-MPS3" Dtz="TZ" Dvendor="ARM:82">
1919
<output elf="test.axf" intdir="tmp/test/VHT-Corstone-300/Release" name="test" outdir="out/test/VHT-Corstone-300/Release" rtedir="RTE" type="exe"/>
2020
<options debug="on"/>
2121
<asflags add="-masm=auto" compiler="AC6"/>

Testing/cmsis_build/test.Release+VHT_M0P.cprj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
22
<cprj schemaVersion="2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="CPRJ.xsd">
3-
<created timestamp="2023-11-27T06:42:48" tool="csolution 2.0.0"/>
3+
<created timestamp="2024-01-10T08:28:29" tool="csolution 2.2.1"/>
44

55
<info isLayer="false">
66
<description>Automatically generated project</description>

Testing/cmsis_build/test.Release+VHT_M23.cprj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
22
<cprj schemaVersion="2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="CPRJ.xsd">
3-
<created timestamp="2023-11-27T06:42:48" tool="csolution 2.0.0"/>
3+
<created timestamp="2024-01-10T08:28:29" tool="csolution 2.2.1"/>
44

55
<info isLayer="false">
66
<description>Automatically generated project</description>

0 commit comments

Comments
 (0)