From 3ddeaeb290f84bb9d08eab8f1c721a495ce8617f Mon Sep 17 00:00:00 2001 From: Maxwell Beck Date: Sat, 24 Oct 2026 19:30:52 -0500 Subject: cmake init --- .gitignore | 1 + CMakeLists.txt | 16 ++++++++++++++++ src/pico1541.c | 0 3 files changed, 17 insertions(+) create mode 100644 .gitignore create mode 100644 CMakeLists.txt create mode 100644 src/pico1541.c diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..567609b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +build/ diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..7d14c44 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,16 @@ +cmake_minimum_required(VERSION 3.13) + +set(PICO_SDK_PATH $ENV{PICO_SDK_PATH}) +include(${PICO_SDK_PATH}/pico_sdk_init.cmake) + +project(pico1541) +pico_sdk_init() + +add_executable(pico1541 + src/pico1541.c +) +target_link_libraries(pico1541 + pico_stdlib +) + +pico_add_extra_outputs(pico1541) diff --git a/src/pico1541.c b/src/pico1541.c new file mode 100644 index 0000000..e69de29 -- cgit v1.3.1