Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7ad749b

Browse files
Merge pull request #11785 from espressif/feature/esp-sr-2
feat(sr): Update ESP-SR to 2.x and enable it for ESP32-P4
2 parents b942b93 + 97b6f8e commit 7ad749b

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

‎idf_component.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ dependencies:
103103
- if: "target not in [esp32c2, esp32p4]"
104104
# RainMaker End
105105
espressif/esp-sr:
106-
version: "^1.4.2"
106+
version: "^2.1.5"
107107
rules:
108-
- if: "target in [esp32s3]"
108+
- if: "target in [esp32s3, esp32p4]"
109109
espressif/esp_hosted:
110110
version: "^2.0.12"
111111
rules:

‎libraries/ESP_SR/src/ESP_SR.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* SPDX-License-Identifier: Unlicense OR CC0-1.0
55
*/
66
#include "sdkconfig.h"
7-
#if CONFIG_IDF_TARGET_ESP32S3 && (CONFIG_USE_WAKENET || CONFIG_USE_MULTINET)
7+
#if (CONFIG_IDF_TARGET_ESP32S3 || CONFIG_IDF_TARGET_ESP32P4) && (CONFIG_USE_WAKENET || CONFIG_USE_MULTINET)
88
#include "ESP_SR.h"
99

1010
static esp_err_t on_sr_fill(void *arg, void *out, size_t len, size_t *bytes_read, uint32_t timeout_ms) {

‎libraries/ESP_SR/src/ESP_SR.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
#pragma once
88
#include "sdkconfig.h"
9-
#if CONFIG_IDF_TARGET_ESP32S3 && (CONFIG_USE_WAKENET || CONFIG_USE_MULTINET)
9+
#if (CONFIG_IDF_TARGET_ESP32S3 || CONFIG_IDF_TARGET_ESP32P4) && (CONFIG_USE_WAKENET || CONFIG_USE_MULTINET)
1010

1111
#include "ESP_I2S.h"
1212
#include "esp32-hal-sr.h"

‎libraries/ESP_SR/src/esp32-hal-sr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* SPDX-License-Identifier: Unlicense OR CC0-1.0
55
*/
66
#include "sdkconfig.h"
7-
#if CONFIG_IDF_TARGET_ESP32S3 && (CONFIG_USE_WAKENET || CONFIG_USE_MULTINET)
7+
#if (CONFIG_IDF_TARGET_ESP32S3||CONFIG_IDF_TARGET_ESP32P4) && (CONFIG_USE_WAKENET || CONFIG_USE_MULTINET)
88

99
#if !defined(ARDUINO_PARTITION_esp_sr_32) && !defined(ARDUINO_PARTITION_esp_sr_16) && !defined(ARDUINO_PARTITION_esp_sr_8)
1010
#warning Compatible partition must be selected for ESP_SR to work

‎libraries/ESP_SR/src/esp32-hal-sr.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
#pragma once
88
#include "sdkconfig.h"
9-
#if CONFIG_IDF_TARGET_ESP32S3 && (CONFIG_USE_WAKENET || CONFIG_USE_MULTINET)
9+
#if (CONFIG_IDF_TARGET_ESP32S3||CONFIG_IDF_TARGET_ESP32P4) && (CONFIG_USE_WAKENET || CONFIG_USE_MULTINET)
1010

1111
#include "driver/i2s_types.h"
1212
#include "esp_err.h"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /