mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
fix(esp_system): test with psram timeout on CI
This commit is contained in:
@@ -35,8 +35,7 @@ endif()
|
||||
|
||||
idf_component_register(SRCS ${srcs}
|
||||
INCLUDE_DIRS ${includes}
|
||||
PRIV_INCLUDE_DIRS ${priv_includes}
|
||||
REQUIRES vfs)
|
||||
PRIV_INCLUDE_DIRS ${priv_includes})
|
||||
|
||||
if(CONFIG_VFS_SUPPORT_IO)
|
||||
# The public header esp_stdio.h includes VFS types when VFS is enabled.
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
|
||||
#include "esp_err.h"
|
||||
#include "esp_stdio_cli_config.h"
|
||||
#include "esp_vfs_common.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -35,14 +34,6 @@ typedef struct {
|
||||
/** @brief Opaque handle representing a registered console I/O backend. */
|
||||
typedef struct esp_stdio_entry *esp_stdio_handle_t;
|
||||
|
||||
/**
|
||||
* @brief Register the default console VFS backends from Kconfig.
|
||||
*
|
||||
* Called from startup code. Sets up the primary and any Kconfig-selected
|
||||
* auxiliary sinks, and mounts them under /dev/console.
|
||||
*/
|
||||
esp_err_t esp_stdio_register(void);
|
||||
|
||||
/**
|
||||
* @brief Register a VFS backend as a write-only auxiliary sink in the console mux.
|
||||
*
|
||||
|
||||
@@ -43,6 +43,7 @@ esp_err_t esp_stdio_install_io_driver(void)
|
||||
if (esp_stdio_has_user_primary()) {
|
||||
return ESP_OK;
|
||||
}
|
||||
#endif // CONFIG_VFS_SUPPORT_IO
|
||||
|
||||
/* No user primary — proceed with Kconfig default HW init */
|
||||
esp_err_t ret = ESP_FAIL;
|
||||
@@ -79,6 +80,7 @@ esp_err_t esp_stdio_uninstall_io_driver(void)
|
||||
if (esp_stdio_has_user_primary()) {
|
||||
return ESP_OK;
|
||||
}
|
||||
#endif // CONFIG_VFS_SUPPORT_IO
|
||||
|
||||
esp_err_t ret = ESP_FAIL;
|
||||
#if CONFIG_IDF_TARGET_LINUX
|
||||
|
||||
Reference in New Issue
Block a user