Closed SHWarema closed 2 years ago
Hi @SHWarema,
Thank you for your report. We tried to reproduce the issue you have described using an example RCC
in the latest STM32CubeG0 v1.5.0
package, with no success.
Regarding the support of the ARM Keil V6 compiler, you need to configure the options target of your application as follows:
The following updates are proposed in the Header or C files, if they do not currently apply:
An update is proposed in Header or C files if not existed:
-#if defined ( __CC_ARM )
+#if defined ( __CC_ARM ) || (defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050))
-#if defined ( __GNUC__ )
+#if defined (GNUC) && !defined (__CC_ARM) && !(defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050))
I really hope you could find the root cause of this issue and, ideally, solve it. Anyway, if you ever become able to reproduce systematically the faulty behavior and find out that the problem is related to our middleware, do not hesitate to recontract me. We could reopen this issue again.
Thank you again for your report.
With regards,
Hi @RKOUSTM!
Well, to be able to see that warning, you have to enable the "All Warnings" option instead of the "AC5-like warnings" option. I'm sorry for the incomplete information provided by me!
Best regards
When compiling stm32g0xx_hal_rcc.c with the ARM Compiler 6 (Clang/LLVM) the following warnings are generated:![image](https://user-images.githubusercontent.com/92387863/137091426-59bb1120-306b-4b8e-bff5-6adc4091a88f.png)
Maybe use this instead: