Errors While Compiling STM32F10x Standard Peripheral Library in Keil
Hello,
I’m encountering multiple errors and warnings when trying to compile a project using the STM32F10x Standard Peripheral Library in Keil uVision. The specific errors are related to assert_param being undeclared and numerous UTF-8 warnings in comments.
Environment:
STM32F10x Standard Peripheral Library
Keil uVision (Using ARM Compiler v6.21)
Key Errors:
call to undeclared function 'assert_param'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
invalid UTF-8 in comment [-Winvalid-utf8] in stm32f10x.h
It seems like the compiler isn't recognizing the assert_param macro, which is leading to multiple errors. I’ve ensured that the stm32f10x_conf.h file includes the necessary header files, but the issue persists.
Has anyone experienced similar issues or can provide guidance on resolving these errors?
Thank you!
