Skip to main content
Uwe Bonnes
Chief
April 22, 2014
Question

STM32CubeF versus peripheral libs

  • April 22, 2014
  • 4 replies
  • 782 views
Posted on April 22, 2014 at 10:33

Hello,

STM32FCube changes the API to many calls, e.g. SD_Init(void) to HAL_SD_Init(SD_HandleTypeDef *hsd, HAL_SD_CardInfoTypedef *SDCardInfo), if I understand things right. This need substantial effort to port old code to the new API. Will the peripheral libs still see maintances updates or do we have to migrate?

    This topic has been closed for replies.

    4 replies

    waclawek.jan
    Super User
    April 22, 2014
    Posted on April 22, 2014 at 10:45

    > Will the peripheral libs still see maintances updates

    No, they are discontinued in favour of the ''Cube''.

    > or do we have to migrate?

    Either that, or you drop the ''library'' thing altogether and work directly at the registers level.

    JW

    Tesla DeLorean
    Guru
    April 22, 2014
    Posted on April 22, 2014 at 16:48

    Will the peripheral libs still see maintenance updates or do we have to migrate?

    Unless the code gets bit-rot, or you can't fix the odd bug, migration would seem to present more issues with testing and regression than it solves.

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    hot_liam
    Associate
    April 22, 2014
    Posted on April 22, 2014 at 22:23

    Hi, I am in this boat as well.  I am looking for the older libs especially for

    stm32f4xx_fmc

    and not any of the FSMC items, because the Cube doesn't seem to have everything defined in regards to the NAND, or I am missing the boat!....hmmmm

    Can someone point me to the place for the NON-Cube files?

    Thanks

    Tesla DeLorean
    Guru
    April 22, 2014
    Posted on April 22, 2014 at 22:58

    Can someone point me to the place for the NON-Cube files?

    Not particularly up to date

    [DEAD LINK /public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/STM32%20Legacy%20Firmware%20Libraries&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&TopicsView=https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/AllItems.aspx&currentviews=7321]https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fcortex_mx_stm32%2fSTM32%20Legacy%20Firmware%20Libraries&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&TopicsView=https%3A%2F%2Fmy.st.com%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2Fcortex_mx_stm32%2FAllItems.aspx¤tviews=7321

    I do have my own archives, including the older DSP and STM32F4-DISCO releases.
    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..