This commit is contained in:
embr 2023-04-21 22:57:54 +02:00
parent acabcd1569
commit 7ace6bfa85
4 changed files with 5 additions and 3 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
/build/*
!/build/.gitkeep

View file

@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.13) cmake_minimum_required(VERSION 3.13)
set(PICO_SDK_PATH lib/pico-sdk) set(PICO_SDK_PATH ${CMAKE_SOURCE_DIR}/lib/pico-sdk/)
include(lib/pico-sdk/external/pico_sdk_import.cmake) include(${PICO_SDK_PATH}/external/pico_sdk_import.cmake)
project(vibe-check) project(vibe-check)

0
build/.gitkeep Normal file
View file

View file

@ -1,6 +1,6 @@
{ pkgs ? import <nixpkgs> {} }: { pkgs ? import <nixpkgs> {} }:
pkgs.mkShell { pkgs.mkShell {
buildInputs = with pkgs; [ buildInputs = with pkgs; [
cmake python3 gcc-arm-embedded cmake ninja python3 gcc-arm-embedded
]; ];
} }