esp-idf/examples/protocols/linux_stubs/esp_stubs/esp_stubs.c

38 lines
510 B
C
Raw Normal View History

/*
* SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Unlicense OR CC0-1.0
*/
#include <stdlib.h>
#include "esp_err.h"
#include "esp_log.h"
extern void app_main(void);
esp_err_t esp_event_loop_create_default(void)
{
return ESP_OK;
}
esp_err_t esp_netif_init(void)
{
return ESP_OK;
}
esp_err_t nvs_flash_init(void)
{
return ESP_OK;
}
esp_err_t nvs_flash_erase(void)
{
return ESP_OK;
}
int main(void)
{
app_main();
return 0;
}