This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new f527abc324 arch/xtensa: Build the xtensa_tcbinfo.c file for S2 and S3.
f527abc324 is described below
commit f527abc324260c1fa21d5846922d012d308dcb5c
Author: Abdelatif Guettouche <[email protected]>
AuthorDate: Mon Apr 4 13:17:41 2022 +0200
arch/xtensa: Build the xtensa_tcbinfo.c file for S2 and S3.
Signed-off-by: Abdelatif Guettouche <[email protected]>
---
arch/xtensa/src/esp32/Make.defs | 1 -
arch/xtensa/src/esp32s2/Make.defs | 4 ++++
arch/xtensa/src/esp32s3/Make.defs | 4 ++++
3 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/arch/xtensa/src/esp32/Make.defs b/arch/xtensa/src/esp32/Make.defs
index f90195d53b..5bfdac40b3 100644
--- a/arch/xtensa/src/esp32/Make.defs
+++ b/arch/xtensa/src/esp32/Make.defs
@@ -47,7 +47,6 @@ ifeq ($(CONFIG_DEBUG_TCBINFO),y)
CMN_CSRCS += xtensa_tcbinfo.c
endif
-
ifeq ($(CONFIG_DEBUG_ALERT),y)
CMN_CSRCS += xtensa_dumpstate.c
endif
diff --git a/arch/xtensa/src/esp32s2/Make.defs
b/arch/xtensa/src/esp32s2/Make.defs
index 7f389613fb..ed40a7082f 100644
--- a/arch/xtensa/src/esp32s2/Make.defs
+++ b/arch/xtensa/src/esp32s2/Make.defs
@@ -44,6 +44,10 @@ CMN_CSRCS += xtensa_switchcontext.c
# Configuration-dependent common XTENSA files
+ifeq ($(CONFIG_DEBUG_TCBINFO),y)
+ CMN_CSRCS += xtensa_tcbinfo.c
+endif
+
ifeq ($(CONFIG_DEBUG_ALERT),y)
CMN_CSRCS += xtensa_dumpstate.c
endif
diff --git a/arch/xtensa/src/esp32s3/Make.defs
b/arch/xtensa/src/esp32s3/Make.defs
index a703e77ce1..2ffe1d149a 100644
--- a/arch/xtensa/src/esp32s3/Make.defs
+++ b/arch/xtensa/src/esp32s3/Make.defs
@@ -44,6 +44,10 @@ CMN_CSRCS += xtensa_switchcontext.c
# Configuration-dependent common XTENSA files
+ifeq ($(CONFIG_DEBUG_TCBINFO),y)
+ CMN_CSRCS += xtensa_tcbinfo.c
+endif
+
ifeq ($(CONFIG_DEBUG_ALERT),y)
CMN_CSRCS += xtensa_dumpstate.c
endif