1 /*
2  * SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 /*
8  * All functions presented here are stubs for the POSIX/Linux implementation of FreeRTOS.
9  * They are meant to allow to compile, but they DO NOT return any meaningful value.
10  */
11 
12 #include "esp_system.h"
13 
14 // On Linux, this is just a meaningful value to make applications build and run
esp_reset_reason(void)15 esp_reset_reason_t esp_reset_reason(void)
16 {
17     return ESP_RST_POWERON;
18 }
19