Skip to main content
MGfel.1
Associate
May 15, 2021
Question

Is there a possibility to run the X-CUBE-MEMS1 libraries on a STM32WL MCU? I always get errors because of the missing FPU, and as the libraries are precompiled I can't change compiler options.

  • May 15, 2021
  • 4 replies
  • 1224 views

..

This topic has been closed for replies.

4 replies

ST Employee
May 17, 2021

Which MCU exactly you want to use? In case of dual=core (STM32WL54 or STM32WL55) you need to use the particular library according to the Cortex-M core.

MGfel.1
MGfel.1Author
Associate
May 17, 2021

Hi Miroslav, Thanks a lot for your quick answer. We intend to use a single core MCU (STM32WLE5JC), BR Martin

ST Employee
May 17, 2021

Hi Martin,

OK, in this case I believe you can use existing libraries for Cortex-M3. Cortex-M3 and Cortex-M4 are based on the same ARM architecture.

Or if you need a particular library for Cortex-M4 you can send the request to Online Support https://my.st.com/ols.

MGfel.1
MGfel.1Author
Associate
May 17, 2021

Hi Miroslav, Good idea, I'll try that tomorrow. Maybe as idea of improvement, it could be integrated into the next versions of CubeMX and CubeIDE, that if you choose a STM32WL MCU, the M3 libraries are taken (for X-CUBE-MEMS1). The beauty of a configurator is gone, if afterwards you need to manually change too much to make the code compile. BR Martin