You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code with #include <Ps3Controller.h> will not compile when board selected is XIAO ESP32C3 or XAIO ESP32S3
Using Arduino IDE 2.3.2
The code will compile when board selected is WEMOS D1 MINI ESP32
error code:
c:/users//appdata/local/arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: C:\Users*\AppData\Local\Temp\arduino\sketches\C3DE9D0E3C8C805E27E77C8072BFB677\libraries\PS3_Controller_Host\ps3_l2cap.c.o: in function ps3_l2cap_config_ind_cback': c:\Users\***\OneDrive\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_l2cap.c:244: undefined reference to L2CA_ConfigRsp'
c:/users//appdata/local/arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: C:\Users*\AppData\Local\Temp\arduino\sketches\C3DE9D0E3C8C805E27E77C8072BFB677\libraries\PS3_Controller_Host\ps3_l2cap.c.o: in function ps3_l2cap_connect_ind_cback': c:\Users\***\OneDrive\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_l2cap.c:197: undefined reference to L2CA_ErtmConnectRsp'
c:/users/datin/appdata/local/arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: c:\Users*\OneDrive\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_l2cap.c:200: undefined reference to L2CA_ErtmConnectRsp' c:/users/***/appdata/local/arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: c:\Users\*****\OneDrive\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_l2cap.c:203: undefined reference to L2CA_ConfigReq'
c:/users//appdata/local/arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: C:\Users*****\AppData\Local\Temp\arduino\sketches\C3DE9D0E3C8C805E27E77C8072BFB677\libraries\PS3_Controller_Host\ps3_l2cap.c.o: in function ps3_l2cap_init_service': c:\Users\*****\OneDrive\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_l2cap.c:152: undefined reference to L2CA_Register'
c:/users//appdata/local/arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: C:\Users*****\AppData\Local\Temp\arduino\sketches\C3DE9D0E3C8C805E27E77C8072BFB677\libraries\PS3_Controller_Host\ps3_l2cap.c.o: in function ps3_l2cap_deinit_service': c:\Users\*****\OneDrive\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_l2cap.c:78: undefined reference to L2CA_Deregister'
c:/users//appdata/local/arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: c:\Users*\OneDrive\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_l2cap.c:178: undefined reference to L2CA_Deregister' c:/users/datin/appdata/local/arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: C:\Users\*****\AppData\Local\Temp\arduino\sketches\C3DE9D0E3C8C805E27E77C8072BFB677\libraries\PS3_Controller_Host\ps3_l2cap.c.o: in function ps3_l2cap_send_hid':
c:\Users*\OneDrive\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_l2cap.c:122: undefined reference to L2CA_DataWrite' c:/users/*****/appdata/local/arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: C:\Users\*****\AppData\Local\Temp\arduino\sketches\C3DE9D0E3C8C805E27E77C8072BFB677\libraries\PS3_Controller_Host\ps3_spp.c.o: in function ps3_spp_callback':
c:\Users*****\OneDrive\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_spp.c:145: undefined reference to esp_bt_gap_set_scan_mode' c:/users/*****/appdata/local/arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: c:\Users\*****\OneDrive\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_spp.c:150: undefined reference to esp_spp_start_srv'
c:/users//appdata/local/arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: C:\Users*****\AppData\Local\Temp\arduino\sketches\C3DE9D0E3C8C805E27E77C8072BFB677\libraries\PS3_Controller_Host\ps3_spp.c.o: in function ps3_spp_init': c:\Users\*****\OneDrive\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_spp.c:68: undefined reference to esp_spp_register_callback'
c:/users/***/appdata/local/arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: c:\Users*\OneDrive\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_spp.c:74: undefined reference to esp_spp_init' c:/users/*****/appdata/local/arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: C:\Users\*****\AppData\Local\Temp\arduino\sketches\C3DE9D0E3C8C805E27E77C8072BFB677\libraries\PS3_Controller_Host\ps3_spp.c.o: in function ps3_spp_deinit':
c:\Users*\OneDrive\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_spp.c:77: undefined reference to `esp_spp_deinit'
collect2.exe: error: ld returned 1 exit status
exit status 1
Compilation error: exit status 1
The text was updated successfully, but these errors were encountered:
Code with #include <Ps3Controller.h> will not compile when board selected is XIAO ESP32C3 or XAIO ESP32S3
Using Arduino IDE 2.3.2
The code will compile when board selected is WEMOS D1 MINI ESP32
error code:
c:/users//appdata/local/arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: C:\Users*\AppData\Local\Temp\arduino\sketches\C3DE9D0E3C8C805E27E77C8072BFB677\libraries\PS3_Controller_Host\ps3_l2cap.c.o: in function
ps3_l2cap_config_ind_cback': c:\Users\***\OneDrive\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_l2cap.c:244: undefined reference to
L2CA_ConfigRsp'c:/users//appdata/local/arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: C:\Users*\AppData\Local\Temp\arduino\sketches\C3DE9D0E3C8C805E27E77C8072BFB677\libraries\PS3_Controller_Host\ps3_l2cap.c.o: in function
ps3_l2cap_connect_ind_cback': c:\Users\***\OneDrive\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_l2cap.c:197: undefined reference to
L2CA_ErtmConnectRsp'c:/users/datin/appdata/local/arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: c:\Users*\OneDrive\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_l2cap.c:200: undefined reference to
L2CA_ErtmConnectRsp' c:/users/***/appdata/local/arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: c:\Users\*****\OneDrive\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_l2cap.c:203: undefined reference to
L2CA_ConfigReq'c:/users//appdata/local/arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: C:\Users*****\AppData\Local\Temp\arduino\sketches\C3DE9D0E3C8C805E27E77C8072BFB677\libraries\PS3_Controller_Host\ps3_l2cap.c.o: in function
ps3_l2cap_init_service': c:\Users\*****\OneDrive\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_l2cap.c:152: undefined reference to
L2CA_Register'c:/users//appdata/local/arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: C:\Users*****\AppData\Local\Temp\arduino\sketches\C3DE9D0E3C8C805E27E77C8072BFB677\libraries\PS3_Controller_Host\ps3_l2cap.c.o: in function
ps3_l2cap_deinit_service': c:\Users\*****\OneDrive\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_l2cap.c:78: undefined reference to
L2CA_Deregister'c:/users//appdata/local/arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: c:\Users*\OneDrive\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_l2cap.c:178: undefined reference to
L2CA_Deregister' c:/users/datin/appdata/local/arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: C:\Users\*****\AppData\Local\Temp\arduino\sketches\C3DE9D0E3C8C805E27E77C8072BFB677\libraries\PS3_Controller_Host\ps3_l2cap.c.o: in function
ps3_l2cap_send_hid':c:\Users*\OneDrive\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_l2cap.c:122: undefined reference to
L2CA_DataWrite' c:/users/*****/appdata/local/arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: C:\Users\*****\AppData\Local\Temp\arduino\sketches\C3DE9D0E3C8C805E27E77C8072BFB677\libraries\PS3_Controller_Host\ps3_spp.c.o: in function
ps3_spp_callback':c:\Users*****\OneDrive\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_spp.c:145: undefined reference to
esp_bt_gap_set_scan_mode' c:/users/*****/appdata/local/arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: c:\Users\*****\OneDrive\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_spp.c:150: undefined reference to
esp_spp_start_srv'c:/users//appdata/local/arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: C:\Users*****\AppData\Local\Temp\arduino\sketches\C3DE9D0E3C8C805E27E77C8072BFB677\libraries\PS3_Controller_Host\ps3_spp.c.o: in function
ps3_spp_init': c:\Users\*****\OneDrive\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_spp.c:68: undefined reference to
esp_spp_register_callback'c:/users/***/appdata/local/arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: c:\Users*\OneDrive\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_spp.c:74: undefined reference to
esp_spp_init' c:/users/*****/appdata/local/arduino15/packages/esp32/tools/riscv32-esp-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/riscv32-esp-elf/8.4.0/../../../../riscv32-esp-elf/bin/ld.exe: C:\Users\*****\AppData\Local\Temp\arduino\sketches\C3DE9D0E3C8C805E27E77C8072BFB677\libraries\PS3_Controller_Host\ps3_spp.c.o: in function
ps3_spp_deinit':c:\Users*\OneDrive\Documents\Arduino\libraries\PS3_Controller_Host\src/ps3_spp.c:77: undefined reference to `esp_spp_deinit'
collect2.exe: error: ld returned 1 exit status
exit status 1
Compilation error: exit status 1
The text was updated successfully, but these errors were encountered: