Skip to content

Commit 49e63cd

Browse files
committed
Merge branch 'bugfix/add_allow_stack_external_config_when_use_psram' into 'master'
examples: Add allow stack external memory config when use spiram See merge request adf/esp-adf-internal!1213
2 parents 103cf62 + 5b3546a commit 49e63cd

File tree

48 files changed

+196
-16
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+196
-16
lines changed

examples/advanced_examples/dlna/sdkconfig.defaults

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ CONFIG_SPIRAM_USE_MALLOC=y
2626
CONFIG_SPIRAM_SPEED_80M=y
2727
CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY=y
2828
CONFIG_WIFI_LWIP_ALLOCATION_FROM_SPIRAM_FIRST=y
29+
CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP=y
2930

3031
# Increase default app partition size to accommodate console example
3132
# by providing new partition table in "partitions_dlna_example.csv"

examples/advanced_examples/dlna/sdkconfig.defaults.esp32s2

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ CONFIG_SDK_TOOLPREFIX="xtensa-esp32s2-elf-"
1111
# CONFIG_SDK_TOOLCHAIN_SUPPORTS_TIME_WIDE_64_BITS is not set
1212
# end of SDK tool configuration
1313

14+
#
15+
# SPI RAM config
16+
#
17+
CONFIG_ESP32S2_SPIRAM_SUPPORT=y
18+
1419
#
1520
# Audio HAL
1621
#

examples/advanced_examples/dlna/sdkconfig.defaults.esp32s3

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ CONFIG_SDK_TOOLPREFIX="xtensa-esp32s3-elf-"
1111
# CONFIG_SDK_TOOLCHAIN_SUPPORTS_TIME_WIDE_64_BITS is not set
1212
# end of SDK tool configuration
1313

14+
#
15+
# SPI RAM config
16+
#
17+
CONFIG_ESP32S3_SPIRAM_SUPPORT=y
18+
CONFIG_SPIRAM_MODE_OCT=y
19+
1420
#
1521
# Audio HAL
1622
#

examples/advanced_examples/downmix_pipeline/sdkconfig.defaults

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL=32768
2020
CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY=y
2121
CONFIG_FREERTOS_HZ=1000
2222
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y
23+
CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY=y
24+
CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP=y
2325

2426

2527
# Increase default app partition size to accommodate downmix pipeline example

examples/advanced_examples/downmix_pipeline/sdkconfig.defaults.esp32s3

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ CONFIG_SDK_TOOLPREFIX="xtensa-esp32s3-elf-"
1111
# CONFIG_SDK_TOOLCHAIN_SUPPORTS_TIME_WIDE_64_BITS is not set
1212
# end of SDK tool configuration
1313

14+
#
15+
# SPI RAM config
16+
#
17+
CONFIG_ESP32S3_SPIRAM_SUPPORT=y
18+
CONFIG_SPIRAM_MODE_OCT=y
19+
1420
#
1521
# Audio HAL
1622
#

examples/advanced_examples/esp_dispatcher_dueros/sdkconfig.defaults.esp32s3

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ CONFIG_SDK_TOOLPREFIX="xtensa-esp32s3-elf-"
1111
# CONFIG_SDK_TOOLCHAIN_SUPPORTS_TIME_WIDE_64_BITS is not set
1212
# end of SDK tool configuration
1313

14+
#
15+
# SPI RAM config
16+
#
17+
CONFIG_ESP32S3_SPIRAM_SUPPORT=y
18+
CONFIG_SPIRAM_MODE_OCT=y
19+
1420
#
1521
# Audio HAL
1622
#

examples/advanced_examples/flexible_pipeline/sdkconfig.defaults

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ CONFIG_WIFI_LWIP_ALLOCATION_FROM_SPIRAM_FIRST=y
1919
CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL=32768
2020
CONFIG_FREERTOS_HZ=1000
2121
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y
22+
CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY=y
23+
CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP=y
2224

2325
# Increase default app partition size to accommodate flexible pipeline example
2426
# by providing new partition table in "partitions_flexible_example.csv"

examples/advanced_examples/flexible_pipeline/sdkconfig.defaults.esp32s3

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ CONFIG_SDK_TOOLPREFIX="xtensa-esp32s3-elf-"
1111
# CONFIG_SDK_TOOLCHAIN_SUPPORTS_TIME_WIDE_64_BITS is not set
1212
# end of SDK tool configuration
1313

14+
#
15+
# SPI RAM config
16+
#
17+
CONFIG_ESP32S3_SPIRAM_SUPPORT=y
18+
CONFIG_SPIRAM_MODE_OCT=y
19+
1420
#
1521
# Audio HAL
1622
#

examples/advanced_examples/http_play_and_save_to_file/sdkconfig.defaults

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ CONFIG_SPIRAM_CACHE_WORKAROUND=y
1818
CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=16384
1919
CONFIG_WIFI_LWIP_ALLOCATION_FROM_SPIRAM_FIRST=y
2020
CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL=32768
21+
CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY=y
22+
CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP=y
2123
CONFIG_FREERTOS_HZ=1000
2224

2325
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y

examples/advanced_examples/http_play_and_save_to_file/sdkconfig.defaults.esp32s3

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ CONFIG_SDK_TOOLPREFIX="xtensa-esp32s3-elf-"
1111
# CONFIG_SDK_TOOLCHAIN_SUPPORTS_TIME_WIDE_64_BITS is not set
1212
# end of SDK tool configuration
1313

14+
#
15+
# SPI RAM config
16+
#
17+
CONFIG_ESP32S3_SPIRAM_SUPPORT=y
18+
CONFIG_SPIRAM_MODE_OCT=y
19+
1420
#
1521
# Audio HAL
1622
#

examples/advanced_examples/multi-room/sdkconfig.defaults

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ CONFIG_SPIRAM_USE_MALLOC=y
2626
CONFIG_SPIRAM_SPEED_80M=y
2727
CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY=y
2828
CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY=y
29+
CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP=y
2930
CONFIG_WIFI_LWIP_ALLOCATION_FROM_SPIRAM_FIRST=y
3031

3132
#

examples/advanced_examples/multi-room/sdkconfig.defaults.esp32s2

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ CONFIG_SDK_TOOLPREFIX="xtensa-esp32s2-elf-"
1111
# CONFIG_SDK_TOOLCHAIN_SUPPORTS_TIME_WIDE_64_BITS is not set
1212
# end of SDK tool configuration
1313

14+
#
15+
# SPI RAM config
16+
#
17+
CONFIG_ESP32S2_SPIRAM_SUPPORT=y
18+
1419
#
1520
# Audio HAL
1621
#

examples/advanced_examples/multi-room/sdkconfig.defaults.esp32s3

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ CONFIG_SDK_TOOLPREFIX="xtensa-esp32s3-elf-"
1111
# CONFIG_SDK_TOOLCHAIN_SUPPORTS_TIME_WIDE_64_BITS is not set
1212
# end of SDK tool configuration
1313

14+
#
15+
# SPI RAM config
16+
#
17+
CONFIG_ESP32S3_SPIRAM_SUPPORT=y
18+
CONFIG_SPIRAM_MODE_OCT=y
19+
1420
#
1521
# Audio HAL
1622
#

examples/advanced_examples/nvs_dispatcher/sdkconfig.defaults

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ CONFIG_SPIRAM_SUPPORT=y
88
# SPI RAM config
99
#
1010
CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY=y
11-
11+
CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP=y
1212
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y
13+
CONFIG_SPIRAM_SPEED_80M=y

examples/advanced_examples/nvs_dispatcher/sdkconfig.defaults.esp32s2

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ CONFIG_SDK_TOOLPREFIX="xtensa-esp32s2-elf-"
1111
# CONFIG_SDK_TOOLCHAIN_SUPPORTS_TIME_WIDE_64_BITS is not set
1212
# end of SDK tool configuration
1313

14+
#
15+
# SPI RAM config
16+
#
17+
CONFIG_ESP32S2_SPIRAM_SUPPORT=y
18+
1419
#
1520
# Audio HAL
1621
#

examples/advanced_examples/nvs_dispatcher/sdkconfig.defaults.esp32s3

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ CONFIG_SDK_TOOLPREFIX="xtensa-esp32s3-elf-"
1111
# CONFIG_SDK_TOOLCHAIN_SUPPORTS_TIME_WIDE_64_BITS is not set
1212
# end of SDK tool configuration
1313

14+
#
15+
# SPI RAM config
16+
#
17+
CONFIG_ESP32S3_SPIRAM_SUPPORT=y
18+
CONFIG_SPIRAM_MODE_OCT=y
19+
1420
#
1521
# Audio HAL
1622
#

examples/advanced_examples/wifi_bt_ble_coex/sdkconfig.defaults

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY=y
7171
CONFIG_SPIRAM_ALLOW_NOINIT_SEG_EXTERNAL_MEMORY=y
7272
CONFIG_SPIRAM_CACHE_WORKAROUND=y
7373
CONFIG_SPIRAM_CACHE_WORKAROUND_STRATEGY_MEMW=y
74+
CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY=y
7475

7576
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y
7677
CONFIG_MBEDTLS_DHM_C=y

examples/audio_processing/pipeline_audio_forge/sdkconfig.defaults

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ CONFIG_FATFS_CODEPAGE_936=y
2222
CONFIG_FATFS_LFN_HEAP=y
2323
CONFIG_FATFS_MAX_LFN=255
2424
CONFIG_FATFS_FS_LOCK=5
25-
25+
CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY=y
26+
CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP=y
2627
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y
2728

