From 93b5c7dca441d485f439f49f867e79160ba5b7c5 Mon Sep 17 00:00:00 2001 From: sommermorgentraum <24917424+zxkmm@users.noreply.github.com> Date: Wed, 10 Apr 2024 13:30:55 +0800 Subject: [PATCH] Updated Compile on Arch based distro (exclude Asahi) (markdown) --- Compile-on-Arch-based-distro-(exclude-Asahi).md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Compile-on-Arch-based-distro-(exclude-Asahi).md b/Compile-on-Arch-based-distro-(exclude-Asahi).md index 9b8aeaa..6d02746 100644 --- a/Compile-on-Arch-based-distro-(exclude-Asahi).md +++ b/Compile-on-Arch-based-distro-(exclude-Asahi).md @@ -4,9 +4,7 @@ _This page not works on Asahi, please make sure you are on x86_64 platform_ # 1. Install dependence `` 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. @@ -14,7 +12,7 @@ Check the output and make sure the packages listed above were installed correctl _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). 2. Click `View Changes` to check the commit history of this AUR package.