Re: DSP functions on System Workbench and CubeMX
Hi Leo,
I’m not sure if I understand what you are trying to do or if I can help, but since no one else has offered anything I’ll take a shot at it. I am also not sure of your level of knowledge so please excuse me if I point out things that are obvious to you.
First, the example projects are structured differently than MX generated projects. I wish that ST would have at least some projects that are generated using MX but I am not aware of any. (It’s not clear to me if you are trying to mix MX and any of the examples but AFAIK it is not feasible.)
I see that the most recent Cube libraries include project configuration for SW4STM32 which is a huge step forward for openstm32. I have not tried any of them so I do not know how well they have been tested. (From the release notes for Templates project I read “Validation using latest toolchains version: EWARM v7.30 and TrueSTUDIO v5.1.1” If you are not using the latest version (MX 4.8, Cube 1.6.0) you should probably upgrade.
Of three alternatives for generating a project for openstm32 (MX, example/demo/template, openstm32) I think the highest chance of success is the openstm32 generated project. I would try producing a project using that which includes the features you wish to use and see which libraries it uses.
I have not tried to use floating point on any of my projects so I remain ignorant of what needs to be done to get that to work.
HTH,
hank