2019-01-29 11:04 AM
Dear community!
Is there an instruction on how to integrate ready-made libraries into a Simulink for STM32 MAT as it is done for Arduino? For example, to work with an SD card using SDIO or SPI? There should be a way to work with the SDIO or SPI SD card without manually prescribing the initialization algorithm and the FAT management system. It is much easier to use a ready-made C / C ++ library for this. Can integration be done with the help of a Simulink S-function block?
2019-01-29 11:17 AM
@PascalR https://www.mathworks.com/matlabcentral/profile/authors/3009420-pascal-reynaud
Was the only ST employee (visibly) supporting the STM32-MAT stuff, not sure I've seen him here recently.
2019-10-03 10:53 AM
Any update in the integration of SD card library in simulink blocks?
2019-10-14 02:04 PM
Nope.
2019-10-14 04:04 PM
Interest in STM32-MAT seems pretty shallow here, perhaps you can start/fund a project that achieves your goals?
2019-10-16 06:06 AM
Hi,
you should be able to use S-Function builder into your Simulink model and integrate .c and .h path from "Configuration parameters" window > "STM32 Project Files"
Regarding librairies, it is not done today, you can try to add it in the .c files list.
If it doesn't work, you can add it manually to the list of .c files into the .extSettings generated file( [Groups] MATLAB )
Best regards
Pascal