8000 Updated docs for CONFIG_BTC_STACK_SIZE · EdWeller/esp32-snippets@b4c514a · GitHub
[go: up one dir, main page]

Skip to content

Commit b4c514a

Browse files
committed
Updated docs for CONFIG_BTC_STACK_SIZE
1 parent 7b95ae5 commit b4c514a

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

cpp_utils/ArduinoBLE.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,20 @@ Here is the recipe.
1717
4. Run `make -f Makefile.arduino build_ble`
1818
5. Change into the directory called `./Arduino`
1919

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).
36+

cpp_utils/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ $ make -f Makefile.arduino
5050

5151
The results of this will be ZIP files found in the `Arduino` directory relative to this one. Targets include:
5252

53-
* `build_ble` - Build the BLE libraries.
53+
* `build_ble` - Build the BLE libraries. See also: [Arduino BLE Support](ArduinoBLE.md) .

0 commit comments

Comments
 (0)
0