Page 1 of 1

FX3 SDK

Posted: Mon Jan 26, 2015 6:03 am
by tsarik
Hi,
in versions 1.3.3, 1.3.1, 1.2.3 I got error
/firmware/common/cyfxtx.c:60:1: warning: missing initializer
/firmware/common/cyfxtx.c:60:1: warning: (near initialization for 'glBufferManager.lock.tx_mutex_name')
/firmware/common/cyfxtx.c: In function 'CyU3PDmaBufferAlloc':
/firmware/common/cyfxtx.c:431:23: warning: comparison between signed and unsigned integer expressions
/firmware/common/cyfxtx.c:461:15: warning: comparison between signed and unsigned integer expressions

which SDK version suppose to be used?

Re: FX3 SDK

Posted: Mon Jan 26, 2015 10:24 am
by jynik
Those are warnings (not technically errors, but definitely gross) in Cypress's own code, unfortunately. If you enable -Wall and -Wextra when compiling their sample code and examples you'll see these as well.

Perhaps we'll have to try submitting a ticket with a patch or open a forum thread on Cypress's website to try to get these cleaned up...

The official firmware is built with 1.3.1, for what it's worth.