mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2024-11-27 12:05:34 +00:00
Updated Compile on Arch based distro (exclude Asahi) (markdown)
parent
590b0835b1
commit
93b5c7dca4
@ -6,15 +6,13 @@ _This page not works on Asahi, please make sure you are on x86_64 platform_
|
|||||||
sudo pacman -S git tar wget dfu-util cmake make python3 bzip2 lz4 curl hackrf python-distutils-extra python-setuptools python-pip python-yaml
|
sudo pacman -S git tar wget dfu-util cmake make python3 bzip2 lz4 curl hackrf python-distutils-extra python-setuptools python-pip python-yaml
|
||||||
``
|
``
|
||||||
|
|
||||||
_If you use nushell as your default shell, you need to install `libopencm3`package, otherwise it would call it fail. The best solution is don’t use nushell_
|
|
||||||
|
|
||||||
Check the output and make sure the packages listed above were installed correctly.
|
Check the output and make sure the packages listed above were installed correctly.
|
||||||
|
|
||||||
# 2. Install ARM `gcc-arm-none-eabi` package from `AUR`
|
# 2. Install ARM `gcc-arm-none-eabi` package from `AUR`
|
||||||
|
|
||||||
_you can follow the instructions in [Debian based distro page in this wiki](https://github.com/portapack-mayhem/mayhem-firmware/wiki/Compile-firmware#using-arm-on-debian) as well. This doesn’t work before and it turns out that it’s nushell caused the bug. If you don’t use nushell, you are all good with that set up._
|
_you can follow the instructions in [Debian based distro page in this wiki](https://github.com/portapack-mayhem/mayhem-firmware/wiki/Compile-firmware#using-arm-on-debian) as well. This doesn’t work before and it turns out that it’s nushell caused the bug. If you don’t use nushell, you are all good with that set up._
|
||||||
|
|
||||||
_This will automatically add the path of arm toolchain to the ``PATH`` of your default shell (for example: ``bash``, ``zsh``, ``fish``, and ``nushell``)._
|
_This will automatically add the binaries of arm toolchain to the /usr/bin of your system. Note that you are adding an old toolchain into your system._
|
||||||
|
|
||||||
1. Go to [the page of `gcc-arm-none-eabi` package in AUR](https://aur.archlinux.org/packages/gcc-arm-none-eabi-bin).
|
1. Go to [the page of `gcc-arm-none-eabi` package in AUR](https://aur.archlinux.org/packages/gcc-arm-none-eabi-bin).
|
||||||
2. Click `View Changes` to check the commit history of this AUR package.
|
2. Click `View Changes` to check the commit history of this AUR package.
|
||||||
|
Loading…
Reference in New Issue
Block a user