migration issues from ESP-IDF v4.0 to v4.4.4

pandian.nano
Posts: 2
Joined: Fri Apr 22, 2022 4:10 am

migration issues from ESP-IDF v4.0 to v4.4.4

Postby pandian.nano » Wed Oct 16, 2024 8:54 am

Hi, I want to use HID Host(gamepad PS4) in esp-idf v4.0. I tried the migration process step by step from ESP-IDF v4.0 to v4.4.4 and I had changed only component/bt library, but I got a lot of issues and I need help. What library changes are required or what configuration is required?Please give details

nopnop2002
Posts: 111
Joined: Thu Oct 03, 2019 10:52 pm
Contact:

Re: migration issues from ESP-IDF v4.0 to v4.4.4

Postby nopnop2002 » Thu Oct 17, 2024 9:47 am

ESP-IDF V4.4 is already EOL, so it may be difficult to get support.

The current stable version of ESP-IDF is V5.3.1.

ESP-IDF V4.4 and V5.X have some breaking changes.


I don't have a gamepad PS4, but this might work.
https://github.com/ricardoquesada/bluepad32

However, I don't know the details.

Code: Select all

git clone https://github.com/ricardoquesada/bluepad32
git clone https://github.com/bluekitchen/btstack



cd $HOME//btstack/port/esp32
cp -r components/ $HOME/bluepad32/examples/esp32/
cd $HOME/btstack
cp -r 3rd-party/ $HOME/bluepad32/examples/esp32/components/btstack/
cp -r src/ $HOME/bluepad32/examples/esp32/components/btstack/
cp -r platform/ $HOME/bluepad32/examples/esp32/components/btstack/

cd $HOME/bluepad32/examples/esp32/
idf.py build

Who is online

Users browsing this forum: No registered users and 323 guests