esp-idf/examples/protocols/linux_stubs/esp_stubs/esp_stubs.c
2023-03-15 11:48:11 +05:30

45 lines
711 B
C

/*
* 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"
#include "esp_event.h"
extern void app_main(void);
esp_err_t esp_event_loop_create_default(void)
{
return ESP_OK;
}
esp_err_t esp_event_post(esp_event_base_t event_base, int32_t event_id,
const void* event_data, size_t event_data_size, TickType_t ticks_to_wait)
{
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;
}