-
Notifications
You must be signed in to change notification settings - Fork 7.6k
How to compile esp-idf to use with arduino #4184
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
Comments
Things are currently stretched a bit, but the standard method is lib-builder. Please read through issues to compile ATM. |
Thanks @lbernstone for your quickly response. Finally, following this https://github.com/espressif/arduino-esp32/blob/master/docs/lib_builder.md and this #3760 I have compiled the libraries for arduino. But now I hava a new problem. I copy the following files:
Into its corresponding folders:
The problem is that now, in arduino, when I try to compile SerialToSerialBT example i get the following errors:
Any advice to solve these undefined references? |
|
Thanks @lbernstone. After some tricks I have achieved to get it work!. I have several questions in order to entirely understand it. First of all, why must I use The second question is that after I executed
Before I build the libbt.a, I executed Thank you |
If your changes are not confined to libbt.a, you will need to copy all the libraries that are changed in order to have a consistent set. It is typically easiest to just copy the whole thing with tools/copy-to-arduino.sh |
Hi guys, Modify of the maximum connections for BLE (from 3 to 8), using make menuconfig And now? |
@GianCann I think you'd have to replace them into your_arduino_esp32_framework_folder\tools\sdk\lib. Is there any way to recompile arduino libraries on Windows without the need for a subsystem for Linux? I can't get arduino-esp32-lib-builder to work on my Windows machine. |
@Pallanez yes, I find where to place the file but i get various errors from the linker.
I want to try to setup a enviroment based on Git Bash, on Windows. |
@GianCann What errors are you getting from the linker? Did you git clone the master branch of the arduino repo? I was able to compile on a virtual Ubuntu 14.04 machine applying @fededim 's patches (espressif/esp32-arduino-lib-builder#12). |
[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
[STALE_CLR] This issue has been removed from the stale queue. Please ensure activity to keep it openin the future. |
[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
[STALE_DEL] This stale issue has been automatically closed. Thank you for your contributions. |
Hardware:
Board: ESP32-WROVER-B
IDE name: Arduino IDE
Flash Frequency: 40Mhz
Upload Speed: 115200
Computer OS: Ubuntu 18.04
Description:
I want to modify some parts of the esp BluetoothLibrary (libbt.a) to use it with arduino (especially to remove the SSP profile in order to establish a fixed pin). However, I can't figure out how I can compile the esp-idf project to(to generate libbt.a).
So, my question is how can I compite esp-idf and get libbt.a?
Thanks.
The text was updated successfully, but these errors were encountered: