Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

USB superspeed peripherals Forum Discussions

KeWa_2323766
Level 4
Level 4
First solution authored 25 replies posted 10 replies posted

Projects that used be able to build before in EZUSBSuite suddenly stopped being able to build. The error is:  " uint8_t undeclared"  and similar data type declaration errors.   Console error messages are as below.  I tried uninstall EZUSBsuite and reinstalled, and even delete registry entries before reinstallation, it has the same problem. Same problem happens even import example projects from SDK installation.  

17:12:56 **** Incremental Build of configuration Release for project UsbSpiRegMode ****
cs-make all
'Building file: ../cyfxtx.c'
'Invoking: Cross ARM C Compiler'
arm-none-eabi-gcc -mcpu=arm926ej-s -marm -mthumb-interwork -O3 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -Wall -g -D__CYU3P_TX__=1 -I"C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\/fw_lib/1_3_4/inc" -std=gnu11 -MMD -MP -MF"cyfxtx.d" -MT"cyfxtx.o" -c -o "cyfxtx.o" "../cyfxtx.c"
In file included from c:\program files (x86)\cypress\ez-usb fx3 sdk\1.3\arm gcc\lib\gcc\arm-none-eabi\4.8.1\include\stdint.h:9:0,
from C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\/fw_lib/1_3_4/inc/cyu3types.h:66,
from C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\/fw_lib/1_3_4/inc/cyu3os.h:26,
from ../cyfxtx.c:36:
c:\program files (x86)\cypress\ez-usb fx3 sdk\1.3\arm gcc\arm-none-eabi\include\stdint.h:42:23: error: duplicate 'unsigned'
typedef unsigned char unsigned char ;
^
c:\program files (x86)\cypress\ez-usb fx3 sdk\1.3\arm gcc\arm-none-eabi\include\stdint.h:42:32: error: two or more data types in declaration specifiers
typedef unsigned char unsigned char ;
^
In file included from ../cyfxtx.c:36:0:
C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\/fw_lib/1_3_4/inc/cyu3os.h:1076:9: error: unknown type name 'uint8_t'
uint8_t *ptr, /**< Pointer to the buffer to be filled. */

Any help is appreciated.

0 Likes
1 Solution
KeWa_2323766
Level 4
Level 4
First solution authored 25 replies posted 10 replies posted

It is fixed after delete FX3 SDK related user data and re-install it. Thanks. 

View solution in original post

3 Replies
Ajeethkumar
Moderator
Moderator
Moderator
250 sign-ins 50 solutions authored 10 likes received

Hi,

Looks like your "stdint.h" is modified.

Please uninstall the FX3 SDK and install the latest FX3 SDK.

FX3 SDK: https://www.infineon.com/cms/en/design-support/tools/sdk/usb-controllers-sdk/ez-usb-fx3-software-dev...

Thanks,
Ajeeth

0 Likes
KeWa_2323766
Level 4
Level 4
First solution authored 25 replies posted 10 replies posted

I tried uninstall and install FX3 SDK several times,  the same problem persists.   I noticed that the same workspace path will be shown after uninstall and install it again. May I know where this parameter stored? I tried to remove any configuration of FX3 SDK as complete as possible so that re installation might work. 

0 Likes
KeWa_2323766
Level 4
Level 4
First solution authored 25 replies posted 10 replies posted

It is fixed after delete FX3 SDK related user data and re-install it. Thanks.