-
-
Save nouun/37a8a4707bf366ebb43f224d431594e8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if command -v guix &> /dev/null; then | |
GLIBC_PATH=$(guix build -e '(@@ (gnu packages commencement) glibc-final)' | grep -v debug | grep -v static | tail --lines 1) | |
export LIBRARY_PATH="$GLIBC_PATH/lib/" | |
eval "$(guix environment --manifest=guix-manifest.scm --search-paths)" | |
fi | |
export PICO_SDK_PATH="${PWD}/pico/pico-sdk" | |
export PICO_EXAMPLES_PATH="${PWD}/pico/pico-examples" | |
export PICO_EXTRAS_PATH="${PWD}/pico/pico-extras" | |
export PICO_PLAYGROUND_PATH="${PWD}/pico/pico-playground" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(use-modules | |
(guix packages)) | |
(use-package-modules | |
base | |
commencement | |
; SDK Deps | |
cmake | |
embedded | |
; UART Deps | |
engineering) | |
(packages->manifest | |
(list | |
glibc | |
binutils | |
ld-wrapper | |
; SDK Deps | |
cmake | |
arm-none-eabi-toolchain-6 | |
; OpenOCD Deps | |
openocd | |
; UART Deps | |
minicom)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment