Bug in stm32l4xx_hal_conf.h template file
Hi, I just noticed that if Enable Full Assert option is enabled in the Project Manager, the generated stm32l4xx_hal_conf.h file has the following definition for assert failed:
void assert_failed(char *file, uint32_t line);Which conflicts with the other definition in main.c
void assert_failed(uint8_t *file, uint32_t line)I guess one of the two must be changed because this causes compile errors.
Also I would suggest to change the definition of the assert_param() macro when the full assert option is not enabled form
#define assert_param(expr) ((void)0U)to
#define assert_param(expr) ((void)(expr))so that it will prevent unused variable/parameter compiler warnings in some cases
