Skip to main content
g mcclean
Associate II
February 17, 2022
Solved

How do you install the X-CUBE-MEMSMIC1 package? It does not appear in the STM32Cube package manager and trying a local import of the zip file fails. What am I missing?

  • February 17, 2022
  • 2 replies
  • 1339 views

..

This topic has been closed for replies.
Best answer by Peter BENSCH

Welcome, @g mcclean​, to the community!

The package is not yet integrated into the STM32CubeIDE. The easiest way is to work with it directly and try out the included projects first:

  • manually unpack into (for Windows: a not too deep) path of your choice
  • find your preferred project for your board
  • to be on the safe side, make a copy of that project in the same directory level (this allows you to compare what has changed later or to copy it back).
  • open the original project directly at its location, for the STM32CubeIDE start the file .project, all library references are already included in the package

If you need the drivers and middlewares in your own projects, you should add them manually.

Does it answer your question?

Regards

/Peter

2 replies

Peter BENSCH
Peter BENSCHBest answer
Technical Moderator
February 22, 2022

Welcome, @g mcclean​, to the community!

The package is not yet integrated into the STM32CubeIDE. The easiest way is to work with it directly and try out the included projects first:

  • manually unpack into (for Windows: a not too deep) path of your choice
  • find your preferred project for your board
  • to be on the safe side, make a copy of that project in the same directory level (this allows you to compare what has changed later or to copy it back).
  • open the original project directly at its location, for the STM32CubeIDE start the file .project, all library references are already included in the package

If you need the drivers and middlewares in your own projects, you should add them manually.

Does it answer your question?

Regards

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
g mcclean
g mccleanAuthor
Associate II
February 24, 2022

Yeh, I sort of figured it out.

Still struggling to understand how some of the examples work but then I am not using any of the "targeted" development boards to I can't just run/debug the code but that’s a separate problem :)