Is it OK to map the same alternate function to multiple pins?
I'm using an STM32F767 DFSDM module and I want to output the DFSDM clock both on PC2 and PD10 (for PCB routing reasons, outputting the clock on PC2 would route neatly with DFSDM channels 0 and 4; and likewise also outputting the same clock on PD10 would make routing easy for channels 1 and 2 on PB12 and PB14).
I have tried it in the firmware and it works (I can see the clock on the scope) but ST32CubeMX does not allow me to do this. It only seems to allow the choice of one pin for a particular function.
Is this "legit"?