fix(ci): update iperf build ci condition

Co-authored-by: Chen Yu Dong <chenyudong@espressif.com>
This commit is contained in:
Chen Yu Dong 2024-07-26 17:31:05 +08:00 committed by muhaidong
parent 79575e4232
commit 7c92d98c04
4 changed files with 13 additions and 6 deletions

View File

@ -53,7 +53,9 @@ extern void wifi_apb80m_request(void);
extern void wifi_apb80m_release(void);
#endif
#if CONFIG_ESP_EXT_CONN_ENABLE
extern uint8_t *esp_extconn_get_mac(void);
#endif
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
#if CONFIG_ESP_EXT_CONN_ENABLE
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) {
mac[5] += 1;

View File

@ -38,9 +38,9 @@ examples/wifi/getting_started:
examples/wifi/iperf:
disable:
- if: SOC_WIFI_SUPPORTED != 1
- if: (SOC_WIFI_SUPPORTED != 1) and (IDF_TARGET != "esp32p4")
disable_test:
- if: IDF_TARGET not in ["esp32", "esp32p4"]
- if: IDF_TARGET not in ["esp32"]
temporary: true
reason: lack of runners
depends_components:

View File

@ -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

View File

@ -7,7 +7,7 @@ dependencies:
version: "~0.1.0"
esp-qa/ping-cmd:
version: "~0.0.1"
espressif/esp_extconn:
version: "~0.0.1"
espressif/esp-extconn:
version: "~0.1.0"
rules:
- if: "target in [esp32p4]"