Skip to content

Commit 987e4c4

Browse files
committed
Support ESP-IDF 3.3
- A few more components is required for esp-idf 3.3 - Need 8192B stack to avoid stackoverflow - The partition table requires 2.1M flash - Update travis CI to use ESP-IDF 3.3.2
1 parent 1f887ed commit 987e4c4

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

.travis/prepare.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ HASH_CMD="shasum -a 256"
4747
# Install dependencies
4848
# --------------------------------------------------------------------------------
4949

50-
ESP_IDF_VERSION=v3.0.4
50+
ESP_IDF_VERSION=v3.3.2
5151
if test "${TRAVIS_OS_NAME}" = "linux"; then
5252
XTENSA_TOOL_CHAIN_URL=https://dl.espressif.com/dl/xtensa-esp32-elf-linux64-1.22.0-80-g6c4433a-5.2.0.tar.gz
5353
XTENSA_TOOL_CHAIN_HASH=3fe96c151d46c1d4e5edc6ed690851b8e53634041114bad04729bc16b0445156

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,12 @@ COMPONENTS := app_trace \
5353
console \
5454
cxx \
5555
driver \
56+
efuse \
5657
esp32 \
5758
esp_adc_cal \
59+
esp_event \
60+
esp_ringbuf \
61+
espcoredump \
5862
esptool_py \
5963
ethernet \
6064
expat \
@@ -73,6 +77,7 @@ COMPONENTS := app_trace \
7377
pthread \
7478
QRCode \
7579
sdmmc \
80+
smartconfig_ack \
7681
soc \
7782
spidriver \
7883
spi_flash \

sdkconfig.defaults

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ CONFIG_APP_OFFSET=0x10000
1818

1919
# Bump the stack size of the Weave task to accommodate extra stack useage due to
2020
# debugging.
21-
CONFIG_WEAVE_TASK_STACK_SIZE=5120
21+
# 8192 is requied to avoid stackoverflow
22+
CONFIG_WEAVE_TASK_STACK_SIZE=8192
2223

2324
# Default to 921600 baud when flashing and monitoring device
2425
CONFIG_ESPTOOLPY_BAUD_921600B=y
@@ -46,3 +47,6 @@ CONFIG_LOG_PROVISIONING_HASH=y
4647
# purposes.
4748
CONFIG_DEFAULT_INCOMING_CONNECTION_IDLE_TIMEOUT=0
4849

50+
# Need 4MB or larger flash
51+
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
52+
CONFIG_ESPTOOLPY_FLASHSIZE="4MB"

0 commit comments

Comments
 (0)