Skip to main content
Mehmet Can Yüney
Associate II
May 11, 2017
Question

I can't install library to STM32CubeMX

  • May 11, 2017
  • 3 replies
  • 3152 views
Posted on May 11, 2017 at 22:45

Hello,

İ just downloaded a library for STM32CubeMX, i just gave library's link below. I just can't install it to Cube. I'm opening the new library manager by clicking install new libraries in help and then clicking the from local... button. And it always says 'This Package version is not managed on this version of STM32CubeMX.'.

Library's Link = 

http://www.st.com/en/embedded-software/x-cube-classb.html

 

I really need to use this library and without Cube, it is so hard to do. So what should i have to do, please help me!

Thanks...

Mehmet Can

    This topic has been closed for replies.

    3 replies

    Tesla DeLorean
    Guru
    May 12, 2017
    Posted on May 12, 2017 at 03:07

    A lot of these expansion packages are stand-alone HAL implementations.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Amel NASRI
    ST Technical Moderator
    May 12, 2017
    Posted on May 12, 2017 at 12:23

    Hello

    Y_ney.Mehmet_Can

    ‌,

    All expansion packages aren't supported in CubeMX.

    As this is a recurrent request, it is as well reported internally to think once again on how to do it.

    It is still possible to download this library from ST web page and use it on standalone or merged with MX generated code.

    -Amel

    To give better visibility on the answered topics, please click on "Best Answer" on the reply which solved your issue or answered your question.
    Tesla DeLorean
    Guru
    May 12, 2017
    Posted on May 12, 2017 at 16:19

    Well it really isn't that surprising, or shouldn't be, given that you're using the words Expansion and CubeMX together. You're using it to create branding and associativity, when it's really Additional HAL Examples and Demonstrations.

    Unless CubeMX spits out customized boiler-plate code with these expansions the terminology seems misplaced.

    Merging could also be made a lot easier if CubeMX didn't hide and obfuscate things related to configuration so much.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Mehmet Can Yüney
    Associate II
    May 12, 2017
    Posted on May 12, 2017 at 13:50

    Hello Amel

    As you said i tried to merge this library with my MX generated code but whenever i try to build it it always gave me bunch of errors that say uint32_t not implemented. I tried to include <stdint.h> but nothing changes. So how can i merge this library with my own MX generated code ? 

    By the way, in examples of this library there is no mistake like i have. It works just fine. I'm using STM32F4 Discovery Board and i don't know how to merge this library. And there is no user manual about it so i just can't follow any instractions.

    Is there any guide that shows how to merge library to our own projects?

    Thanks...

    Mehmet Can

    Amel NASRI
    ST Technical Moderator
    May 12, 2017
    Posted on May 12, 2017 at 15:31

    may be you can get inspired from 

    https://community.st.com/0D50X00009bMM6QSAW

    .

    -Amel

    To give better visibility on the answered topics, please click on "Best Answer" on the reply which solved your issue or answered your question.