Skip to main content
Visitor II
December 7, 2022
Solved

Proper way to import provided firmware/SDK into STM32CubeIde

  • December 7, 2022
  • 1 reply
  • 1035 views

I've got a working example that builds from the sdk with the classic project structure:

../Core/Inc : Contains header files from SDKs Firmware/Eval/Inc and Firmware/Inc (i.e. both adc.h and adc_driver.h which is likely not correct)

../Core/Src: Contains src files from Firmware/Eval/Src and Firmware/Src

within the project I also have the ioc file. Here is a quick look at the structure:

0693W00000WKTjhQAH.pngHowever, *any* changes to the IOC breaks the entire project. So how do I properly set up the project/structure or import the SDK firmware to be able to use the .ioc with the auto generation? Is that even possible with the files provided by ST?

Thanks.

    This topic has been closed for replies.
    Best answer by devtty

    *Update* This has seemed to be resolved. Not quite sure what I did differently. >Created a new project from existing IOC and copied over the driver files, seems fine now. Previously if i regenerated code itd have issues finding a bunch of different arm files.

    1 reply

    devttyAuthorAnswer
    Visitor II
    December 8, 2022

    *Update* This has seemed to be resolved. Not quite sure what I did differently. >Created a new project from existing IOC and copied over the driver files, seems fine now. Previously if i regenerated code itd have issues finding a bunch of different arm files.