2829

examples/audio_processing/pipeline_audio_forge/sdkconfig.defaults.esp32s3

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ CONFIG_SDK_TOOLPREFIX="xtensa-esp32s3-elf-"
1111
# CONFIG_SDK_TOOLCHAIN_SUPPORTS_TIME_WIDE_64_BITS is not set
1212
# end of SDK tool configuration
1313

14+
#
15+
# SPI RAM config
16+
#
17+
CONFIG_ESP32S3_SPIRAM_SUPPORT=y
18+
CONFIG_SPIRAM_MODE_OCT=y
19+
1420
#
1521
# Audio HAL
1622
#

examples/cli/sdkconfig.defaults

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ CONFIG_FATFS_FS_LOCK=20
2727
CONFIG_MAIN_TASK_STACK_SIZE=3072
2828
CONFIG_SPIRAM_SUPPORT=y
2929
CONFIG_SPIRAM_IGNORE_NOTFOUND=y
30+
CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY=y
31+
CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP=y
3032

3133
# Increase default app partition size to accommodate console example
3234
# by providing new partition table in "partitions_console_example.csv"

examples/cli/sdkconfig.defaults.esp32s2

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ CONFIG_SDK_TOOLPREFIX="xtensa-esp32s2-elf-"
1111
# CONFIG_SDK_TOOLCHAIN_SUPPORTS_TIME_WIDE_64_BITS is not set
1212
# end of SDK tool configuration
1313

14+
#
15+
# SPI RAM config
16+
#
17+
CONFIG_ESP32S2_SPIRAM_SUPPORT=y
18+
1419
#
1520
# Audio HAL
1621
#

examples/cli/sdkconfig.defaults.esp32s3

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ CONFIG_SDK_TOOLPREFIX="xtensa-esp32s3-elf-"
1111
# CONFIG_SDK_TOOLCHAIN_SUPPORTS_TIME_WIDE_64_BITS is not set
1212
# end of SDK tool configuration
1313

14+
#
15+
# SPI RAM config
16+
#
17+
CONFIG_ESP32S3_SPIRAM_SUPPORT=y
18+
CONFIG_SPIRAM_MODE_OCT=y
19+
1420
#
1521
# Audio HAL
1622
#

examples/display/lcd_camera/sdkconfig.defaults

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,5 @@ CONFIG_SPIRAM_SPEED_80M=y
2020
CONFIG_SPIRAM=y
2121
CONFIG_SPIRAM_BOOT_INIT=y
2222
CONFIG_SPIRAM_IGNORE_NOTFOUND=y
23+
CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY=y
24+
CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP=y

examples/dueros/sdkconfig.defaults.esp32s3

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,5 +111,6 @@ CONFIG_SPIRAM_MEMTEST=y
111111
CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=4096
112112
CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP=y
113113
CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL=32768
114+
CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY=y
114115
# end of SPI RAM config
115116
# end of ESP32S3-Specific

examples/player/pipeline_a2dp_source_stream/sdkconfig.defaults

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ CONFIG_BT_BLE_DYNAMIC_ENV_MEMORY=y
1818
CONFIG_ESP32_DEFAULT_CPU_FREQ_240=y
1919
CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ=240
2020
CONFIG_SPIRAM_SUPPORT=y
21+
CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY=y
2122

2223
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y
2324

examples/player/pipeline_bt_source/sdkconfig.defaults

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ CONFIG_ESP32_DEFAULT_CPU_FREQ_240=y
1818
CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ=240
1919
CONFIG_SPIRAM_SUPPORT=y
2020
CONFIG_BT_BLE_BLUFI_ENABLE=y
21-
21+
CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY=y
2222
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y
2323
CONFIG_MBEDTLS_DHM_C=y
2424

examples/player/pipeline_flash_tone/sdkconfig.defaults

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,6 @@ CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y
1818
#
1919
CONFIG_SPIRAM_BOOT_INIT=y
2020
CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY=y
21+
CONFIG_SPIRAM_USE_MALLOC=y
22+
CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP=y
23+
CONFIG_SPIRAM_TYPE_AUTO=y

examples/player/pipeline_flash_tone/sdkconfig.defaults.esp32

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ CONFIG_SDK_TOOLPREFIX="xtensa-esp32-elf-"
1111
# CONFIG_SDK_TOOLCHAIN_SUPPORTS_TIME_WIDE_64_BITS is not set
1212
# end of SDK tool configuration
1313

14+
#
15+
# SPI RAM config
16+
#
17+
CONFIG_ESP32_SPIRAM_SUPPORT=y
18+
1419
#
1520
# Audio HAL
1621
#

