From 6e309f296aa7060f3a9fce9e4637fa66927c2e26 Mon Sep 17 00:00:00 2001 From: Minecon724 Date: Mon, 13 May 2024 16:48:12 +0200 Subject: [PATCH] vscode is the worst ide ever --- .vscode/c_cpp_properties.json | 5 +++-- CMakeLists.txt | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json index c123398..3a3e27d 100644 --- a/.vscode/c_cpp_properties.json +++ b/.vscode/c_cpp_properties.json @@ -4,13 +4,14 @@ "name": "Linux", "includePath": [ "${workspaceFolder}/**", - "${workspaceFolder}/pico-sdk/**" + "${workspaceFolder}/pico-sdk" ], "defines": [], "compilerPath": "/usr/bin/gcc", "cStandard": "c17", "cppStandard": "gnu++17", - "intelliSenseMode": "linux-gcc-x64" + "intelliSenseMode": "linux-gcc-x64", + "configurationProvider": "none" } ], "version": 4 diff --git a/CMakeLists.txt b/CMakeLists.txt index a8bc93d..12dc50c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,10 +13,11 @@ pico_sdk_init() add_executable(dp src/main.c + src/display.c ) # Add pico_stdlib library which aggregates commonly used features -target_link_libraries(dp pico_stdlib) +target_link_libraries(dp pico_stdlib hardware_spi) # create map/bin/hex/uf2 file in addition to ELF. pico_add_extra_outputs(dp) \ No newline at end of file