1
0
Fork 0
forked from nuttx/nuttx-update

esp32s3-devkit: Initialize EFUSE driver

This commit is contained in:
Alan Carvalho de Assis 2023-01-17 14:49:18 -03:00 committed by Xiang Xiao
parent adc5f52fcf
commit 1be9d7c57f

View file

@ -62,6 +62,10 @@
#include <nuttx/video/fb.h>
#endif
#ifdef CONFIG_ESP32S3_EFUSE
# include "esp32s3_efuse.h"
#endif
#include "esp32s3-devkit.h"
/****************************************************************************
@ -86,6 +90,14 @@ int esp32s3_bringup(void)
{
int ret;
#if defined(CONFIG_ESP32S3_EFUSE)
ret = esp32s3_efuse_initialize("/dev/efuse");
if (ret < 0)
{
syslog(LOG_ERR, "ERROR: Failed to init EFUSE: %d\n", ret);
}
#endif
#ifdef CONFIG_FS_PROCFS
/* Mount the procfs file system */