STMicroelectronics / STM32CubeF4

STM32Cube MCU Full Package for the STM32F4 series - (HAL + LL Drivers, CMSIS Core, CMSIS Device, MW libraries plus a set of Projects running on all boards provided by ST (Nucleo, Evaluation and Discovery Kits))
Other
897 stars 424 forks source link

STM32CubeF4 (this repo) vs CubeMX/IDE Downloads #161

Open thestumbler opened 1 year ago

thestumbler commented 1 year ago

Describe the set-up Setup not applicable (I think), but it applies in my experiments using all of the following:

Development boards for these families:

IDEs are latest version (Aug 2023):

Additional context None

Screenshots None

Question I pulled this repository (and its sister STM32H7 Cube MCU Package repository) to my PC. It is an easy way to get the necessary startup and HAL/LL files when building non-MX, non-IDE projects. However, if I want to also use STM32CubeMX or STM32CubeIDE for some project, it appears that I have to download all of this stuff again from within each respective tool. I see the option to point to a local source, but if I point to the location of this downloaded repository, it doesn't seem to recognize it.

Is that the intended operation, that CubeMX and CubeIDE aren't able to use these GitHub-downloaded MCU packages? If not, what am I missing to get that to work. I ask because this repository is about 1 GB (and the H7 one almost 2 GB). If the CubeMX and CubeIDE are indeed downloading the same thing, that's quite a bit of wasted, duplicated disk space being used.

-Chris