After updating to iMXRT1166 SDK 26.6.0, the project fails to build because clock_config.c (generated by the Clocks tool) calls CLOCK_OSC_GateOscRc400M(false), but this function has been removed from fsl_clock.h in this SDK release.
Looking online it seems this was removed because of updates to RM1170 Rev. 5 PDF.
https://github.com/nxp-mcuxpresso/mcux-devices-rt/issues/2
The same updates have not been made to RM1160 so is iMXRT1166 SDK 26.6.0 incorrect or should the Clocks tool be updated to remove or modify its call?