AnsweredAssumed Answered

STM32CubeMX Feature missing? User labels

Question asked by mk@sch on Apr 15, 2015
Latest reply on Mar 19, 2018 by tomkins.richard
perhaps I missed something... Is it correct, that the user labels in CubeMX are not used in the generated code? I've seen this in other code configurator tools. I didn't found a way to benefit from the pin definitions in the code, like "LED_RED".
If this is not implemented, this is a great feature! I know tools which writes a pin definition file with a bunch of defines like PIN_LED_RED_SetHigh(), PIN_LED_RED_Toggle(),
PIN_LED_RED_SetAsOutput(), PIN_LED_RED_EnablePullUp()
and so on for the correct replacement with the already mapped HAL functions, pins and ports.
Thanks for any help.

STM32CubeMX 4.7.0 / HAL F4 1.5.0 / STM32F407