Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tools:msp430gcc [2022/10/20 07:23] – [GCC Open Source] darrontools: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== 
 <code> <code>
 apt install build-essential texinfo bison flex python python-dev libexpat-dev libmpfr-dev libisl-dev libgmp-dev libmpc-dev apt install build-essential texinfo bison flex python python-dev libexpat-dev libmpfr-dev libisl-dev libgmp-dev libmpc-dev
Line 41: Line 42:
  is [[https://dr-download.ti.com/software-development/ide-configuration-compiler-or-debugger/MD-LlCjWuAbzH/9.3.1.2/msp430-gcc-9.3.1.11-source-full.tar.bz2|9.3.1.11]] and the support files are [[https://dr-download.ti.com/software-development/ide-configuration-compiler-or-debugger/MD-LlCjWuAbzH/9.3.1.2/msp430-gcc-support-files-1.212.zip|1.212]].  is [[https://dr-download.ti.com/software-development/ide-configuration-compiler-or-debugger/MD-LlCjWuAbzH/9.3.1.2/msp430-gcc-9.3.1.11-source-full.tar.bz2|9.3.1.11]] and the support files are [[https://dr-download.ti.com/software-development/ide-configuration-compiler-or-debugger/MD-LlCjWuAbzH/9.3.1.2/msp430-gcc-support-files-1.212.zip|1.212]].
  
-Build compiler (9.2.0.50)+==Build compiler==
  
 <code> <code>
 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/MSPGCC/9_2_0_0/export/msp430-gcc-9.2.0.50-source-full.tar.bz2 +wget "https://dr-download.ti.com/software-development/ide-configuration-compiler-or-debugger/MD-LlCjWuAbzH/9.3.1.2/msp430-gcc-9.3.1.11-source-full.tar.bz2" 
-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
 ./README-build.sh ./README-build.sh
Line 61: Line 62:
 </code> </code>
  
-Install compiler (ensure there is about 1.5GB disc space free)+On a RPi4, it took considerably less time to build.
  
 +<code>
 +Build Complete [toolchain root directory: install/usr/local/bin]
 ++ exit 0
 +3:08:46.03s
 +</code>
 +
 +==Install compiler (ensure there is about 1.5GB disc space free)==
 +
 +__/opt__
 <code> <code>
 mkdir -p /opt/msp430-gcc mkdir -p /opt/msp430-gcc
Line 68: Line 78:
 </code> </code>
  
 +__/usr/local/__
  
 +<code>
 +cd install
 +find | cpio -pdumva /
 +</code>
  
-Install support files+==Install support files==
  
 <code> <code>
 cd /opt/src cd /opt/src
-wget http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSPGCC/9_2_0_0/export/msp430-gcc-support-files-1.210.zip +wget "https://dr-download.ti.com/software-development/ide-configuration-compiler-or-debugger/MD-LlCjWuAbzH/9.3.1.2/msp430-gcc-support-files-1.212.zip" 
-unzip msp430-gcc-support-files-1.210.zip+unzip msp430-gcc-support-files-1.212.zip 
 +</code> 
 + 
 +__/opt__ 
 + 
 +<code>
 cp -Rpa msp430-gcc-support-files/* /opt/msp430-gcc/ cp -Rpa msp430-gcc-support-files/* /opt/msp430-gcc/
 </code> </code>
  
 +__/usr/local__
 +
 +<code>
 +mkdir -p /usr/local/include/msp430
 +cp -Rpa msp430-gcc-support-files/include/* /usr/local/include/msp430
 +</code>
 === Resources === === Resources ===