vscode is the worst ide ever

This commit is contained in:
Minecon724 2024-05-13 16:48:12 +02:00
parent c0452b20ce
commit 6e309f296a
Signed by: Minecon724
GPG key ID: 3CCC4D267742C8E8
2 changed files with 5 additions and 3 deletions

View file

@ -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

View file

@ -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)