GPS Lock indication on AUX pin

I have been looking for a way to produce an output when I get a GPS fix. Previously, when I was running APM controllers, there was a way to toggle an output pin whenever the GPS had a position fix. I used that to turn on a very bright LED on the rear of the copter and it was useful.

I don’t see a provision for this on a PixHawk. Does anyone know of how I can do this?

Read this thread.