forked from espressif/esp-idf
fix(ci): update iperf build ci condition
Co-authored-by: Chen Yu Dong <chenyudong@espressif.com>
This commit is contained in:
@@ -53,7 +53,9 @@ extern void wifi_apb80m_request(void);
|
|||||||
extern void wifi_apb80m_release(void);
|
extern void wifi_apb80m_release(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if CONFIG_ESP_EXT_CONN_ENABLE
|
||||||
extern uint8_t *esp_extconn_get_mac(void);
|
extern uint8_t *esp_extconn_get_mac(void);
|
||||||
|
#endif
|
||||||
|
|
||||||
IRAM_ATTR void *wifi_malloc(size_t size)
|
IRAM_ATTR void *wifi_malloc(size_t size)
|
||||||
{
|
{
|
||||||
@@ -410,7 +412,12 @@ static esp_err_t esp_read_mac_wrapper(uint8_t *mac, unsigned int type)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// get mac address from target
|
// get mac address from target
|
||||||
|
#if CONFIG_ESP_EXT_CONN_ENABLE
|
||||||
memcpy(mac, esp_extconn_get_mac(), 6);
|
memcpy(mac, esp_extconn_get_mac(), 6);
|
||||||
|
#else
|
||||||
|
ESP_LOGE(TAG, "Not support read mac");
|
||||||
|
return ESP_FAIL;
|
||||||
|
#endif
|
||||||
|
|
||||||
if (type == ESP_MAC_WIFI_SOFTAP) {
|
if (type == ESP_MAC_WIFI_SOFTAP) {
|
||||||
mac[5] += 1;
|
mac[5] += 1;
|
||||||
|
@@ -38,9 +38,9 @@ examples/wifi/getting_started:
|
|||||||
|
|
||||||
examples/wifi/iperf:
|
examples/wifi/iperf:
|
||||||
disable:
|
disable:
|
||||||
- if: SOC_WIFI_SUPPORTED != 1
|
- if: (SOC_WIFI_SUPPORTED != 1) and (IDF_TARGET != "esp32p4")
|
||||||
disable_test:
|
disable_test:
|
||||||
- if: IDF_TARGET not in ["esp32", "esp32p4"]
|
- if: IDF_TARGET not in ["esp32"]
|
||||||
temporary: true
|
temporary: true
|
||||||
reason: lack of runners
|
reason: lack of runners
|
||||||
depends_components:
|
depends_components:
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# Iperf Example
|
# Iperf Example
|
||||||
|
|
||||||
|
@@ -7,7 +7,7 @@ dependencies:
|
|||||||
version: "~0.1.0"
|
version: "~0.1.0"
|
||||||
esp-qa/ping-cmd:
|
esp-qa/ping-cmd:
|
||||||
version: "~0.0.1"
|
version: "~0.0.1"
|
||||||
espressif/esp_extconn:
|
espressif/esp-extconn:
|
||||||
version: "~0.0.1"
|
version: "~0.1.0"
|
||||||
rules:
|
rules:
|
||||||
- if: "target in [esp32p4]"
|
- if: "target in [esp32p4]"
|
||||||
|
Reference in New Issue
Block a user