kopia lustrzana https://github.com/espressif/esp-idf
Merge branch 'bugfix/esp_eth_start_tx_buff_v4.4_followup' into 'release/v4.4'
Fixed ESP32 EMAC driver `insufficient TX buffer size` (v4.4 followup) See merge request espressif/esp-idf!16666pull/8460/head
commit
bf7266312c
|
@ -212,8 +212,22 @@ uint32_t emac_hal_get_phy_data(emac_hal_context_t *hal);
|
||||||
|
|
||||||
void emac_hal_set_address(emac_hal_context_t *hal, uint8_t *mac_addr);
|
void emac_hal_set_address(emac_hal_context_t *hal, uint8_t *mac_addr);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Starts EMAC Transmission & Reception
|
||||||
|
*
|
||||||
|
* @param hal EMAC HAL context infostructure
|
||||||
|
*/
|
||||||
void emac_hal_start(emac_hal_context_t *hal);
|
void emac_hal_start(emac_hal_context_t *hal);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Stops EMAC Transmission & Reception
|
||||||
|
*
|
||||||
|
* @param hal EMAC HAL context infostructure
|
||||||
|
* @return
|
||||||
|
* - ESP_OK: succeed
|
||||||
|
* - ESP_ERR_INVALID_STATE: previous frame transmission is not completed. When this error occurs,
|
||||||
|
* wait and reapeat the EMAC stop again.
|
||||||
|
*/
|
||||||
esp_err_t emac_hal_stop(emac_hal_context_t *hal);
|
esp_err_t emac_hal_stop(emac_hal_context_t *hal);
|
||||||
|
|
||||||
uint32_t emac_hal_get_tx_desc_owner(emac_hal_context_t *hal);
|
uint32_t emac_hal_get_tx_desc_owner(emac_hal_context_t *hal);
|
||||||
|
|
Ładowanie…
Reference in New Issue