Tuesday, April 8, 2014

ERRORS: Creating your own codes from scratch...??

The problem:

Take gpioApp example and rename it and put it in the same folder as the original - this gives the same general errors about DMA conflicts and other libraries not found.
So TIEs code must have been working but some setup has to be figured out...
For now let me just play around with interface and the TP2 pin. 
Solution:

//in cyfxtx.c it should be... int return type. int
CyU3PDmaBufferFree (
        void *buffer)
// in cy3os.h make sure the function has "extern int" extern int // if its void return then it will give conflicting functions. CyU3PDmaBufferFree (
        void *buffer)


No comments:

Post a Comment

Note: Only a member of this blog may post a comment.