This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux_mios32_toolchain_core [2024/04/05 15:20] phatline [Setup MIOS32 Environment] |
linux_mios32_toolchain_core [2024/04/05 15:30] (current) phatline [Setup MIOS32 Environment] |
||
---|---|---|---|
Line 88: | Line 88: | ||
\\ | \\ | ||
__ | __ | ||
- | **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 "etc" open the file "environment" >>> **/etc/environment**\\ | the filebrowser now opens with root rights, navigate to the folder "etc" open the file "environment" >>> **/etc/environment**\\ | ||
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_BIN_PATH=/home/autark/midibox/mios32/bin\\ | ||
+ | * MIOS32_BOARD=MBHP_CORE_STM32F4\\ | ||
+ | * MIOS32_FAMILY=STM32F4xx\\ | ||
+ | * MIOS32_GCC_PREFIX=arm-none-eabi\\ | ||
+ | * MIOS32_PROCESSOR=STM32F407VG\\ | ||
+ | * MIOS32_LCD=universal\\ | ||
- | MIOS32_PATH=/home/autark/midibox/mios32 | + | 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...\\ |
- | MIOS32_BIN_PATH=/home/autark/midibox/mios32/bin | + | |
- | MIOS32_BOARD=MBHP_CORE_STM32F4 | + | **you can also add more folders to the PATH, they are separeted with a ":", for example:**\\ |
- | MIOS32_FAMILY=STM32F4xx | + | * PATH="/home/autark/midibox/gcc-arm-none-eabi/bin:/home/autark/program"\\ |
- | MIOS32_GCC_PREFIX=arm-none-eabi | + | 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\\ |
- | MIOS32_PROCESSOR=STM32F407VG | + | |
- | MIOS32_LCD=universal// | + | |