aed3 / PS4-esp32

Use a ps4 controller with an esp32
328 stars 103 forks source link

Problem with ESP32 Board Manager higher than 1.0.4 #21

Closed e32sp closed 2 years ago

e32sp commented 3 years ago

I think espressif changed something in the bluetooth library. Its working with Board Manager Version 1.0.4, but not with 1.0.5 or 1.06: libraries\PS4-esp32-master\ps4_gap.c.o:(.literal.gapInitService+0x18): undefined reference to GAP_ConnOpen' libraries\PS4-esp32-master\ps4_gap.c.o:(.literal.gapEventHandle+0xc): undefined reference toGAP_ConnGetL2CAPCid' libraries\PS4-esp32-master\ps4_gap.c.o:(.literal.gapEventHandle+0x10): undefined reference to GAP_ConnBTRead' libraries\PS4-esp32-master\ps4_gap.c.o:(.literal.gapSendHid+0x10): undefined reference toGAP_ConnBTWrite' libraries\PS4-esp32-master\ps4_gap.c.o: In function gapInitService': libraries\PS4-esp32-master\src/ps4_gap.c:48: undefined reference toGAP_ConnOpen' libraries\PS4-esp32-master\ps4_gap.c.o: In function gapUpdateConnected': libraries\PS4-esp32-master\src/ps4_gap.c:48: undefined reference toGAP_ConnGetL2CAPCid' libraries\PS4-esp32-master\src/ps4_gap.c:48: undefined reference to GAP_ConnGetL2CAPCid' libraries\PS4-esp32-master\ps4_gap.c.o: In functiongapEventHandle': \Arduino\libraries\PS4-esp32-master\src/ps4_gap.c:48: undefined reference to GAP_ConnBTRead' libraries\PS4-esp32-master\ps4_gap.c.o: In functiongapSendHid': \Arduino\libraries\PS4-esp32-master\src/ps4_gap.c:88: undefined reference to `GAP_ConnBTWrite' collect2.exe: error: ld returned 1 exit status exit status 1 Fehler beim Kompilieren für das Board WEMOS LOLIN32.

Maybe thats an easy fix. Thanks for this great code. Having a lot of fun with it.

philgin commented 2 years ago

any workaround on this? I can't use 1.0.4 because of the Big Sur issue.