Hi @abey
Your SDK is old, please download the newest RT1060 SDK2.10.0 from this link:
https://mcuxpresso.nxp.com/en/builder?hw=EVK-MIMXRT1060
Then you can use the ROM flash API, please refer to this example:
SDK_2_10_0_EVK-MIMXRT1060\boards\evkmimxrt1060\driver_examples\fsl_romapi
You also can add it to your freertos project.
Wish it helps you!
Best Regards,
kerry