Skip to content

Commit b499c8a

Browse files
committed
submodule: update esp-idf to latest & enable BTDM_CTRL_AUTO_LATENCY feature
1 parent e746284 commit b499c8a

File tree

3 files changed

+27
-11
lines changed

3 files changed

+27
-11
lines changed

README.md

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,33 +13,48 @@ Bluetooth Speaker based on ESP32 chip with dynamic vision effects output.
1313
* OTA Firmware Update (via SPP Profile)
1414
* Sleep & WakeUp Key
1515

16-
## Obtaining
16+
## Preparing
17+
18+
### Obtain the Source
1719

1820
```
1921
git clone --recursive https://github.com/redchenjs/bluetooth_speaker_esp32.git
2022
```
2123

22-
* Set up the Toolchain: <https://docs.espressif.com/projects/esp-idf/en/latest/get-started/index.html>
23-
* Tested toolchain version: `esp32-2019r1`
24+
### Update an existing repository
2425

25-
## Updating
2626
```
2727
git pull
2828
git submodule update --init --recursive
2929
```
3030

31-
## Configure
31+
### Setup the Tools
32+
33+
```
34+
./esp-idf/install.sh
35+
```
36+
37+
## Building
38+
39+
### Setup the environment variables
40+
41+
```
42+
export IDF_PATH=$PWD/esp-idf
43+
source ./esp-idf/export.sh
44+
```
45+
46+
### Configure
3247

3348
```
34-
./esp-idf/tools/idf.py menuconfig
49+
idf.py menuconfig
3550
```
3651

3752
* All project configurations are under the `Bluetooth Speaker` menu.
3853

39-
## Build & Flash & Monitor
54+
### Flash & Monitor
4055

4156
```
42-
./esp-idf/tools/idf.py flash monitor
57+
idf.py flash monitor
4358
```
4459

4560
## VFX on ST7735 80x160 LCD Panel (Linear Spectrum)

esp-idf

Submodule esp-idf updated 3020 files

sdkconfig.defaults

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
1616
#
1717
CONFIG_BT_ENABLED=y
1818
CONFIG_BTDM_CTRL_MODE_BTDM=y
19-
CONFIG_BLUEDROID_ENABLED=y
19+
CONFIG_BTDM_CTRL_AUTO_LATENCY=y
20+
CONFIG_BT_BLUEDROID_ENABLED=y
2021
CONFIG_BT_CLASSIC_ENABLED=y
2122
CONFIG_BT_A2DP_ENABLE=y
2223
CONFIG_BT_SPP_ENABLED=y
@@ -30,7 +31,7 @@ CONFIG_BT_STACK_NO_LOG=y
3031
#
3132
# Compiler options
3233
#
33-
CONFIG_COMPILER_OPTIMIZATION_LEVEL_RELEASE=y
34+
CONFIG_COMPILER_OPTIMIZATION_SIZE=y
3435

3536
#
3637
# ESP32-specific

0 commit comments

Comments
 (0)