Adding Extra UART to Omnibus F4 Pro by editing hwdef file to repurpose RSSI and PWM5

Following this RCGroups post I am trying to add an extra UART to my installed Omnibus F4 Pro V3.
https://www.rcgroups.com/forums/showpost.php?p=39970238&postcount=274

RSSI and PWM5 can be repurposed by editing the hwdef file it seems.

These are the instruction the RCGroups poster offered:


In hwdef.dat add UART4
UART_ORDER OTG1 USART6 UART4 USART1
PA0 UART4_TX UART4
PA1 UART4_RX UART4
Finally remove the RSSI (ADC) and PWM5 definitions.

This looks nothing like the hwdef file I can find in my target folder. This file is a .h file while the poster makes reference to a .dat file. Am I looking in the correct place? Can anyone give me pointers?

This is the file you want

Many thanks Pete for that link. Should have known to look in Chibios HAL directory.