Syntax error about "__weak","__attribute__((weak))" Posted by kaosad on 2016-05-12 15:19 I wonder why you do that. It is defined in stm32f4xx_hal_def.h In fact it is included in all stm32f4xx_hal_xxxxxx.h