From 24acc2e5a142f34f34350be4e786a4e31fa6736f Mon Sep 17 00:00:00 2001 From: polymurph Date: Sat, 10 Sep 2022 17:46:42 +0200 Subject: [PATCH] trying to add the device driver max7219 to cmake --- ked/device_drivers/max7219/CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ked/device_drivers/max7219/CMakeLists.txt b/ked/device_drivers/max7219/CMakeLists.txt index 4a2eda0..b23c377 100644 --- a/ked/device_drivers/max7219/CMakeLists.txt +++ b/ked/device_drivers/max7219/CMakeLists.txt @@ -1 +1,6 @@ -add_executable(max7219.c max7219.h) +# https://www.youtube.com/watch?v=abuCXC3t6eQ +add_library( + max7219 + max7219.c + max7219.h +)