Arduino uno error of usb

kamal97singla

New member
In file included from /Users/sagarsingla/Desktop/checkm8-a5/checkm8-a5.ino:4:0:
/Users/sagarsingla/Desktop/checkm8-a5/constants.h:92:17: note: #pragma message: Building for A5 S5L8940X
#pragma message "Building for A5 S5L8940X"
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/sagarsingla/Desktop/checkm8-a5/checkm8-a5.ino: In function 'uint8_t heap_feng_shui_req(uint8_t, bool)':
/Users/sagarsingla/Desktop/checkm8-a5/checkm8-a5.ino:113:21: error: 'class USB' has no member named 'ctrlReq_SETUP'; did you mean 'ctrlReq'?
setup_rcode = Usb.ctrlReq_SETUP(0, 0, 0x80, 6, serial_idx, 3, 0x40a, sz);
^~~~~~~~~~~~~
ctrlReq
/Users/sagarsingla/Desktop/checkm8-a5/checkm8-a5.ino: In function 'void set_global_state()':
/Users/sagarsingla/Desktop/checkm8-a5/checkm8-a5.ino:159:15: error: 'class USB' has no member named 'ctrlReq_SETUP'; did you mean 'ctrlReq'?
rcode = Usb.ctrlReq_SETUP(0, 0, 0x21, 1, 0, 0, 0, 0x40);
^~~~~~~~~~~~~
ctrlReq
/Users/sagarsingla/Desktop/checkm8-a5/checkm8-a5.ino:178:15: error: 'class USB' has no member named 'ctrlReq_SETUP'; did you mean 'ctrlReq'?
rcode = Usb.ctrlReq_SETUP(0, 0, 0x21, 1, 0, 0, 0, padding + 0x40);
^~~~~~~~~~~~~
ctrlReq
/Users/sagarsingla/Desktop/checkm8-a5/checkm8-a5.ino: In function 'void heap_occupation()':
/Users/sagarsingla/Desktop/checkm8-a5/checkm8-a5.ino:206:15: error: 'class USB' has no member named 'ctrlReq_SETUP'; did you mean 'ctrlReq'?
rcode = Usb.ctrlReq_SETUP(0, 0, 0, 0, 0, 0, 0, 0x40);
^~~~~~~~~~~~~
ctrlReq
/Users/sagarsingla/Desktop/checkm8-a5/checkm8-a5.ino:218:15: error: 'class USB' has no member named 'ctrlReq_SETUP'; did you mean 'ctrlReq'?
rcode = Usb.ctrlReq_SETUP(0, 0, 0x21, 1, 0, 0, 0, sizeof(payload));
^~~~~~~~~~~~~
ctrlReq
Multiple libraries were found for "Usb.h"
Used: /Users/sagarsingla/Documents/Arduino/libraries/USB_Host_Shield_Library_2.0
Not used: /Users/sagarsingla/Documents/Arduino/libraries/USBHost
exit status 1

Compilation error: 'class USB' has no member named 'ctrlReq_SETUP'; did you mean 'ctrlReq'?
 
Back
Top