Skip to content

Commit 77d199a

Browse files
committed
WIP: update to writable path
1 parent b389c01 commit 77d199a

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.devcontainer/cortex-m-toolchain.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ echo -e "[cortex-m-toolchain.sh] starting install"
1111
# --- tooling --------------------------------------------------------------
1212

1313
echo -e "[cortex-m-toolchain.sh] downloading and installing gcc-arm-non-eabi toolchain"
14-
cd /workspaces
14+
cd /workspaces/circuitpython
1515

1616
wget -qO gcc-arm-none-eabi.tar.xz \
1717
https://developer.arm.com/-/media/Files/downloads/gnu/14.2.rel1/binrel/arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-eabi.tar.xz
@@ -21,4 +21,4 @@ ln -s arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-eabi gcc-arm-none-eabi
2121
rm -f gcc-arm-none-eabi.tar.xz
2222

2323
echo -e "[cortex-m-toolchain.sh] update PATH in environment"
24-
echo -e "\nexport PATH=/workspaces/gcc-arm-none-eabi/bin:$PATH" >> $HOME/.bashrc
24+
echo -e "\nexport PATH=/workspaces/circuitpython/gcc-arm-none-eabi/bin:$PATH" >> $HOME/.bashrc

.devcontainer/fetch-port-submodules.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ cd "$REPO_ROOT"
1212
if [ -z "$CP_PORT" ]; then
1313
echo -e "[fetch-port-submodules.sh] CP_PORT not set. Cannot fetch submodules!"
1414
exit 3
15+
else
16+
echo -e "[fetch-port-submodules.sh] CP_PORT=$CP_PORT"
1517
fi
1618

1719
cd "ports/$CP_PORT"

0 commit comments

Comments
 (0)