Skip to content

Commit 8d58f89

Browse files
committed
Change MSC Buffer size to 4K
@chegewara
1 parent 80e5841 commit 8d58f89

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ sdkconfig
1515
sdkconfig.old
1616
version.txt
1717
components/arduino_tinyusb/tinyusb/
18+
dependencies.lock

Diff for: sdkconfig.esp32s2

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ CONFIG_TINYUSB_CDC_TX_BUFSIZE=64
204204
#
205205
CONFIG_TINYUSB_MSC_ENABLED=y
206206
CONFIG_TINYUSB_DESC_MSC_STRING="Espressif MSC Device"
207-
CONFIG_TINYUSB_MSC_BUFSIZE=512
207+
CONFIG_TINYUSB_MSC_BUFSIZE=4096
208208
# end of Mass Storage (MSC) driver
209209

210210
#

Diff for: tools/update-components.sh

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
source ./tools/config.sh
44

55
CAMERA_REPO_URL="https://github.com/espressif/esp32-camera.git"
6-
FACE_REPO_URL="https://github.com/espressif/esp-face.git"
6+
FACE_REPO_URL="https://github.com/espressif/esp-dl.git"
77
RMAKER_REPO_URL="https://github.com/espressif/esp-rainmaker.git"
8-
DSP_REPO_URL="https://github.com/espressif/esp-dl.git"
8+
DSP_REPO_URL="https://github.com/espressif/esp-dsp.git"
99
LITTLEFS_REPO_URL="https://github.com/joltwallet/esp_littlefs.git"
1010
TINYUSB_REPO_URL="https://github.com/hathach/tinyusb.git"
1111

@@ -56,10 +56,10 @@ if [ $? -ne 0 ]; then exit 1; fi
5656

5757
if [ ! -d "$AR_COMPS/esp-face" ]; then
5858
git clone $FACE_REPO_URL "$AR_COMPS/esp-face"
59-
cml=`cat "$AR_COMPS/esp-face/CMakeLists.txt"`
60-
echo "if(IDF_TARGET STREQUAL \"esp32\" OR IDF_TARGET STREQUAL \"esp32s2\" OR IDF_TARGET STREQUAL \"esp32s3\")" > "$AR_COMPS/esp-face/CMakeLists.txt"
61-
echo "$cml" >> "$AR_COMPS/esp-face/CMakeLists.txt"
62-
echo "endif()" >> "$AR_COMPS/esp-face/CMakeLists.txt"
59+
# cml=`cat "$AR_COMPS/esp-face/CMakeLists.txt"`
60+
# echo "if(IDF_TARGET STREQUAL \"esp32\" OR IDF_TARGET STREQUAL \"esp32s2\" OR IDF_TARGET STREQUAL \"esp32s3\")" > "$AR_COMPS/esp-face/CMakeLists.txt"
61+
# echo "$cml" >> "$AR_COMPS/esp-face/CMakeLists.txt"
62+
# echo "endif()" >> "$AR_COMPS/esp-face/CMakeLists.txt"
6363
else
6464
git -C "$AR_COMPS/esp-face" fetch && \
6565
git -C "$AR_COMPS/esp-face" pull --ff-only

0 commit comments

Comments
 (0)