Generally, evolution of code and support libraries are forward evolving as new h/w has new features but old peripherals must be dragged into the new architecture.

Going backwards with code designed from the ground-up for an advanced processor sounds like lots of work!
Likely the sensor/device that would benefit from the effort would just be supported better natively on the F4 with existing code. The exception would be a commercial implementation where the dekta-cost would become significant with quantity units.