Skip to content

ESP32P4 hosted with Arduino as IDF component fail to build and find esp_bt.h #315

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

Closed
DovPearX opened this issue Mar 7, 2025 · 2 comments

Comments

@DovPearX
Copy link

DovPearX commented Mar 7, 2025

The problem occurs when we use arduino as an IDF component but on ESP32P4 some functions are disabled due to the use of hosted by SDIO on esp32c6. The arduino library cannot find #include "esp_bt.h". I probably do not know how to make changes to fix it automatically so please help :D

A temporary solution is to comment out the lines #include "esp_bt.h" (line 29) and esp_bt_controller_mem_release(ESP_BT_MODE_BTDM); from esp32-hal.misc.c (line 310). And also comment out lines 28 to 33 from nimconfig.h

It's also possible that I'm doing something wrong, but I've tried changing various things and nothing works.

@iranl
Copy link
Contributor

iranl commented Mar 9, 2025

See PR #312 and espressif/arduino-esp32#11035

@DovPearX
Copy link
Author

DovPearX commented Mar 9, 2025

I just noticed it now, I'm closing it then

@DovPearX DovPearX closed this as completed Mar 9, 2025
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

2 participants