vscode is the worst ide ever
This commit is contained in:
parent
c0452b20ce
commit
6e309f296a
2 changed files with 5 additions and 3 deletions
5
.vscode/c_cpp_properties.json
vendored
5
.vscode/c_cpp_properties.json
vendored
|
@ -4,13 +4,14 @@
|
||||||
"name": "Linux",
|
"name": "Linux",
|
||||||
"includePath": [
|
"includePath": [
|
||||||
"${workspaceFolder}/**",
|
"${workspaceFolder}/**",
|
||||||
"${workspaceFolder}/pico-sdk/**"
|
"${workspaceFolder}/pico-sdk"
|
||||||
],
|
],
|
||||||
"defines": [],
|
"defines": [],
|
||||||
"compilerPath": "/usr/bin/gcc",
|
"compilerPath": "/usr/bin/gcc",
|
||||||
"cStandard": "c17",
|
"cStandard": "c17",
|
||||||
"cppStandard": "gnu++17",
|
"cppStandard": "gnu++17",
|
||||||
"intelliSenseMode": "linux-gcc-x64"
|
"intelliSenseMode": "linux-gcc-x64",
|
||||||
|
"configurationProvider": "none"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"version": 4
|
"version": 4
|
||||||
|
|
|
@ -13,10 +13,11 @@ pico_sdk_init()
|
||||||
|
|
||||||
add_executable(dp
|
add_executable(dp
|
||||||
src/main.c
|
src/main.c
|
||||||
|
src/display.c
|
||||||
)
|
)
|
||||||
|
|
||||||
# Add pico_stdlib library which aggregates commonly used features
|
# 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.
|
# create map/bin/hex/uf2 file in addition to ELF.
|
||||||
pico_add_extra_outputs(dp)
|
pico_add_extra_outputs(dp)
|
Loading…
Reference in a new issue