Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:msp430gcc [2022/10/19 15:30] – [GCC Open Source] darron | tools:msp430gcc [2023/10/18 10:35] (current) – [GCC Open Source] darron | ||
---|---|---|---|
Line 33: | Line 33: | ||
=== GCC Open Source=== | === GCC Open Source=== | ||
- | Install tools | + | ==Install tools== |
< | < | ||
- | apt install build-essential texinfo bison flex | + | apt install build-essential texinfo bison flex python python-dev libexpat-dev libmpfr-dev libisl-dev libgmp-dev libmpc-dev |
</ | </ | ||
- | Check the [[https:// | + | Check the [[https:// |
+ | is [[https:// | ||
- | Build compiler | + | ==Build compiler== |
< | < | ||
mkdir -p /opt/src | mkdir -p /opt/src | ||
cd /opt/src | cd /opt/src | ||
- | wget http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/ | + | wget "https://dr-download.ti.com/software-development/ide-configuration-compiler-or-debugger/MD-LlCjWuAbzH/9.3.1.2/ |
- | tar xjvf msp430-gcc-9.2.0.50-source-full.tar.bz2 | + | tar xjvf msp430-gcc-9.3.1.11-source-full.tar.bz2 |
- | cd msp430-gcc-9.2.0.50-source-full | + | cd msp430-gcc-9.3.1.11-source-full |
chmod +x README-build.sh | chmod +x README-build.sh | ||
./ | ./ | ||
Line 60: | Line 62: | ||
</ | </ | ||
- | Install compiler (ensure there is about 1.5GB disc space free) | + | On a RPi4, it took considerably less time to build. |
< | < | ||
- | mkdir / | + | Build Complete [toolchain root directory: install/ |
+ | + exit 0 | ||
+ | 3: | ||
+ | </ | ||
+ | |||
+ | ==Install compiler (ensure there is about 1.5GB disc space free)== | ||
+ | |||
+ | __/opt__ | ||
+ | < | ||
+ | mkdir -p / | ||
cp -Rpa install/ | cp -Rpa install/ | ||
</ | </ | ||
+ | __/ | ||
+ | < | ||
+ | cd install | ||
+ | find | cpio -pdumva / | ||
+ | </ | ||
- | Install support files | + | ==Install support files== |
< | < | ||
cd /opt/src | cd /opt/src | ||
- | wget http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/ | + | wget "https://dr-download.ti.com/software-development/ide-configuration-compiler-or-debugger/MD-LlCjWuAbzH/9.3.1.2/ |
- | unzip msp430-gcc-support-files-1.210.zip | + | unzip msp430-gcc-support-files-1.212.zip |
+ | </ | ||
+ | |||
+ | __/opt__ | ||
+ | |||
+ | < | ||
cp -Rpa msp430-gcc-support-files/ | cp -Rpa msp430-gcc-support-files/ | ||
</ | </ | ||
+ | __/ | ||
+ | |||
+ | < | ||
+ | mkdir -p / | ||
+ | cp -Rpa msp430-gcc-support-files/ | ||
+ | </ | ||
=== Resources === | === Resources === | ||