linux_mios32_toolchain_core
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux_mios32_toolchain_core [2024/04/05 15:20] – [Setup MIOS32 Environment] phatline | linux_mios32_toolchain_core [2024/09/30 20:15] (current) – [Download the MIOS32 repository] 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, | This document assumes that you have a relatively modern x86 based linux distribution. While it may work other distributions, | ||
| Line 26: | Line 25: | ||
| (If that doesn' | (If that doesn' | ||
| * svn checkout svn:// | * svn checkout svn:// | ||
| + | |||
| + | now-a-days the repo you get here: | ||
| + | [[https:// | ||
| ===== Linux build utilities ===== | ===== Linux build utilities ===== | ||
| Line 34: | Line 36: | ||
| ===== GNU Multiple Precision Library ===== | ===== GNU Multiple Precision Library ===== | ||
| Terminal Commands:\\ | Terminal Commands:\\ | ||
| - | *** Debian/ | ||
| *** Arch Linux/ | *** Arch Linux/ | ||
| + | *** Debian/ | ||
| + | **Ubuntu, Mint troubleshoot: | ||
| + | //sudo dpkg --add-architecture i386//\\ | ||
| + | //sudo apt-get update//\\ | ||
| + | //sudo apt-get install libc6:i386 libstdc++6: | ||
| + | //sudo apt-get install libc6: | ||
| + | |||
| + | |||
| + | |||
| ===== MIOS32 Toolchain ===== | ===== MIOS32 Toolchain ===== | ||
| Line 76: | Line 86: | ||
| The following commands will setup the build environment for MIOS32, you must change MIOS32_PATH to be wherever you installed the svn repository: | The following commands will setup the build environment for MIOS32, you must change MIOS32_PATH to be wherever you installed the svn repository: | ||
| - | * export MIOS32_PATH=~/ | + | * export MIOS32_PATH=~/ |
| - | * export MIOS32_BIN_PATH=$MIOS32_PATH/ | + | * export MIOS32_BIN_PATH=$MIOS32_PATH/ |
| - | * export MIOS32_GCC_PREFIX=arm-none-eabi | + | * export MIOS32_GCC_PREFIX=arm-none-eabi\\ |
| - | * export MIOS32_FAMILY=STM32F10x | + | * export MIOS32_FAMILY=STM32F10x\\ |
| - | * export MIOS32_PROCESSOR=STM32F103RE | + | * export MIOS32_PROCESSOR=STM32F103RE\\ |
| - | * export MIOS32_BOARD=MBHP_CORE_STM32 | + | * export MIOS32_BOARD=MBHP_CORE_STM32\\ |
| - | * export MIOS32_LCD=universal | + | * export MIOS32_LCD=universal\\ |
| \\ | \\ | ||
| \\ | \\ | ||
| - | You can add these lines to your ~/.profile file to ensure that they are always set, the editor pico (or nano) is a fairly simple text editor but you may have your favourite. | + | You can add these lines to your ~/.profile file to ensure that they are always set, the editor pico (or nano) is a fairly simple text editor but you may have your favourite.\\ |
| + | \\ | ||
| __ | __ | ||
| - | **If you know what you are Doing in Linux: | + | **If you know what you are Doing in Linux-you can do this systemwide:**__\\ |
| open your filebrowser with sudo rights, for example type in terminal:\\ | open your filebrowser with sudo rights, for example type in terminal:\\ | ||
| *** Linux Mint:** //sudo nemo// \\ | *** Linux Mint:** //sudo nemo// \\ | ||
| - | **Linux Arch:** //sudo thunar//\\ | + | *** Linux Arch:** //sudo thunar//\\ |
| the filebrowser now opens with root rights, navigate to the folder " | the filebrowser now opens with root rights, navigate to the folder " | ||
| 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="/ | + | * PATH="/ |
| + | * MIOS32_PATH=/ | ||
| + | * MIOS32_BIN_PATH=/ | ||
| + | * MIOS32_BOARD=MBHP_CORE_STM32F4\\ | ||
| + | * MIOS32_FAMILY=STM32F4xx\\ | ||
| + | * MIOS32_GCC_PREFIX=arm-none-eabi\\ | ||
| + | * MIOS32_PROCESSOR=STM32F407VG\\ | ||
| + | * MIOS32_LCD=universal\\ | ||
| + | |||
| + | if you cant log after reboot, then mostly you messed up your " | ||
| - | MIOS32_PATH=/ | + | **you can also add more folders to the PATH, they are separeted with a ":", |
| - | MIOS32_BIN_PATH=/ | + | * PATH="/ |
| - | MIOS32_BOARD=MBHP_CORE_STM32F4 | + | here we also have a folder named " |
| - | MIOS32_FAMILY=STM32F4xx | + | |
| - | MIOS32_GCC_PREFIX=arm-none-eabi | + | |
| - | MIOS32_PROCESSOR=STM32F407VG | + | |
| - | MIOS32_LCD=universal// | + | |
linux_mios32_toolchain_core.1712330404.txt.gz · Last modified: 2024/04/05 15:20 by phatline
