mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
Merge branch 'contrib/github_pr_18648_v6.0' into 'release/v6.0'
esp_eth: make OpenETH ISR logging DRAM-safe (GitHub PR) (v6.0) See merge request espressif/esp-idf!51924
This commit is contained in:
@@ -28,7 +28,7 @@
|
|||||||
#include "esp_mac.h"
|
#include "esp_mac.h"
|
||||||
#include "esp_eth_mac_openeth.h"
|
#include "esp_eth_mac_openeth.h"
|
||||||
|
|
||||||
static const char *TAG = "opencores.emac";
|
ESP_LOG_ATTR_TAG_DRAM(TAG, "opencores.emac");
|
||||||
|
|
||||||
// Driver state structure
|
// Driver state structure
|
||||||
typedef struct {
|
typedef struct {
|
||||||
@@ -63,7 +63,7 @@ static IRAM_ATTR void emac_opencores_isr_handler(void *args)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (status & OPENETH_INT_BUSY) {
|
if (status & OPENETH_INT_BUSY) {
|
||||||
ESP_EARLY_LOGW(TAG, "%s: RX frame dropped (0x%" PRIx32 ")", __func__, status);
|
ESP_DRAM_LOGW(TAG, "RX frame dropped (0x%" PRIx32 ")", status);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Clear interrupt
|
// Clear interrupt
|
||||||
|
|||||||
Reference in New Issue
Block a user