Thank you for your reply.
I tried adding the line of my code below again to my project and still makes me get the same error as I did before:
IOMUXC_SetPinMux(
IOMUXC_GPIO_EMC_39_GPIO3_IO25, /* GPIO_EMC_39 is configured as GPIO3_IO25 */
0U);
I tried adding this line of code also to all the sample projects that comes with the MCUXpresso, and they still fail giving me the same error. The only thing I am doing different here is that I am booting from the SDRAM and that pin is not used in my SDRAM interface.
Can anyone try to run any example code, and add the above line of code to the BOARD_InitPins() function, and also try booting from SDRAM and see if you get same error as mine.
Thank you!