USB compilation errors #3224
-
|
I want to change the VID:PID on a device because the PC software that uses it prefers to autodetect devices it can manage. I'm using the latest version of the core and the Pico SDK USB stack. Compiling for board 'Raspberry Pi Pico'. The USBConfigure example compiles and runs fine, but I'm getting compilation errors in my program when I call methods of the USB object. It compiles fine if I commit those lines out. The relevant part of my program: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
It looks like you are including a file in those Try adding a |
Beta Was this translation helpful? Give feedback.
It looks like you are including a file in those
...s which has a#define USB (USB_Type*)1343291392in it. (Never seen pointers as decimal before, that's some unique coding style!)Try adding a
#undef USBbefore the calls.