Skip to content

Commit 5ef44f4

Browse files
committed
feat: moved to CMSIS 6.2.0
Add new package CMSIS-DSP and CMSIS-NN. Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent dfdf369 commit 5ef44f4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

platform.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ tools_bin_path.linux={runtime.tools.STM32Tools.path}/linux
2525

2626
core_stm32_dir={build.core.path}/stm32
2727
hal_dir={build.system.path}/Drivers/{build.series}_HAL_Driver
28-
cmsis_dir={runtime.tools.CMSIS-5.9.0.path}/CMSIS
28+
cmsis_dir={runtime.tools.CMSIS-6.2.0.path}/CMSIS
29+
cmsis_dsp={runtime.tools.CMSIS_DSP-1.16.2.path}
30+
cmsis_nn={runtime.tools.CMSIS_NN-7.0.0.path}
2931
cmsis_dev_dir={build.system.path}/Drivers/CMSIS/Device/ST/{build.series}
3032
usbd_core_dir={build.system.path}/Middlewares/ST/STM32_USB_Device_Library/Core
3133
builtin_library_dir={build.core.path}/../../libraries
@@ -37,7 +39,7 @@ USBDevice_include_dir={builtin_library_dir}/USBDevice/inc
3739
# STM compile variables
3840
# ----------------------
3941
compiler.stm.extra_include="-I{build.source.path}" "-I{build.core.path}/avr" "-I{core_stm32_dir}" "-I{SrcWrapper_include_dir}" "-I{SrcWrapper_include_dir}/LL" "-I{hal_dir}/Inc" "-I{hal_dir}/Src" "-I{build.system.path}/{build.series}" "-I{USBDevice_include_dir}" "-I{usbd_core_dir}/Inc" "-I{usbd_core_dir}/Src" "-I{VirtIO_include_dir}" {build.virtio_extra_include}
40-
compiler.arm.cmsis.c.flags="-I{cmsis_dir}/Core/Include/" "-I{cmsis_dev_dir}/Include/" "-I{cmsis_dev_dir}/Source/Templates/gcc/" "-I{cmsis_dir}/DSP/Include" "-I{cmsis_dir}/DSP/PrivateInclude"
42+
compiler.arm.cmsis.c.flags="-I{cmsis_dir}/Core/Include/" "-I{cmsis_dev_dir}/Include/" "-I{cmsis_dev_dir}/Source/Templates/gcc/" "-I{cmsis_dsp}/Include" "-I{cmsis_dsp}/PrivateInclude"
4143

4244
compiler.warning_flags=-w
4345
compiler.warning_flags.none=-w

0 commit comments

Comments
 (0)