2021-07-18 01:21 PM
I spent the time to learn how to get it up and running so that you don't have to. What I am explaining here was done on Win 10. My CubeIDE version was 1.6.1.
I hope this helped you. If it did, consider giving my post a "Like". Thanks.
2021-07-21 03:44 AM
Many many thanks for sharing this information. I was desperatly trying to make the ARM DSP Lib working within CubeMX but it did not work at all.
So far I figured out: Inside the "Software Packs Component Selecor" select "STMicroelectronics.X-Cube-ALGOBUILD->DSP Library".
This makes the DSP Lib available in the CubeMX Project but the Code Generator does not copy the "libarm_cortexMxx_math.a" files. It only copies the "arm_math.h" file
plus it is a much older version (v.1.5.3 while offical release is at v1.9. already)
I guess this is some thin ST could really put some effort on making this process much more intuitive. I don't like fighting with tools, I rathe would like to fokus on my project.
So again, thanks you very much!
CubeMX 6.2.1
CubeIDE 1.7.0
Nucleo-H745Zi
2021-07-21 10:03 AM
I am happy to read it helped. And, yes, I agree. Better documentation and a more streamlined interface would go a long way so that we can focus on what's important: put ST's µC to good use by writing code for it rather than fighting the system.
2021-07-22 04:08 AM
Hello @Stephan Hörold ,
the ARM_MATH_CM4 flag is obsolete since about 2019, in newer versions the Flag is not used, it will not cause problem if it set, but it also has no effect. If the flag is set for backward compatibility that makes sense, but it is not needed for the latest versions, but I can not tell you when it was changed exactly.
@Community member If you like to compile it from source, I added a pdf, I hope it helps.
Best Regards, Seppel
2021-07-22 01:38 PM
Hi @seppeltronics_v, thanks for that information. So it essentially means the last step I showed above can be skipped.
2021-07-22 02:58 PM
Hello @Stephan Hörold ,
it depends on the version, if you are not sure, it may be better to set ARM_MATH_CM4 or ARM_MATH_CM7, depending on the core. I did not find the exact date of the change(I did not put too much effort in it) and I'm not sure ARM ever stated that they changed in the release, so it was obvious.
But maybe you can help me in finding the new binaries(*.a) of the Version 5.7.0 and 5.8.0? The repository, but that contains only code, as to be expected, but I have no idea where the *.a files are actually published by ARM.
Thanks a lot, Best Regards, Seppel
2023-08-15 11:00 PM
I am currently using STM32H747I-DISCO with Mac. This solution worked for me! Thank you :)
Just make sure you don't blindly copy ${workspace_loc:/<projectName>/Drivers/CMSIS/DSP/Lib/GCC}.
replace <projectName> with your own projectName. A tedious mistake I overlooked.
2023-12-25 04:02 PM
Thank you very much for your post, Hansel. It also worked for me, you made my day :raising_hands::raising_hands: