AnsweredAssumed Answered

MDK & HAL & __attribute

Question asked by Glenn Rosendahl on Feb 20, 2018
Latest reply on Feb 21, 2018 by Clive One

I'm using the STM32CUBEMX which generates HAL code and keeps my code within defined comments. BUT, I need to define an __attribute statement BEFORE a HAL generated function header, but there is no /* USER CODE .. */ place to hold these statements so they get wiped with every STM32CUBEMX project update. Any solutions??

Many Thanks, Glenn

Outcomes