examples/player/pipeline_flash_tone/sdkconfig.defaults.esp32s2

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ CONFIG_SDK_TOOLPREFIX="xtensa-esp32s2-elf-"
1111
# CONFIG_SDK_TOOLCHAIN_SUPPORTS_TIME_WIDE_64_BITS is not set
1212
# end of SDK tool configuration
1313

14+
#
15+
# SPI RAM config
16+
#
17+
CONFIG_ESP32S2_SPIRAM_SUPPORT=y
18+
1419
#
1520
# Audio HAL
1621
#

examples/player/pipeline_flash_tone/sdkconfig.defaults.esp32s3

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ CONFIG_SDK_TOOLPREFIX="xtensa-esp32s3-elf-"
1111
# CONFIG_SDK_TOOLCHAIN_SUPPORTS_TIME_WIDE_64_BITS is not set
1212
# end of SDK tool configuration
1313

14+
#
15+
# SPI RAM config
16+
#
17+
CONFIG_ESP32S3_SPIRAM_SUPPORT=y
18+
CONFIG_SPIRAM_MODE_OCT=y
19+
1420
#
1521
# Audio HAL
1622
#

examples/player/pipeline_http_mp3/sdkconfig.defaults

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,12 @@ CONFIG_ESP_TLS_SKIP_SERVER_CERT_VERIFY=y
77

88
CONFIG_ESP_SYSTEM_EVENT_TASK_STACK_SIZE=3072
99
CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y
10+
11+
#
12+
# SPI RAM config
13+
#
14+
CONFIG_SPIRAM_BOOT_INIT=y
15+
CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY=y
16+
CONFIG_SPIRAM_USE_MALLOC=y
17+
CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP=y
18+
CONFIG_SPIRAM_TYPE_AUTO=y

examples/player/pipeline_http_mp3/sdkconfig.defaults.esp32

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ CONFIG_SDK_TOOLPREFIX="xtensa-esp32-elf-"
1111
# CONFIG_SDK_TOOLCHAIN_SUPPORTS_TIME_WIDE_64_BITS is not set
1212
# end of SDK tool configuration
1313

14+
#
15+
# SPI RAM config
16+
#
17+
CONFIG_ESP32_SPIRAM_SUPPORT=y
18+
1419
#
1520
# Audio HAL
1621
#

examples/player/pipeline_http_mp3/sdkconfig.defaults.esp32s2

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,14 @@ CONFIG_SDK_TOOLPREFIX="xtensa-esp32s2-elf-"
1111
# CONFIG_SDK_TOOLCHAIN_SUPPORTS_TIME_WIDE_64_BITS is not set
1212
# end of SDK tool configuration
1313

14-
#
15-
# Audio HAL
16-
#
17-
CONFIG_ESP32_S2_KALUGA_1_V1_2_BOARD=y
18-
1914
#
2015
# SPI RAM config
2116
#
2217
CONFIG_ESP32S2_SPIRAM_SUPPORT=y
2318
CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=1024
19+
20+
#
21+
# Audio HAL
22+
#
23+
CONFIG_ESP32_S2_KALUGA_1_V1_2_BOARD=y
24+

examples/player/pipeline_http_mp3/sdkconfig.defaults.esp32s3

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ CONFIG_SDK_TOOLPREFIX="xtensa-esp32s3-elf-"
1111
# CONFIG_SDK_TOOLCHAIN_SUPPORTS_TIME_WIDE_64_BITS is not set
1212
# end of SDK tool configuration
1313

14+
#
15+
# SPI RAM config
16+
#
17+
CONFIG_ESP32S3_SPIRAM_SUPPORT=y
18+
CONFIG_SPIRAM_MODE_OCT=y
19+
1420
#
1521
# Audio HAL
1622
#

examples/player/pipeline_http_select_decoder/sdkconfig.defaults

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ CONFIG_SPIRAM_IGNORE_NOTFOUND=y
1414
CONFIG_SPIRAM_SPEED_80M=y
1515
CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY=y
1616
CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY=y
17+
CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP=y
1718

1819
# Increase default app partition size to accommodate SPIRAM
1920
# by providing new partition table in "partitions_http_select_decoder_example.csv"

examples/player/pipeline_http_select_decoder/sdkconfig.defaults.esp32s2

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ CONFIG_SDK_TOOLPREFIX="xtensa-esp32s2-elf-"
1111
# CONFIG_SDK_TOOLCHAIN_SUPPORTS_TIME_WIDE_64_BITS is not set
1212
# end of SDK tool configuration
1313

14+
#
15+
# SPI RAM config
16+
#
17+
CONFIG_ESP32S2_SPIRAM_SUPPORT=y
18+
1419
#
1520
# Audio HAL
1621
#

0 commit comments

Comments
 (0)