summaryrefslogtreecommitdiff
path: root/examples/device/cdc_uac2/Makefile
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-08-03 14:55:24 +0700
committerhathach <[email protected]>2023-08-03 14:55:24 +0700
commitd89fc0772b0844703ae18912b8774df7c11d708c (patch)
treea02765599494621f363e3d1976cfaffa3f6cb281 /examples/device/cdc_uac2/Makefile
parent6844055dd10f35701e267dc734add839c172e8f1 (diff)
add makefile, add cdc_uac2 to cmake example list, update descriptor to build with nrf and samg/7x
Diffstat (limited to 'examples/device/cdc_uac2/Makefile')
-rw-r--r--examples/device/cdc_uac2/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/device/cdc_uac2/Makefile b/examples/device/cdc_uac2/Makefile
new file mode 100644
index 000000000..b7a8302ce
--- /dev/null
+++ b/examples/device/cdc_uac2/Makefile
@@ -0,0 +1,16 @@
+include ../../make.mk
+
+INC += \
+ src \
+ $(TOP)/hw \
+
+# Example source
+EXAMPLE_SOURCE += \
+ src/cdc_app.c \
+ src/main.c \
+ src/uac2_app.c \
+ src/usb_descriptors.c \
+
+SRC_C += $(addprefix $(CURRENT_PATH)/, $(EXAMPLE_SOURCE))
+
+include ../../rules.mk