From 3a66ae51c3f34108428e582ef693866d71496d16 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 28 Aug 2020 15:25:37 +0200 Subject: Expose configuration via Kconfig --- src/app/sharp96test/Kconfig | 2 ++ src/app/sharp96test/Makefile.inc | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 src/app/sharp96test/Kconfig (limited to 'src/app/sharp96test') diff --git a/src/app/sharp96test/Kconfig b/src/app/sharp96test/Kconfig new file mode 100644 index 0000000..30b9ac3 --- /dev/null +++ b/src/app/sharp96test/Kconfig @@ -0,0 +1,2 @@ +prompt "Sharp96 Test" +depends on driver_sharp96 diff --git a/src/app/sharp96test/Makefile.inc b/src/app/sharp96test/Makefile.inc index 4dbcaca..37bb857 100644 --- a/src/app/sharp96test/Makefile.inc +++ b/src/app/sharp96test/Makefile.inc @@ -1 +1,5 @@ -driver_sharp96 ?= 1 +ifdef app + override loop = 1 + override arch_drivers += spi_b + override drivers += sharp96 +endif -- cgit v1.2.3