This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
hi,
i'm using the dsp/bios to write a simple program that use gpio0 as output, when i try to compile the program the next apears:
error: identifier "GpioDataRegs" is undefined
error: identifier "EALLOW" is undefined
error: identifier "GpioMuxRegs" is undefined
error: identifier "EDIS" is undefined
the code is:
EALLOW;
GpioMuxRegs.GPAMUX1.bit.GPIO0=0;
GpioMuxRegs.GPADIR.bit.GPIO0=1;
EDIS;
GpioDataRegs.GPASET.bit.GPIO0=1;
Do i need to add something to my proyect?
These definitions are included as part of the header files and peripheral examples:
http://focus.ti.com/docs/toolsw/folders/print/sprc530.html
The DSP2833x_HeaderFiles_QuickStart_Readme.pdf in the doc/ directory. It talks about how to include the header files into a project.
Lori