Hi there,
I am working with ...
and have created a new project for the i.MXRT1172 (M7 only, no M4 core) based on the SDK for the i.MXRT1170 EVKB board.
While comparing the output for clock_config.c with a standard enet example (enet_txrx_transfer.c), I noticed these differences

Left: my project based on the 1172, right: imported example code for enet_txrx_transfer.c
See below the settings that the code was generated with

Although the 1172 doesn't have an M4 core, the code for the clock configuration is executed unconditionally due to removing the #if __CORTEX_M == 4 statements instead of removing the code contained therein.
The most positive assumption that I can come up with is: the code that's executed for the M4 doesn't do any harm except wasting power.
I didn't check the rest of the generated code, so I'm asking for someone to shed some light on this.
Best regards,
Rainer