-
|
Hi, #ifndef CFG_TUD_ENDPOINT0_SIZE //------------- CLASS -------------// #define CFG_TUD_VENDOR_RX_BUFSIZE 64 and configuration descriptior is like this: uint8_t const desc_configuration[] = TUD_VENDOR_DESCRIPTOR(0xFF,0,0x01,0x81,0x40) and my main.c looks like this: void tud_vendor_rx_cb(uint8_t itf) int main(void) } but when building the project, the compiler gives the error: even though i am not using HID. after manually adding the usb hid callbacks and removing the tud_vendor_write it compiles. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Well, it looks like make was linking to previous object files that were build, after doing make clean and rebuilding, it started to compile successfully. |
Beta Was this translation helpful? Give feedback.
Well, it looks like make was linking to previous object files that were build, after doing make clean and rebuilding, it started to compile successfully.