Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to compile #1

Open
MiticoDan opened this issue Jun 7, 2022 · 2 comments
Open

unable to compile #1

MiticoDan opened this issue Jun 7, 2022 · 2 comments

Comments

@MiticoDan
Copy link

hi!
congratulation for great project, but i doesn't able to build it, the compiler show me few error... i tryied with arduino ide and platformio.

this is a part of this error.

please help me, thanks!

cdcftdimod.h:126:20: error: expected ')' before '*' token FTDIMOD(USB *pusb, FTDIMODAsyncOper *pasync, uint16_t idProduct = FTDI_PID); ~ ^~ ) cdcftdimod.h:147:92: error: 'USB_ENDPOINT_DESCRIPTOR' does not name a type; did you mean 'USB_REQUEST_SET_DESCRIPTOR'? void EndpointXtract(uint8_t conf, uint8_t iface, uint8_t alt, uint8_t proto, const USB_ENDPOINT_DESCRIPTOR *ep); ^~~~~~~~~~~~~~~~~~~~~~~ USB_REQUEST_SET_DESCRIPTOR In file included from C:\Users\mitic\Desktop\ESP32-3DPrinter-Bridge-master\ESP32-3DPrinter-Bridge-master.ino:82: descriptor.h:29:42: error: no matching function for call to 'FTDIMOD::FTDIMOD(USB*, FTDIMODAsync*)' FTDIMOD Ftdi(&Usb, &FtdiAsync);

@tobozo
Copy link
Owner

tobozo commented Jun 7, 2022

hi

since this is an old project, you should probably use an older version of USB_Host_Shield (the library dependency your compiler complains about) along with ESP32-Arduino-Core 1.0.6.

https://github.com/felis/USB_Host_Shield_2.0/releases/tag/1.3.2

@ghost
Copy link

ghost commented Aug 8, 2022

Hi tobozo,
I installed usb host shield 1.3.2 and ESP32-Arduino-Core 1.0.6 and got it to work.

I ran also board_qc and passed all tests.
My only problem is that rcode returned error 13(Serial.println(rcode)). J-state instead of response.
I can't find an exact explanation on the internet of what i am doing wrong. Can you help me with this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants