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

[incubator-nuttx] 03/05: esp32c3/Make.defs: Alawys build esp32c3_serial.c

This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 23039c92cf79a61eb6ac19a65df94f64a2393ff0
Author: Abdelatif Guettouche <ab...@espressif.com>
AuthorDate: Mon Nov 8 13:55:26 2021 +0100

    esp32c3/Make.defs:  Alawys build esp32c3_serial.c
    
    Signed-off-by: Abdelatif Guettouche <ab...@espressif.com>
---
 arch/risc-v/src/esp32c3/Make.defs | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/arch/risc-v/src/esp32c3/Make.defs b/arch/risc-v/src/esp32c3/Make.defs
index b77eff4..a1db77d 100644
--- a/arch/risc-v/src/esp32c3/Make.defs
+++ b/arch/risc-v/src/esp32c3/Make.defs
@@ -50,7 +50,7 @@ endif
 CHIP_CSRCS  = esp32c3_allocateheap.c esp32c3_start.c esp32c3_wdt.c esp32c3_idle.c
 CHIP_CSRCS += esp32c3_irq.c
 CHIP_CSRCS += esp32c3_clockconfig.c esp32c3_gpio.c
-CHIP_CSRCS += esp32c3_lowputc.c
+CHIP_CSRCS += esp32c3_lowputc.c esp32c3_serial.c
 CHIP_CSRCS += esp32c3_systemreset.c esp32c3_resetcause.c
 CHIP_CSRCS += esp32c3_uid.c
 
@@ -60,10 +60,6 @@ else
 CHIP_CSRCS += esp32c3_timerisr.c
 endif
 
-ifeq ($(CONFIG_ESP32C3_UART),y)
-CHIP_CSRCS += esp32c3_serial.c
-endif
-
 ifeq ($(CONFIG_ESP32C3_USBSERIAL),y)
 CHIP_CSRCS += esp32c3_usbserial.c
 endif