FX3 SDK

Discussions related to embedded firmware, driver, and user mode application software development
Post Reply
tsarik
Posts: 3
Joined: Thu Aug 14, 2014 10:14 am

FX3 SDK

Post 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?
jynik
Posts: 455
Joined: Thu Jun 06, 2013 8:15 pm

Re: FX3 SDK

Post 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.
Post Reply