- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It is fixed after delete FX3 SDK related user data and re-install it. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Looks like your "stdint.h" is modified.
Please uninstall the FX3 SDK and install the latest FX3 SDK.
Thanks,
Ajeeth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It is fixed after delete FX3 SDK related user data and re-install it. Thanks.