esp32s3/wifi: enable SMP by default on Wi-Fi-related defconfigs

In order to enhance the Wi-Fi performance, enable SMP by default to
make use of the dual-core functionality of the ESP32-S3.
This commit is contained in:
Tiago Medicci Serrano 2023-05-19 17:24:40 -03:00 committed by Xiang Xiao
parent 63364a52ff
commit 1bc4b8d7b2
3 changed files with 8 additions and 3 deletions

View File

@ -127,7 +127,8 @@ Wi-Fi Yes WPA3-SAE supported
Wi-Fi Wi-Fi
----- -----
.. tip:: Boards usually expose a ``wifi`` defconfig which enables Wi-Fi .. tip:: Boards usually expose a ``wifi`` defconfig which enables Wi-Fi. On ESP32-S3,
SMP is enabled to enhance Wi-Fi performance.
A standard network interface will be configured and can be initialized such as:: A standard network interface will be configured and can be initialized such as::
@ -146,10 +147,10 @@ the result by running ``ifconfig`` afterwards.
Wi-Fi SoftAP Wi-Fi SoftAP
------------ ------------
It is possible to use ESP32 as an Access Point (SoftAP). It is possible to use ESP32-S3 as an Access Point (SoftAP).
.. tip:: Boards usually expose a ``sta_softap`` defconfig which enables Wi-Fi .. tip:: Boards usually expose a ``sta_softap`` defconfig which enables Wi-Fi
(STA + SoftAP) (STA + SoftAP). On ESP32-S3, SMP is enabled to enhance Wi-Fi performance.
If you are using this board config profile you can run these commands to be able If you are using this board config profile you can run these commands to be able
to connect your smartphone or laptop to your board:: to connect your smartphone or laptop to your board::

View File

@ -72,6 +72,8 @@ CONFIG_RR_INTERVAL=200
CONFIG_SCHED_LPWORK=y CONFIG_SCHED_LPWORK=y
CONFIG_SCHED_WAITPID=y CONFIG_SCHED_WAITPID=y
CONFIG_SIG_DEFAULT=y CONFIG_SIG_DEFAULT=y
CONFIG_SMP=y
CONFIG_SMP_NCPUS=2
CONFIG_SPIFFS_NAME_MAX=128 CONFIG_SPIFFS_NAME_MAX=128
CONFIG_START_DAY=6 CONFIG_START_DAY=6
CONFIG_START_MONTH=12 CONFIG_START_MONTH=12

View File

@ -68,6 +68,8 @@ CONFIG_RR_INTERVAL=200
CONFIG_SCHED_LPWORK=y CONFIG_SCHED_LPWORK=y
CONFIG_SCHED_WAITPID=y CONFIG_SCHED_WAITPID=y
CONFIG_SIG_DEFAULT=y CONFIG_SIG_DEFAULT=y
CONFIG_SMP=y
CONFIG_SMP_NCPUS=2
CONFIG_SPIFFS_NAME_MAX=128 CONFIG_SPIFFS_NAME_MAX=128
CONFIG_START_DAY=6 CONFIG_START_DAY=6
CONFIG_START_MONTH=12 CONFIG_START_MONTH=12