CubeMX does not allow user defines that are not number or string
Suppose that a hardware developer wants to pass in a Cube file some info for a fellow programmer.
For example tell which UART or GPIO pin to use:
&sharpdefine RS232_UART USART4
&sharpdefine LED_PIN (GPIOB, 10)
But Cube won't allow this. It understands only literal numbers and quoted strings.
It will allow
&sharpdefine RS232
_UART 'USART4' - but this is completely useless for the purpose.
How hard would be enabling any user definition text in the Cube code generator?
Regards,
- pa
#cube-mx