Other Parts Discussed in Thread: SYSCONFIG
Hi Everyone,
I am trying to configure GPIO 28 and GPIO 29 as RX and TX with below example code snippet:
GPIO_SetupPinMux(28, GPIO_MUX_CPU1, 1); GPIO_SetupPinOptions(28, GPIO_INPUT, GPIO_PUSHPULL); GPIO_SetupPinMux(29, GPIO_MUX_CPU1, 1); GPIO_SetupPinOptions(29, GPIO_OUTPUT, GPIO_ASYNC);
But while compiling code i am getting below error:
undefined first referenced symbol in file --------- ---------------- GPIO_SetupPinMux ./main_Demo_OCP_A.obj GPIO_SetupPinOptions ./main_Demo_OCP_A.obj error #10234-D: unresolved symbols remain
I have included header file for respective GPIO's functions that is "f28004x_globalprototypes.h" but still error is persisting, please let me know if I am doing it in correct way or I need to modify something.
Thanks and Regards,
Tyagi