How to add a barometric pressure altitude sensor to a softRF/ T-Motion (STM32)?

This section instructs on how enrich your Stratux (OGN) Flarm with a barometric pressure altitude sensor, when using a softRF/ T-Motion (STM32) to send you aircraft's position to others.