STMicroelectronics / STM32CubeWB

Full Firmware Package for the STM32WB series: HAL+LL drivers, CMSIS, BSP, MW, plus a set of Projects (examples and demos) running on all boards provided by ST (Nucleo, Evaluation and Discovery Kits).
https://www.st.com/en/embedded-software/stm32cubewb.html
Other
227 stars 138 forks source link

STM32WB55Rx prefetch setting does not follow ioc file #44

Closed fronders closed 3 years ago

fronders commented 3 years ago

Changing the prefetch setting in CubeMX does not change the code, only the .ioc file is changed.

Describe the set-up

Describe the bug When I disable prefetch in RCC settings from CubeMX expected behaviour is to have #define PREFETCH_ENABLE 0U in stm32wbxx_hal_conf.h But no matter what setting is selected in CubeMX it always generates the above as #define PREFETCH_ENABLE 1U

P. S. I have seen this issue come up across different MCU families (most recent was G0), can you guys check all of the families at once?

RKOUSTM commented 3 years ago

Hi @fronders,

Thank you for your contribution. You are absolutely right about this point. Actually, the point you raised has already been dealt and fixed internally. The fix will be made available in the frame of a future release of CubeMX version v6.4.0.

Now, as this issue is not directly related to some software component published within this repository (CMSIS, HAL, BSP, etc.) but rather to our ecosystem (namely the Cube MX tool), please allow me to close it.

So stay tuned and thank you once more for your contribution and for your patience.

With regards

RKOUSTM commented 3 years ago

ST Internal Reference: 102660