summaryrefslogtreecommitdiff
path: root/nuttx/configs/shenzhou/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/shenzhou/src/Makefile')
-rw-r--r--nuttx/configs/shenzhou/src/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/configs/shenzhou/src/Makefile b/nuttx/configs/shenzhou/src/Makefile
index 0082a526a..14dcd9fe6 100644
--- a/nuttx/configs/shenzhou/src/Makefile
+++ b/nuttx/configs/shenzhou/src/Makefile
@@ -56,6 +56,10 @@ ifeq ($(CONFIG_ARCH_BUTTONS),y)
CSRCS += up_buttons.c
endif
+ifeq ($(CONFIG_ARCH_RELAYS),y)
+CSRCS += up_relays.c
+endif
+
ifeq ($(CONFIG_STM32_OTGFS),y)
CSRCS += up_usb.c
endif