esp32s3-devkit: Initialize EFUSE driver
This commit is contained in:
parent
adc5f52fcf
commit
1be9d7c57f
@ -62,6 +62,10 @@
|
|||||||
#include <nuttx/video/fb.h>
|
#include <nuttx/video/fb.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef CONFIG_ESP32S3_EFUSE
|
||||||
|
# include "esp32s3_efuse.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "esp32s3-devkit.h"
|
#include "esp32s3-devkit.h"
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
@ -86,6 +90,14 @@ int esp32s3_bringup(void)
|
|||||||
{
|
{
|
||||||
int ret;
|
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
|
#ifdef CONFIG_FS_PROCFS
|
||||||
/* Mount the procfs file system */
|
/* Mount the procfs file system */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user