#include "aes67_board.h" #include "aes67_net.h" #include "esp_app_desc.h" #include "esp_chip_info.h" #include "esp_log.h" static const char *TAG = "main"; void app_main(void) { const esp_app_desc_t *app = esp_app_get_description(); esp_chip_info_t chip; esp_chip_info(&chip); ESP_LOGI(TAG, "%s %s (IDF %s, built %s %s)", app->project_name, app->version, app->idf_ver, app->date, app->time); ESP_LOGI(TAG, "chip rev v%d.%d, %d cores", chip.revision / 100, chip.revision % 100, chip.cores); esp_eth_handle_t eth; ESP_ERROR_CHECK(aes67_board_eth_init(ð)); ESP_ERROR_CHECK(aes67_net_init(eth)); }