Skip to content

Commit 1bc4b8d

Browse files
tmediccixiaoxiang781216
authored andcommitted
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.
1 parent 63364a5 commit 1bc4b8d

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

Documentation/platforms/xtensa/esp32s3/index.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,8 @@ Wi-Fi Yes WPA3-SAE supported
127127
Wi-Fi
128128
-----
129129

130-
.. tip:: Boards usually expose a ``wifi`` defconfig which enables Wi-Fi
130+
.. tip:: Boards usually expose a ``wifi`` defconfig which enables Wi-Fi. On ESP32-S3,
131+
SMP is enabled to enhance Wi-Fi performance.
131132

132133
A standard network interface will be configured and can be initialized such as::
133134

@@ -146,10 +147,10 @@ the result by running ``ifconfig`` afterwards.
146147
Wi-Fi SoftAP
147148
------------
148149

149-
It is possible to use ESP32 as an Access Point (SoftAP).
150+
It is possible to use ESP32-S3 as an Access Point (SoftAP).
150151

151152
.. tip:: Boards usually expose a ``sta_softap`` defconfig which enables Wi-Fi
152-
(STA + SoftAP)
153+
(STA + SoftAP). On ESP32-S3, SMP is enabled to enhance Wi-Fi performance.
153154

154155
If you are using this board config profile you can run these commands to be able
155156
to connect your smartphone or laptop to your board::

boards/xtensa/esp32s3/esp32s3-devkit/configs/sta_softap/defconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ CONFIG_RR_INTERVAL=200
7272
CONFIG_SCHED_LPWORK=y
7373
CONFIG_SCHED_WAITPID=y
7474
CONFIG_SIG_DEFAULT=y
75+
CONFIG_SMP=y
76+
CONFIG_SMP_NCPUS=2
7577
CONFIG_SPIFFS_NAME_MAX=128
7678
CONFIG_START_DAY=6
7779
CONFIG_START_MONTH=12

boards/xtensa/esp32s3/esp32s3-devkit/configs/wifi/defconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ CONFIG_RR_INTERVAL=200
6868
CONFIG_SCHED_LPWORK=y
6969
CONFIG_SCHED_WAITPID=y
7070
CONFIG_SIG_DEFAULT=y
71+
CONFIG_SMP=y
72+
CONFIG_SMP_NCPUS=2
7173
CONFIG_SPIFFS_NAME_MAX=128
7274
CONFIG_START_DAY=6
7375
CONFIG_START_MONTH=12

0 commit comments

Comments
 (0)