From 02700da01a5e6f556961b9110ff379cb872ecb38 Mon Sep 17 00:00:00 2001
From: Ryan Hartlage <ryanplusplus@gmail.com>
Date: Mon, 4 Nov 2024 11:37:18 -0500
Subject: [PATCH] Add interface library for pico-sdk

---
 .github/workflows/test.yml |  2 +-
 CMakeLists.txt             | 13 +++++++++++++
 library.json               |  2 +-
 3 files changed, 15 insertions(+), 2 deletions(-)
 create mode 100644 CMakeLists.txt

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 77365b1..e3907a5 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -13,7 +13,7 @@ jobs:
 
     strategy:
       matrix:
-        os: [ubuntu-22.04, ubuntu-24.04, macos-12, macos-13]
+        os: [ubuntu-22.04, ubuntu-24.04, macos-13]
 
     steps:
     - name: Install CppUTest
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..a69d95b
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,13 @@
+add_library(tiny_gea3 INTERFACE)
+
+target_sources(tiny_gea3 INTERFACE
+  ${CMAKE_CURRENT_LIST_DIR}/src/tiny_erd_client.c
+  ${CMAKE_CURRENT_LIST_DIR}/src/tiny_gea3_interface.c
+  ${CMAKE_CURRENT_LIST_DIR}/src/tiny_queue.c
+)
+
+target_include_directories(tiny_gea3 INTERFACE ${CMAKE_CURRENT_LIST_DIR}/include)
+
+target_link_libraries(tiny_gea3 INTERFACE
+  tiny
+)
diff --git a/library.json b/library.json
index b4cbbf6..59ce253 100644
--- a/library.json
+++ b/library.json
@@ -13,7 +13,7 @@
       "maintainer": true
     }
   ],
-  "version": "1.0.0",
+  "version": "1.0.1",
   "frameworks": "*",
   "platforms": "*",
   "export": {