User Tools

Site Tools


linux_mios32_toolchain_core

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux_mios32_toolchain_core [2024/04/05 15:28]
phatline [Setup MIOS32 Environment]
linux_mios32_toolchain_core [2024/05/23 19:46] (current)
phatline
Line 2: Line 2:
     for MIOS32 application development on Linux     for MIOS32 application development on Linux
  
- \\ 
 ====== Preparation ====== ====== Preparation ======
 This document assumes that you have a relatively modern x86 based linux distribution. While it may work other distributions,​ it has only been tested on x86 Ubuntu 10.10. Many of the commands, especially "​aptitude"​ are only available on Debian derived distributions like Ubuntu. This document assumes that you have a relatively modern x86 based linux distribution. While it may work other distributions,​ it has only been tested on x86 Ubuntu 10.10. Many of the commands, especially "​aptitude"​ are only available on Debian derived distributions like Ubuntu.
Line 34: Line 33:
 ===== GNU Multiple Precision Library ===== ===== GNU Multiple Precision Library =====
 Terminal Commands:\\ Terminal Commands:\\
-*** Debian/​Ubuntu/​Mint:​**//​ sudo aptitude install libgmp3-dev//​ (or //​lib32gmp3-dev// ​  for AMD64Version)\\ 
 *** Arch Linux/​Manjaro:​** //sudo pacman -S gmp//\\ *** Arch Linux/​Manjaro:​** //sudo pacman -S gmp//\\
 +*** Debian/​Ubuntu/​Mint:​** // sudo aptitude install libgmp3-dev//​ (or //​lib32gmp3-dev// ​  for AMD64Version)\\
 +**Ubuntu, Mint troubleshoot:​** if it still doesnt build(make) it might be that you use a 64bit Computer, but the toolchain is for 32bit, so you will need additonal following commands:\\
 +//sudo dpkg --add-architecture i386//\\
 +//sudo apt-get update//\\
 +//sudo apt-get install libc6:i386 libstdc++6:​i386 zlib1g:​i386//​\\
 +//sudo apt-get install libc6:​i386//​\\
 +
 +
 +
  
 ===== MIOS32 Toolchain ===== ===== MIOS32 Toolchain =====
Line 95: Line 102:
 Depending on the path where your toolchain is situated, the Example Content off this file is:\\ Depending on the path where your toolchain is situated, the Example Content off this file is:\\
  
-//PATH="/​home/​autark/​midibox/​gcc-arm-none-eabi/​bin"​\\ +  * PATH="/​home/​autark/​midibox/​gcc-arm-none-eabi/​bin"​\\ 
- +  ​* ​MIOS32_PATH=/​home/​autark/​midibox/​mios32\\ 
-MIOS32_PATH=/​home/​autark/​midibox/​mios32\\ +  ​* ​MIOS32_BIN_PATH=/​home/​autark/​midibox/​mios32/​bin\\ 
-MIOS32_BIN_PATH=/​home/​autark/​midibox/​mios32/​bin\\ +  ​* ​MIOS32_BOARD=MBHP_CORE_STM32F4\\ 
-MIOS32_BOARD=MBHP_CORE_STM32F4\\ +  ​* ​MIOS32_FAMILY=STM32F4xx\\ 
-MIOS32_FAMILY=STM32F4xx\\ +  ​* ​MIOS32_GCC_PREFIX=arm-none-eabi\\ 
-MIOS32_GCC_PREFIX=arm-none-eabi\\ +  ​* ​MIOS32_PROCESSOR=STM32F407VG\\ 
-MIOS32_PROCESSOR=STM32F407VG\\ +  ​* ​MIOS32_LCD=universal\\
-MIOS32_LCD=universal//\\+
  
 if you cant log after reboot, then mostly you messed up your "​PATH"​ variable, in this case, boot with Linuxbootstick,​ and remove the PATH - line...\\ if you cant log after reboot, then mostly you messed up your "​PATH"​ variable, in this case, boot with Linuxbootstick,​ and remove the PATH - line...\\
  
-by the way\\ +**you can also add more folders to the PATH, they are separeted with a ":",​ for example:**\\ 
-you can also add more folders to the PATH, they are separeted with a ":",​ for example:​\\ +PATH="/​home/​autark/​midibox/​gcc-arm-none-eabi/​bin:/​home/​autark/​program"​\\
-//PATH="/​home/​autark/​midibox/​gcc-arm-none-eabi/​bin:/​home/​autark/​program"​\\+
 here we also have a folder named "​program",​ when you put in there "Mios Studio",​ then you can write in Terminal "Mios Studio"​ and mios studio will open\\ here we also have a folder named "​program",​ when you put in there "Mios Studio",​ then you can write in Terminal "Mios Studio"​ and mios studio will open\\
  
linux_mios32_toolchain_core.1712330882.txt.gz · Last modified: 2024/04/05 15:28 by phatline