- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have followed the instructions in AN82072 "PSoC 3 and PSOc 5 USB General..." All components are up to date and USBFS configuration follows those in the app note. I use a CY8CKIT-059 and downloaded the project referred to in the app note. When I try to compile the program I get the following message:
prj.M0120:Build error: conflicting type qualifiers for 'USBFS_deviceAddress" main.c, line 78, col 15
That line reads: extern uint8 USBFS_deviceAddress;
Any suggestions about how to correct the program so I can try the USB application? Thank you.
Project attached.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
If you place your pointer on the error line, you can see more detail of the error.
In this case, USBFS_deviceAddress was defined as "volatile uint8" somewhere else.
So I changed the line to
extern volatile uint8 USBFS_deviceAddress;
Then I could compile your project.
moto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
If you place your pointer on the error line, you can see more detail of the error.
In this case, USBFS_deviceAddress was defined as "volatile uint8" somewhere else.
So I changed the line to
extern volatile uint8 USBFS_deviceAddress;
Then I could compile your project.
moto