You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cpp_utils/ArduinoBLE.md
+17-1Lines changed: 17 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -17,4 +17,20 @@ Here is the recipe.
17
17
4. Run `make -f Makefile.arduino build_ble`
18
18
5. Change into the directory called `./Arduino`
19
19
20
-
And here you will find the `ESP32_BLE.zip` that is build from the latest source. You can then install this into your Arduino IDE environment are you are ready to go.
20
+
And here you will find the `ESP32_BLE.zip` that is build from the latest source. You can then install this into your Arduino IDE environment are you are ready to go.
21
+
22
+
23
+
## Modifying the Arduino environment for BLE
24
+
The Arduino environment supplied for the ESP32 is **not** sufficient for full BLE support as supplied. A modification must be made.
25
+
26
+
Here are the instructions
27
+
28
+
1. Find the directory where your Arduino IDE is installed
29
+
2. Navigate relative from there to `<Arduino>/hardware/espressif/esp32/tools/sdk/include/config`
30
+
3. Edit the file called `sdkconfig.h`
31
+
4. Find the line which reads `#define CONFIG_BTC_TASK_STACK_SIZE 2048` and change to `#define CONFIG_BTC_TASK_STACK_SIZE 8000`
32
+
33
+
You are now ready to build (re-build) your BLE based applications.
34
+
35
+
A request has been made to he owners of the Arduino on ESP32 project to see if we can't make this the default or otherwise supply an easier story for modification see [arduino-esp32 issue 567](https://github.com/espressif/arduino-esp32/issues/567).
0 commit comments