30x30mm Flight Controller with Terrain Support

Has anyone had any success using terrain features on a 30x30mm flight controller?

What does the size/form factor of the Flight Controller have to do with Terrain features?

It doesn’t, but I’m looking for a flight controller to replace my Mamba H743 v4 which doesn’t support terrain features. I would be ok with using something of a different form factor, but I don’t want to spend hundreds of dollars on something like a pixhawk.

A Matek H743-Slim then.