aed3 / PS4-esp32

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

Espressif's internal API #15

Closed Skiri closed 2 years ago

Skiri commented 3 years ago

The library could not be compiled with esp32 boards definition version 1.0.5 It's worth to mention this esp32-ps3' issue in readme section.

aed3 commented 3 years ago

Thanks for mentioning that, I'll make note of it and add something to the readme about it.

AkbarRamzan commented 3 years ago

@Skiri Do you know how to get this library working with 1.0.5?

DaveVdE commented 3 years ago

I'm also interested to learn how we can make this fabulous library compatible with the latest framework, and even added to the official list of Arduino libraries. How can I help?

aed3 commented 3 years ago

I can start looking into the changes needed to make this compatible with the newer version and will probably reach out to the person working on the PS3 version of the library to see if we can tackle the issue together. I'll keep this thread posted with updates.

Skiri commented 3 years ago

@Skiri Do you know how to get this library working with 1.0.5?

I mistyped, of course I wanted to type "The library could not be compiled with esp32 boards definition version 1.0.5"

bechhansen commented 3 years ago

I have the same problem and would love to use this library. I'm building a RC model.

jmarangola commented 3 years ago

Are you using PlatformIO? I have had success getting it to work recently

bechhansen commented 3 years ago

Any news or do anyone have a workaround? I tried to install an old esp32 boards definition but that did not work on macOS Big Sur. Apparently another bug.

Loo-Ree commented 3 years ago

Are you using PlatformIO? I have had success getting it to work recently

I tried with Arduino IDE and moving to the older 1.0.4 did the trick. But I want to use PlatformIO, unfortunately no luck so far.

Made a try with

[env:az-delivery-devkit-v4]
platform = espressif32
board = az-delivery-devkit-v4
framework = arduino
lib_deps = jvpernis/PS3 Controller Host@^1.1.0
build_flags = -DCORE_DEBUG_LEVEL=5
monitor_speed = 115200
platform_packages = framework-arduinoespressif32@https://github.com/espressif/arduino-esp32.git#1.0.4

But did not work.

DaveVdE commented 3 years ago

Here's mine:

[env:esp32dev]
platform = espressif32@3.0.0
board = esp32dev
framework = arduino
lib_deps = 
    waspinator/AccelStepper@^1.61
    https://github.com/aed3/PS4-esp32/archive/master.zip
Loo-Ree commented 3 years ago

Here's mine:

[env:esp32dev]
platform = espressif32@3.0.0
board = esp32dev
framework = arduino
lib_deps = 
  waspinator/AccelStepper@^1.61
  https://github.com/aed3/PS4-esp32/archive/master.zip

Thank you Dave, this worked!

juthomas commented 3 years ago

Here's mine:

[env:esp32dev]
platform = espressif32@3.0.0
board = esp32dev
framework = arduino
lib_deps = 
  waspinator/AccelStepper@^1.61
  https://github.com/aed3/PS4-esp32/archive/master.zip

Thanks ! It's perfect (Just cpy and rm "waspinator/AccelStepper@^1.61" and that fix it)

Mendrzec commented 2 years ago

This is solved with https://github.com/aed3/PS4-esp32/pull/25. @aed3 can you close the issue? Thanks!