summaryrefslogtreecommitdiff
path: root/nuttx/configs/sama5d3x-ek/src/Makefile
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-08-05 16:21:24 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-08-05 16:21:24 -0600
commitf959801dada491a15db46b48bc9d86408e31e915 (patch)
treed8d71040a786ba20edc9329a459972adacc276a4 /nuttx/configs/sama5d3x-ek/src/Makefile
parent5bf5e918c77fb5ba2e5cf6f5c2f2c472d806c854 (diff)
downloadpx4-nuttx-f959801dada491a15db46b48bc9d86408e31e915.tar.gz
px4-nuttx-f959801dada491a15db46b48bc9d86408e31e915.tar.bz2
px4-nuttx-f959801dada491a15db46b48bc9d86408e31e915.zip
SAMA5: Add HSMCI memory card driver support
Diffstat (limited to 'nuttx/configs/sama5d3x-ek/src/Makefile')
-rw-r--r--nuttx/configs/sama5d3x-ek/src/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/nuttx/configs/sama5d3x-ek/src/Makefile b/nuttx/configs/sama5d3x-ek/src/Makefile
index 7d8ee2595..420568701 100644
--- a/nuttx/configs/sama5d3x-ek/src/Makefile
+++ b/nuttx/configs/sama5d3x-ek/src/Makefile
@@ -66,6 +66,18 @@ ifeq ($(CONFIG_SAMA5_NOR_MAIN),y)
CSRCS += nor_main.c
endif
+ifeq ($(CONFIG_MTD_AT25),y)
+CSRCS += sam_at25.c
+endif
+
+ifeq ($(CONFIG_SAMA5_HSMCI0),y)
+CSRCS += sam_hsmci.c
+else
+ifeq ($(CONFIG_SAMA5_HSMCI1),y)
+CSRCS += sam_hsmci.c
+endif
+endif
+
ifeq ($(CONFIG_NSH_ARCHINIT),y)
CSRCS += sam_nsh.c
endif