STM32CubeMX: Feature request - "User Labels" for periphery.
When creating a project with several different hardwares I like the posibility that the CubeMX created definitions for the GPIOs in the main.h header file which can be used in the project and by just changing the project-file one can use a totally different hardware. I would like to see this also for the peripheral handles (like hadc, hspi, ..).
Currently I manually add those defines to the adc.h/spi.h/.. manually like:
#define DISPLAY_SPI hspi1
Instead of adding a further define a "user defined" handle name would also be an option.
Regards Pascal
