mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 23:40:19 +08:00
boards/extensa/esp32: use wlan config to start wlan
Use wlan configuration option to enable wlan support for: - esp32-2432S028 - esp32-audio-kit - esp32-devkitc - esp32-ethernet-kit - esp32-lyrat - esp32-pico-kit - esp32-sparrow-kit - esp32-wrover-kit - lilygo_tbeam_lora_gps - ttgo_eink5_v2 - ttgo_lora_esp32 - ttgo_t_display_esp32 - esp32s2-saola-1 - esp32s3-box - esp32s3-devkit - esp32s3-eye - esp32s3-korvo-2 - esp32s3-lcd-ev - lckfb-szpi-esp32s3 Signed-off-by: Laczen JMS <laczenjms@gmail.com>
This commit is contained in:
committed by
Tiago Medicci Serrano
parent
b8964f5c46
commit
fb24cae852
@@ -59,7 +59,7 @@
|
|||||||
# include "esp32_board_spiflash.h"
|
# include "esp32_board_spiflash.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ESPRESSIF_WIFI
|
#ifdef CONFIG_ESPRESSIF_WLAN
|
||||||
# include "esp32_board_wlan.h"
|
# include "esp32_board_wlan.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -187,11 +187,11 @@ int esp32_bringup(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ESPRESSIF_WIFI
|
#ifdef CONFIG_ESPRESSIF_WLAN
|
||||||
ret = board_wlan_init();
|
ret = board_wlan_init();
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
syslog(LOG_ERR, "ERROR: Failed to initialize wireless subsystem=%d\n",
|
syslog(LOG_ERR, "ERROR: Failed to initialize wlan subsystem=%d\n",
|
||||||
ret);
|
ret);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
@@ -386,4 +386,3 @@ int esp32_bringup(void)
|
|||||||
UNUSED(ret);
|
UNUSED(ret);
|
||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -68,7 +68,7 @@
|
|||||||
# include "esp32_ble.h"
|
# include "esp32_ble.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ESPRESSIF_WIFI
|
#ifdef CONFIG_ESPRESSIF_WLAN
|
||||||
# include "esp32_board_wlan.h"
|
# include "esp32_board_wlan.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -213,11 +213,11 @@ int esp32_bringup(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ESPRESSIF_WIFI
|
#ifdef CONFIG_ESPRESSIF_WLAN
|
||||||
ret = board_wlan_init();
|
ret = board_wlan_init();
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
syslog(LOG_ERR, "ERROR: Failed to initialize wireless subsystem=%d\n",
|
syslog(LOG_ERR, "ERROR: Failed to initialize wlan subsystem=%d\n",
|
||||||
ret);
|
ret);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
@@ -444,4 +444,3 @@ int esp32_bringup(void)
|
|||||||
UNUSED(ret);
|
UNUSED(ret);
|
||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -74,7 +74,7 @@
|
|||||||
# include "esp32_ble.h"
|
# include "esp32_ble.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ESPRESSIF_WIFI
|
#ifdef CONFIG_ESPRESSIF_WLAN
|
||||||
# include "esp32_board_wlan.h"
|
# include "esp32_board_wlan.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -357,11 +357,11 @@ int esp32_bringup(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ESPRESSIF_WIFI
|
#ifdef CONFIG_ESPRESSIF_WLAN
|
||||||
ret = board_wlan_init();
|
ret = board_wlan_init();
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
syslog(LOG_ERR, "ERROR: Failed to initialize wireless subsystem=%d\n",
|
syslog(LOG_ERR, "ERROR: Failed to initialize wlan subsystem=%d\n",
|
||||||
ret);
|
ret);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -67,7 +67,7 @@
|
|||||||
# include "esp32_ble.h"
|
# include "esp32_ble.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ESPRESSIF_WIFI
|
#ifdef CONFIG_ESPRESSIF_WLAN
|
||||||
# include "esp32_board_wlan.h"
|
# include "esp32_board_wlan.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -174,11 +174,11 @@ int esp32_bringup(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ESPRESSIF_WIFI
|
#ifdef CONFIG_ESPRESSIF_WLAN
|
||||||
ret = board_wlan_init();
|
ret = board_wlan_init();
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
syslog(LOG_ERR, "ERROR: Failed to initialize wireless subsystem=%d\n",
|
syslog(LOG_ERR, "ERROR: Failed to initialize wlan subsystem=%d\n",
|
||||||
ret);
|
ret);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -68,7 +68,7 @@
|
|||||||
# include "esp32_ble.h"
|
# include "esp32_ble.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ESPRESSIF_WIFI
|
#ifdef CONFIG_ESPRESSIF_WLAN
|
||||||
# include "esp32_board_wlan.h"
|
# include "esp32_board_wlan.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -214,11 +214,11 @@ int esp32_bringup(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ESPRESSIF_WIFI
|
#ifdef CONFIG_ESPRESSIF_WLAN
|
||||||
ret = board_wlan_init();
|
ret = board_wlan_init();
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
syslog(LOG_ERR, "ERROR: Failed to initialize wireless subsystem=%d\n",
|
syslog(LOG_ERR, "ERROR: Failed to initialize wlan subsystem=%d\n",
|
||||||
ret);
|
ret);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
@@ -445,4 +445,3 @@ int esp32_bringup(void)
|
|||||||
UNUSED(ret);
|
UNUSED(ret);
|
||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -67,7 +67,7 @@
|
|||||||
# include "esp32_ble.h"
|
# include "esp32_ble.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ESPRESSIF_WIFI
|
#ifdef CONFIG_ESPRESSIF_WLAN
|
||||||
# include "esp32_board_wlan.h"
|
# include "esp32_board_wlan.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -245,11 +245,11 @@ int esp32_bringup(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ESPRESSIF_WIFI
|
#ifdef CONFIG_ESPRESSIF_WLAN
|
||||||
ret = board_wlan_init();
|
ret = board_wlan_init();
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
syslog(LOG_ERR, "ERROR: Failed to initialize wireless subsystem=%d\n",
|
syslog(LOG_ERR, "ERROR: Failed to initialize wlan subsystem=%d\n",
|
||||||
ret);
|
ret);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -71,7 +71,7 @@
|
|||||||
# include "esp32_ble.h"
|
# include "esp32_ble.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ESPRESSIF_WIFI
|
#ifdef CONFIG_ESPRESSIF_WLAN
|
||||||
# include "esp32_board_wlan.h"
|
# include "esp32_board_wlan.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -225,11 +225,11 @@ int esp32_bringup(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ESPRESSIF_WIFI
|
#ifdef CONFIG_ESPRESSIF_WLAN
|
||||||
ret = board_wlan_init();
|
ret = board_wlan_init();
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
syslog(LOG_ERR, "ERROR: Failed to initialize wireless subsystem=%d\n",
|
syslog(LOG_ERR, "ERROR: Failed to initialize wlan subsystem=%d\n",
|
||||||
ret);
|
ret);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -67,7 +67,7 @@
|
|||||||
# include "esp32_ble.h"
|
# include "esp32_ble.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ESPRESSIF_WIFI
|
#ifdef CONFIG_ESPRESSIF_WLAN
|
||||||
# include "esp32_board_wlan.h"
|
# include "esp32_board_wlan.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -213,11 +213,11 @@ int esp32_bringup(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ESPRESSIF_WIFI
|
#ifdef CONFIG_ESPRESSIF_WLAN
|
||||||
ret = board_wlan_init();
|
ret = board_wlan_init();
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
syslog(LOG_ERR, "ERROR: Failed to initialize wireless subsystem=%d\n",
|
syslog(LOG_ERR, "ERROR: Failed to initialize wlan subsystem=%d\n",
|
||||||
ret);
|
ret);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
@@ -407,4 +407,3 @@ int esp32_bringup(void)
|
|||||||
UNUSED(ret);
|
UNUSED(ret);
|
||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -75,7 +75,7 @@
|
|||||||
# include "esp32_ble.h"
|
# include "esp32_ble.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ESPRESSIF_WIFI
|
#ifdef CONFIG_ESPRESSIF_WLAN
|
||||||
# include "esp32_board_wlan.h"
|
# include "esp32_board_wlan.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -218,11 +218,11 @@ int esp32_bringup(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ESPRESSIF_WIFI
|
#ifdef CONFIG_ESPRESSIF_WLAN
|
||||||
ret = board_wlan_init();
|
ret = board_wlan_init();
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
syslog(LOG_ERR, "ERROR: Failed to initialize wireless subsystem=%d\n",
|
syslog(LOG_ERR, "ERROR: Failed to initialize wlan subsystem=%d\n",
|
||||||
ret);
|
ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -79,7 +79,7 @@
|
|||||||
# include "esp32_ble.h"
|
# include "esp32_ble.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ESPRESSIF_WIRELESS
|
#ifdef CONFIG_ESPRESSIF_WLAN
|
||||||
# include "esp32_board_wlan.h"
|
# include "esp32_board_wlan.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -291,11 +291,11 @@ int esp32_bringup(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ESPRESSIF_WIRELESS
|
#ifdef CONFIG_ESPRESSIF_WLAN
|
||||||
ret = board_wlan_init();
|
ret = board_wlan_init();
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
syslog(LOG_ERR, "ERROR: Failed to initialize wireless subsystem=%d\n",
|
syslog(LOG_ERR, "ERROR: Failed to initialize wlan subsystem=%d\n",
|
||||||
ret);
|
ret);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -75,7 +75,7 @@
|
|||||||
# include "esp32_ble.h"
|
# include "esp32_ble.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ESPRESSIF_WIFI
|
#ifdef CONFIG_ESPRESSIF_WLAN
|
||||||
# include "esp32_board_wlan.h"
|
# include "esp32_board_wlan.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -218,11 +218,11 @@ int esp32_bringup(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ESPRESSIF_WIFI
|
#ifdef CONFIG_ESPRESSIF_WLAN
|
||||||
ret = board_wlan_init();
|
ret = board_wlan_init();
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
syslog(LOG_ERR, "ERROR: Failed to initialize wireless subsystem=%d\n",
|
syslog(LOG_ERR, "ERROR: Failed to initialize wlan subsystem=%d\n",
|
||||||
ret);
|
ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -75,7 +75,7 @@
|
|||||||
# include "esp32_ble.h"
|
# include "esp32_ble.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ESPRESSIF_WIFI
|
#ifdef CONFIG_ESPRESSIF_WLAN
|
||||||
# include "esp32_board_wlan.h"
|
# include "esp32_board_wlan.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -294,11 +294,11 @@ int esp32_bringup(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ESPRESSIF_WIFI
|
#ifdef CONFIG_ESPRESSIF_WLAN
|
||||||
ret = board_wlan_init();
|
ret = board_wlan_init();
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
syslog(LOG_ERR, "ERROR: Failed to initialize wireless subsystem=%d\n",
|
syslog(LOG_ERR, "ERROR: Failed to initialize wlan subsystem=%d\n",
|
||||||
ret);
|
ret);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -50,7 +50,7 @@
|
|||||||
# include "esp32s2_tim_lowerhalf.h"
|
# include "esp32s2_tim_lowerhalf.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ESPRESSIF_WIFI
|
#ifdef CONFIG_ESPRESSIF_WLAN
|
||||||
# include "esp32s2_board_wlan.h"
|
# include "esp32s2_board_wlan.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -317,11 +317,11 @@ int esp32s2_bringup(void)
|
|||||||
|
|
||||||
#ifdef CONFIG_ESPRESSIF_WIRELESS
|
#ifdef CONFIG_ESPRESSIF_WIRELESS
|
||||||
|
|
||||||
#ifdef CONFIG_ESPRESSIF_WIFI
|
#ifdef CONFIG_ESPRESSIF_WLAN
|
||||||
ret = board_wlan_init();
|
ret = board_wlan_init();
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
syslog(LOG_ERR, "ERROR: Failed to initialize wireless subsystem=%d\n",
|
syslog(LOG_ERR, "ERROR: Failed to initialize wlan subsystem=%d\n",
|
||||||
ret);
|
ret);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -42,7 +42,7 @@
|
|||||||
# include "esp32s3_board_tim.h"
|
# include "esp32s3_board_tim.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ESPRESSIF_WIFI
|
#ifdef CONFIG_ESPRESSIF_WLAN
|
||||||
# include "esp32s3_board_wlan.h"
|
# include "esp32s3_board_wlan.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -211,11 +211,11 @@ int esp32s3_bringup(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ESPRESSIF_WIFI
|
#ifdef CONFIG_ESPRESSIF_WLAN
|
||||||
ret = board_wlan_init();
|
ret = board_wlan_init();
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
syslog(LOG_ERR, "ERROR: Failed to initialize wireless subsystem=%d\n",
|
syslog(LOG_ERR, "ERROR: Failed to initialize wlan subsystem=%d\n",
|
||||||
ret);
|
ret);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
# include "esp32s3_board_tim.h"
|
# include "esp32s3_board_tim.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ESPRESSIF_WIFI
|
#ifdef CONFIG_ESPRESSIF_WLAN
|
||||||
# include "esp32s3_board_wlan.h"
|
# include "esp32s3_board_wlan.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -447,11 +447,11 @@ int esp32s3_bringup(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ESPRESSIF_WIFI
|
#ifdef CONFIG_ESPRESSIF_WLAN
|
||||||
ret = board_wlan_init();
|
ret = board_wlan_init();
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
syslog(LOG_ERR, "ERROR: Failed to initialize wireless subsystem=%d\n",
|
syslog(LOG_ERR, "ERROR: Failed to initialize wlan subsystem=%d\n",
|
||||||
ret);
|
ret);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -42,7 +42,7 @@
|
|||||||
# include "esp32s3_board_tim.h"
|
# include "esp32s3_board_tim.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ESPRESSIF_WIFI
|
#ifdef CONFIG_ESPRESSIF_WLAN
|
||||||
# include "esp32s3_board_wlan.h"
|
# include "esp32s3_board_wlan.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -202,11 +202,11 @@ int esp32s3_bringup(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ESPRESSIF_WIFI
|
#ifdef CONFIG_ESPRESSIF_WLAN
|
||||||
ret = board_wlan_init();
|
ret = board_wlan_init();
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
syslog(LOG_ERR, "ERROR: Failed to initialize wireless subsystem=%d\n",
|
syslog(LOG_ERR, "ERROR: Failed to initialize wlan subsystem=%d\n",
|
||||||
ret);
|
ret);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -45,7 +45,7 @@
|
|||||||
# include "esp32s3_board_tim.h"
|
# include "esp32s3_board_tim.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ESPRESSIF_WIFI
|
#ifdef CONFIG_ESPRESSIF_WLAN
|
||||||
# include "esp32s3_board_wlan.h"
|
# include "esp32s3_board_wlan.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -395,11 +395,11 @@ int esp32s3_bringup(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ESPRESSIF_WIFI
|
#ifdef CONFIG_ESPRESSIF_WLAN
|
||||||
ret = board_wlan_init();
|
ret = board_wlan_init();
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
syslog(LOG_ERR, "ERROR: Failed to initialize wireless subsystem=%d\n",
|
syslog(LOG_ERR, "ERROR: Failed to initialize wlan subsystem=%d\n",
|
||||||
ret);
|
ret);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -45,7 +45,7 @@
|
|||||||
# include "esp32s3_board_tim.h"
|
# include "esp32s3_board_tim.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ESPRESSIF_WIFI
|
#ifdef CONFIG_ESPRESSIF_WLAN
|
||||||
# include "esp32s3_board_wlan.h"
|
# include "esp32s3_board_wlan.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -287,11 +287,11 @@ int esp32s3_bringup(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ESPRESSIF_WIFI
|
#ifdef CONFIG_ESPRESSIF_WLAN
|
||||||
ret = board_wlan_init();
|
ret = board_wlan_init();
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
syslog(LOG_ERR, "ERROR: Failed to initialize wireless subsystem=%d\n",
|
syslog(LOG_ERR, "ERROR: Failed to initialize wlan subsystem=%d\n",
|
||||||
ret);
|
ret);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
# include "esp32s3_board_tim.h"
|
# include "esp32s3_board_tim.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ESPRESSIF_WIFI
|
#ifdef CONFIG_ESPRESSIF_WLAN
|
||||||
# include "esp32s3_board_wlan.h"
|
# include "esp32s3_board_wlan.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -404,11 +404,11 @@ int esp32s3_bringup(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ESPRESSIF_WIFI
|
#ifdef CONFIG_ESPRESSIF_WLAN
|
||||||
ret = board_wlan_init();
|
ret = board_wlan_init();
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
syslog(LOG_ERR, "ERROR: Failed to initialize wireless subsystem=%d\n",
|
syslog(LOG_ERR, "ERROR: Failed to initialize wlan subsystem=%d\n",
|
||||||
ret);
|
ret);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user