This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
linux_mios32_toolchain_core [2011/04/27 03:46] consumer |
linux_mios32_toolchain_core [2024/04/05 15:05] phatline |
||
---|---|---|---|
Line 29: | Line 29: | ||
===== Linux build utilities ===== | ===== Linux build utilities ===== | ||
Depending upon your distribution, the command for installing the basic build tools like "make" may be different but I used the command:\\ | Depending upon your distribution, the command for installing the basic build tools like "make" may be different but I used the command:\\ | ||
- | * sudo aptitude install build-essential\\ | + | * Debian/Ubuntu/Mint: sudo aptitude install build-essential\\ |
+ | * Arch Linux/Manjaro: sudo pacman -S base-devel\\ | ||
===== GNU Multiple Precision Library ===== | ===== GNU Multiple Precision Library ===== | ||
- | If you do not already have libgmp3-dev installed, you must install it (or lib32gmp3-dev if you are using an AMD64 version of linux). For Debian/Ubuntu users, you can use the command: | + | If you do not already have libgmp3-dev installed, you must install it (or lib32gmp3-dev if you are using an AMD64 version of linux).\\ |
- | * sudo aptitude install libgmp3-dev (or lib32gmp3-dev) | + | Terminal Commands:\\ |
+ | * Debian/Ubuntu/Mint: sudo aptitude install libgmp3-dev (or lib32gmp3-dev)\\ | ||
+ | * Arch Linux/Manjaro: sudo pacman -S gmp\\ | ||
===== MIOS32 Toolchain ===== | ===== MIOS32 Toolchain ===== | ||
Line 40: | Line 43: | ||
The Toolchain has currently been compiled for Windows (2000+), Mac OS X (Leopard or newer) and Linux x86 (built on Ubuntu 10.10).\\ | The Toolchain has currently been compiled for Windows (2000+), Mac OS X (Leopard or newer) and Linux x86 (built on Ubuntu 10.10).\\ | ||
\\ | \\ | ||
- | The download directory for the toolchain is ftp://ftp.lansystems.co.uk/pub/midibox\\ | + | The download directory for the toolchain is http://www.midibox.org/mios32_toolchain\\ |
\\ | \\ | ||
- | Download the latest "linux86" file and extract into your favorite directory, If you extract into /usr/local the toolchain will create /usr/local/mios32_toolchain and various sub-directories containing the toolchain files.\\ | + | Download the latest "linux" file and extract into your favorite directory, If you extract into /usr/local the toolchain will create /usr/local/mios32_toolchain and various sub-directories containing the toolchain files.\\ |
* cd /usr/local | * cd /usr/local | ||
- | * sudo wget ftp://ftp.lansystems.co.uk/pub/midibox/mios32_toolchain_linux86_xxxxxxxx.tgz | + | * sudo wget http://www.midibox.org/mios32_toolchain/gcc-arm-none-eabi-xxxxxx.tar.bz2 |
- | * sudo tar zxvf mios32_toolchain_linux86_xxxxxxxx.tgz | + | * sudo tar zxvf gcc-arm-none-eabi-xxxxxx.tar.bz2 |
\\ | \\ | ||
- | replace xxxxxxx with the date of the latest linux toolchain in ftp://ftp.lansystems.co.uk/pub/midibox\\ | + | replace xxxxxxx with the date of the latest linux toolchain in http://www.midibox.org/mios32_toolchain\\ |
\\ | \\ | ||
You now need to set the path variable for the toolchain bin directory (/usr/local/mios32_toolchain/bin) this is covered in the next section\\ | You now need to set the path variable for the toolchain bin directory (/usr/local/mios32_toolchain/bin) this is covered in the next section\\ | ||
Line 80: | Line 83: | ||
* export MIOS32_PROCESSOR=STM32F103RE | * export MIOS32_PROCESSOR=STM32F103RE | ||
* export MIOS32_BOARD=MBHP_CORE_STM32 | * export MIOS32_BOARD=MBHP_CORE_STM32 | ||
- | * export MIOS32_LCD=clcd | + | * export MIOS32_LCD=universal |
\\ | \\ | ||
\\ | \\ | ||
Line 89: | Line 92: | ||
* make | * make | ||
if this works great! If not, either you made a mistake (or I did!!) | if this works great! If not, either you made a mistake (or I did!!) | ||
- |