Skip to content

Instantly share code, notes, and snippets.

@petabyt
Created October 6, 2021 00:35
Show Gist options
  • Save petabyt/0dd0180aadea969cfa30d964d201dd1b to your computer and use it in GitHub Desktop.
Save petabyt/0dd0180aadea969cfa30d964d201dd1b to your computer and use it in GitHub Desktop.
Google Cloud Shell Magic Lantern
# NOTE: cloudshell has hg
git clone https://github.com/reticulatedpines/magiclantern_simplified magic-lantern
# Get gcc
wget https://developer.arm.com/-/media/Files/downloads/gnu-rm/5_4-2016q3/gcc-arm-none-eabi-5_4-2016q3-20160926-linux.tar.bz2?revision=111dee36-f88b-4672-8ac6-48cf41b4d375?product=GNU%20Arm%20Embedded%20Toolchain%20Downloads,32-bit,,Linux,5-2016-q3-update
bzip2 -d gcc*
tar -xf gcc*
# Add GCC to path
echo "export PATH=$PATH:~/gcc-arm-none-eabi-5_4-2016q3/bin" >> ~/.bashrc
export PATH=$PATH:~/gcc-arm-none-eabi-5_4-2016q3/bin
cd magic-lantern
cd platform
cd 700D*
make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment