Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 2 months ago.
Using STM32Cube or SPD beside mbed
Hello all,
I was thinking, how can I use STM32Cube or Standard peripheral library beside/inside my mbed codes?
I mean, I might want to use a library which has not been yet ported to mbed, and I want to use only STM32Cube, or SPD.
Any ideas?
2 Answers
7 years, 8 months ago.
hi, just for completeness, beware of re-entrency when using other libraries at the same time, in parallel, while mbed is nicely thread safe, but not any additional reg access you might add.
9 years, 2 months ago.
Current mbed is built on STM32Cube HAL drivers, so yes, you can use those calls & macros by way of including the mbed or mbed-src libraries.
It doesn't take much effort to take the examples released by ST and have them compile under mbed.