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

The esp32-ps3 code will not compile onto board Seeed XIAO ESP32C3 or XAIO ESP32S3 #74

Open
DATinsley opened this issue May 30, 2024 · 0 comments

Comments

@DATinsley
Copy link

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

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

1 participant