21 lines
563 B
Bash
Executable File
21 lines
563 B
Bash
Executable File
#!/bin/bash
|
|
# @todo Check if all the required programs are installed
|
|
|
|
# Cleanup old files
|
|
rm -rf arm-none-eabi
|
|
rm -rf env
|
|
rm -rf sdcc-code
|
|
|
|
wget https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2 -O arm-none-eabi-gcc.tar.bz2
|
|
tar xvf arm-none-eabi-gcc.tar.bz2
|
|
mv gcc-arm-none-eabi-9-2020-q2-update arm-none-eabi
|
|
rm arm-none-eabi-gcc.tar.bz2
|
|
|
|
./build-mb.sh
|
|
|
|
svn checkout svn://svn.code.sf.net/p/sdcc/code/trunk sdcc-code
|
|
|
|
python -m venv env
|
|
source env/bin/activate
|
|
pip install pyserial imageio
|