Generating hexfiles for teensy 4.1 with MCUXpression i quite simple and works out of the box without any changes of the linker skript. You will find some ready to use examples here.