Working ccls pico sdk headers.
This commit is contained in:
parent
a7f7eeff2b
commit
acb9d70dae
|
|
@ -0,0 +1,7 @@
|
|||
arm-none-eabi-gcc
|
||||
# Headers
|
||||
-Isrc
|
||||
-Isrc/wifi/headers
|
||||
-Ibuild/generated/pico_base
|
||||
|
||||
# Flags
|
||||
|
|
@ -18,6 +18,7 @@ pkgs.mkShell {
|
|||
];
|
||||
shellHook = ''
|
||||
export PICO_SDK_PATH=${local-pico-sdk}/lib/pico-sdk
|
||||
export NIX_CFLAGS_COMPILE="-isystem $(shopt -s globstar && echo $PICO_SDK_PATH/lib/**/include | sed "s/ / -isystem /g") -isystem $(shopt -s globstar && echo $PICO_SDK_PATH/src/**/include | sed "s/ / -isystem /g") -isystem $(shopt -s globstar && echo $PICO_SDK_PATH/lib/**/src | sed "s/ / -isystem /g") $NIX_CFLAGS_COMPILE"
|
||||
unset TEMP TMP TEMPDIR TMPDIR
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue