YA I AM NOT DEFINING GPIO_SUPPORT,,BUT
FOR THE FOLLOWING CODE I AM GETTING THIS ERROR
ERROR-------
>> warning: entry point symbol _c_int00 undefined
undefined first referenced
symbol in file
--------- ----------------
_GPIO_open C:\\CCStudio_v3.3
\examples\\sim64xx\\code_coverage\\test_richa\\Debug\\toggle.obj
_GPIO_pinEnable
C:\\CCStudio_v3.3\\examples\\sim64xx\\code_coverage\\test_richa\\Debug\\toggle.obj
_GPIO_pinDirection
C:\\CCStudio_v3.3\\examples\\sim64xx\\code_coverage\\test_richa\\Debug\\toggle.obj
_GPIO_pinWrite
C:\\CCStudio_v3.3\\examples\\sim64xx\\code_coverage\\test_richa\\Debug\\toggle.obj
>> error: symbol referencing errors -
'./Debug/test_richa.out' not built
>> Compilation failure
Build Complete,
2 Errors, 4 Warnings, 0 Remarks.
MY CODE
#include
#define CHIP_DA610
#include "C6x.h"
#include "csl_chiphal.h"
#include "csl_gpio.h"
main()
{
unsigned b=0;
GPIO_Handle hGpio;
hGpio = GPIO_open(GPIO_DEV1,GPIO_OPEN_RESET);
GPIO_pinEnable(hGpio,GPIO_PIN0);
GPIO_pinDirection(hGpio, GPIO_PIN0,GPIO_OUTPUT);
GPIO_pinWrite(hGpio,GPIO_PIN0,b);
}
Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video
Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467
plz plz----------------help me,,,toggling GPIO pins,TMS320DM6446......
Started by ●March 13, 2008
Reply by ●March 19, 20082008-03-19
Reply by ●March 19, 20082008-03-19
richa m,
The problem mentioned:
> ERROR-------
> >> warning: entry point symbol _c_int00 undefined
is from a missing library in the project setup, nothing wrong with the source code.
This does not mean a reference to the specific library is missing from the list of files;
rather that Project/,,, is missing the lib path info.
R. Williams
---------- Original Message -----------
From: r...@tcs.com
To: c...
Sent: Wed, 19 Mar 2008 01:31:05 -0400
Subject: [c6x] Re: plz plz----------------help me,,,toggling GPIO pins,TMS320DM6446......
> YA I AM NOT DEFINING GPIO_SUPPORT,,BUT
> FOR THE FOLLOWING CODE I AM GETTING THIS ERROR
>
> ERROR-------
> >> warning: entry point symbol _c_int00 undefined
>
> undefined first referenced
> symbol in file
> --------- ----------------
> _GPIO_open C:\\CCStudio_v3.3
\examples\\sim64xx\\code_coverage\\test_richa\\Debug\\toggle.obj
> _GPIO_pinEnable
C:\\CCStudio_v3.3\\examples\\sim64xx\\code_coverage\\test_richa\\Debug\\toggle.obj
> _GPIO_pinDirection
C:\\CCStudio_v3.3\\examples\\sim64xx\\code_coverage\\test_richa\\Debug\\toggle.obj
> _GPIO_pinWrite
C:\\CCStudio_v3.3\\examples\\sim64xx\\code_coverage\\test_richa\\Debug\\toggle.obj
> >> error: symbol referencing errors - './Debug/test_richa.out' not built
>
> >> Compilation failure
>
> Build Complete,
> 2 Errors, 4 Warnings, 0 Remarks.
>
> MY CODE
>
> #include
> #define CHIP_DA610
> #include "C6x.h"
> #include "csl_chiphal.h"
> #include "csl_gpio.h"
>
> main()
> {
> unsigned b=0;
> GPIO_Handle hGpio;
> hGpio = GPIO_open(GPIO_DEV1,GPIO_OPEN_RESET);
> GPIO_pinEnable(hGpio,GPIO_PIN0);
> GPIO_pinDirection(hGpio, GPIO_PIN0,GPIO_OUTPUT);
> GPIO_pinWrite(hGpio,GPIO_PIN0,b);
>
> }
------- End of Original Message -------
The problem mentioned:
> ERROR-------
> >> warning: entry point symbol _c_int00 undefined
is from a missing library in the project setup, nothing wrong with the source code.
This does not mean a reference to the specific library is missing from the list of files;
rather that Project/,,, is missing the lib path info.
R. Williams
---------- Original Message -----------
From: r...@tcs.com
To: c...
Sent: Wed, 19 Mar 2008 01:31:05 -0400
Subject: [c6x] Re: plz plz----------------help me,,,toggling GPIO pins,TMS320DM6446......
> YA I AM NOT DEFINING GPIO_SUPPORT,,BUT
> FOR THE FOLLOWING CODE I AM GETTING THIS ERROR
>
> ERROR-------
> >> warning: entry point symbol _c_int00 undefined
>
> undefined first referenced
> symbol in file
> --------- ----------------
> _GPIO_open C:\\CCStudio_v3.3
\examples\\sim64xx\\code_coverage\\test_richa\\Debug\\toggle.obj
> _GPIO_pinEnable
C:\\CCStudio_v3.3\\examples\\sim64xx\\code_coverage\\test_richa\\Debug\\toggle.obj
> _GPIO_pinDirection
C:\\CCStudio_v3.3\\examples\\sim64xx\\code_coverage\\test_richa\\Debug\\toggle.obj
> _GPIO_pinWrite
C:\\CCStudio_v3.3\\examples\\sim64xx\\code_coverage\\test_richa\\Debug\\toggle.obj
> >> error: symbol referencing errors - './Debug/test_richa.out' not built
>
> >> Compilation failure
>
> Build Complete,
> 2 Errors, 4 Warnings, 0 Remarks.
>
> MY CODE
>
> #include
> #define CHIP_DA610
> #include "C6x.h"
> #include "csl_chiphal.h"
> #include "csl_gpio.h"
>
> main()
> {
> unsigned b=0;
> GPIO_Handle hGpio;
> hGpio = GPIO_open(GPIO_DEV1,GPIO_OPEN_RESET);
> GPIO_pinEnable(hGpio,GPIO_PIN0);
> GPIO_pinDirection(hGpio, GPIO_PIN0,GPIO_OUTPUT);
> GPIO_pinWrite(hGpio,GPIO_PIN0,b);
>
> }
------- End of Original Message -------