You are using staging server - a separate instance of the ESP Component Registry that allows you to try distribution tools and processes without affecting the real registry.

uploaded 10 months ago
This component initializes Ethernet driver based on Espressif IoT Development Framework Configuration.

readme

# Component for Ethernet Initialization

This component initializes Ethernet driver based on Espressif IoT Development Framework Configuration.

## API

### Steps to enable console in an example code:
1. Add this component to your project using ```idf.py add-dependency``` command.
2. In the main file of the example, add the following line:
    ```c
    #include "ethernet_init.h"
    ```
3. In your app_main() function, add the following line:
    ```c
    // Initialize ethernet
    esp_err_t ethernet_init_all(esp_eth_handle_t *eth_handles_out[], uint8_t *eth_cnt_out);

    // Deinitialize ethernet
    void ethernet_deinit_all(esp_eth_handle_t *eth_handles[]);

    // Get the device type of the ethernet handle
    eth_dev_type ethernet_init_get_dev_type(esp_eth_handle_t *eth_handle);
    ```

Links

Supports all targets

License: Apache-2.0

To add this component to your project, run:

idf.py add-dependency "espressif/ethernet_init^0.0.6"

or download archive

Stats

  • Downloaded in total
    Downloaded in total 10 times
  • Downloaded this version
    This version: 1 time

Badge

espressif/ethernet_init version: 0.0.6
|