I do not have any problems compiling
I am using Creator 3.1, can you have the name mis-spelled? If all fails, post your complete project here: To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.
The current version of the USBFS (that contains the USBUART too) component is 2.8. Both data sheets for 2.80 and 2.70 contain the USBFS_Start() function, and both mention the USBFS_3V_OPERATION constant.
Did you try code completion - may its just a mis-spelling? Did you look at the generated code, it should have the constant?
I had this one time.It seems it happens when copying from old projects.Externally, the text seems to be correct, but does not compile.I just copy the text from the right file again.for example: of USBUART_1.h line 353:PSoC Creator 3.0 SP2 (220.127.116.1140)USBUART_1.h of USBFS 2.70..................353 #define USBUART_1_3V_OPERATION (0x00u)354 #define USBUART_1_5V_OPERATION (0x01u)355 #define USBUART_1_DWR_VDDD_OPERATION (0x02u).................
I have red (somwhere) that it might be necessary to open the component and close it normally to have the correct configuration generated. This did not only apply to USBFS, as far as I remember there have been other components, too.
That is really strange. When I search for USBUART_Start in the document (2.70), it comes up twice but neither one is a definition. Are we to assume USBFS_Start is the substitute?
You were right though. I needed the line to read USBUART_Start(0, USBUART_3V_OPERATION). The "_1" was not used in my case...