...
Install the M7 toolchain.
For Fedora:
Code Block $ sudo dnf install arm-none-eabi-gcc-cs arm-none-eabi-binutils-cs
For Ubuntu:
Code Block $ sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa $ sudo apt-get update $ sudo apt install gcc-arm-none-eabi binutils
Install the
uboot-tools
package.For Fedora:
Code Block $ sudo dnf install uboot-tools
For Ubuntu:
Code Block $ sudo apt install u-boot-tools
Install the
openss-devel
package.For Fedora:
Code Block $ sudo dnf install openssl-devel
For Ubuntu:
Code Block $ sudo apt install libssl-dev
Install the
stlink package.
For Fedora:
Code Block $ sudo dnf install stlink
For Ubuntu:
Code Block $ sudo apt install stlink
Please note that the
stlink
package should be version 1.7.0 or higher. If the new version is not available for your distribution then build it manually from the sources, refer to https://github.com/stlink-org/stlink/blob/develop/doc/compiling.md .
Install the
ckermit
package.For Fedora:
Code Block $ sudo dnf install ckermit
For Ubuntu:
Code Block $ sudo apt install ckermit
...