From 7ace6bfa8549ca54447688a9db381a7f78c9510f Mon Sep 17 00:00:00 2001 From: embr Date: Fri, 21 Apr 2023 22:57:54 +0200 Subject: [PATCH] fgdthg --- .gitignore | 2 ++ CMakeLists.txt | 4 ++-- build/.gitkeep | 0 shell.nix | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 .gitignore create mode 100644 build/.gitkeep diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d26d06b --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/build/* +!/build/.gitkeep diff --git a/CMakeLists.txt b/CMakeLists.txt index 52e8fef..08bb3dc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.13) -set(PICO_SDK_PATH lib/pico-sdk) -include(lib/pico-sdk/external/pico_sdk_import.cmake) +set(PICO_SDK_PATH ${CMAKE_SOURCE_DIR}/lib/pico-sdk/) +include(${PICO_SDK_PATH}/external/pico_sdk_import.cmake) project(vibe-check) diff --git a/build/.gitkeep b/build/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/shell.nix b/shell.nix index f057545..0cbb3f0 100644 --- a/shell.nix +++ b/shell.nix @@ -1,6 +1,6 @@ { pkgs ? import {} }: pkgs.mkShell { buildInputs = with pkgs; [ - cmake python3 gcc-arm-embedded + cmake ninja python3 gcc-arm-embedded ]; }