You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/10/23 09:03:18 UTC

[incubator-nuttx] 02/02: Move chip specific file compilation to CHIP_CSRCS

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

commit 7e8003cba1aed8514ee784c9f8dd6ab26ded726b
Author: Alan C. Assis <ac...@gmail.com>
AuthorDate: Fri Oct 22 16:02:41 2021 -0300

    Move chip specific file compilation to CHIP_CSRCS
---
 arch/xtensa/src/esp32s2/Make.defs | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/arch/xtensa/src/esp32s2/Make.defs b/arch/xtensa/src/esp32s2/Make.defs
index e7d44f1..3fde1cb 100644
--- a/arch/xtensa/src/esp32s2/Make.defs
+++ b/arch/xtensa/src/esp32s2/Make.defs
@@ -40,14 +40,9 @@ CMN_CSRCS += xtensa_puts.c xtensa_releasepending.c xtensa_releasestack.c
 CMN_CSRCS += xtensa_reprioritizertr.c xtensa_schedsigaction.c
 CMN_CSRCS += xtensa_sigdeliver.c xtensa_stackframe.c xtensa_udelay.c
 CMN_CSRCS += xtensa_unblocktask.c xtensa_usestack.c
-CMN_CSRCS += esp32s2_systemreset.c
 
 # Configuration-dependent common XTENSA files
 
-ifneq ($(CONFIG_ARCH_IDLE_CUSTOM),y)
-  CMN_CSRCS += esp32s2_idle.c
-endif
-
 ifeq ($(CONFIG_DEBUG_ALERT),y)
   CMN_CSRCS += xtensa_dumpstate.c
 endif
@@ -70,15 +65,20 @@ endif
 CHIP_CSRCS  = esp32s2_allocateheap.c esp32s2_clockconfig.c esp32s2_cpuint.c
 CHIP_CSRCS += esp32s2_gpio.c esp32s2_intdecode.c esp32s2_irq.c esp32s2_region.c
 CHIP_CSRCS += esp32s2_timerisr.c esp32s2_user.c esp32s2_lowputc.c
+CHIP_CSRCS += esp32s2_systemreset.c
 
 # Configuration-dependent ESP32S2 files
 
+ifneq ($(CONFIG_ARCH_IDLE_CUSTOM),y)
+CHIP_CSRCS += esp32s2_idle.c
+endif
+
 ifeq ($(CONFIG_ESP32S2_UART),y)
-CMN_CSRCS += esp32s2_serial.c
+CHIP_CSRCS += esp32s2_serial.c
 endif
 
 ifeq ($(CONFIG_ESP32S2_RNG),y)
-CMN_CSRCS += esp32s2_rng.c
+CHIP_CSRCS += esp32s2_rng.c
 endif
 
 ifeq ($(CONFIG_ESP32S2_TIMER),y)