Unverified Commit 8a2a0316 authored by Robin Mueller's avatar Robin Mueller
Browse files

improved instructuons further

parent 35cbc118
......@@ -17,13 +17,15 @@ inside the common submodule.
# Prerequisites
If you have not set up the prerequisites yet, go to the [prerequisites chapter](#prerequisites).
If you have not set up the prerequisites yet, go to the [prerequisites chapter](#prereq) for
detailed instructions on how to install these.
1. [[Ninja](https://ninja-build.org/) as build tools
installed on Windows. You can also use `Make` or MSYS MinGW64 make](https://www.msys2.org/)
on Windows.
2. [CMake](https://cmake.org/) installed
3. [GNU ARM Toolchain](https://xpack.github.io/arm-none-eabi-gcc/install/) installed
Here is a brief overview of the required tools to develop software for the STM32H7 microcontroller:
1. CMake build system generator installed
2. Build system like [Ninja Build](https://ninja-build.org/) or [Make](https://www.msys2.org/)
installed.
3. Bare-Metal ARM toolchain installed
4. [SEGGER J-Link Software](https://www.segger.com/downloads/jlink/#J-LinkSoftwareAndDocumentationPack) installed
5. Recommended for application code development: [Eclipse for C/C++](https://www.eclipse.org/downloads/packages/)
installed with MCU plugin
......@@ -209,19 +211,23 @@ located in the build folder can be used as well to configure the application man
is not possible to configure an application for NVM1 or NVM2 in that way because the application
needs to be build with a different linker script in that case.
# <a name="prereqsetup"></a> Setting up Prerequisites
# <a name="prereq"></a> Setting up Prerequisites
## CMake
```sh
sudo apt-get install cmake
```
**Linux**
```sh
sudo apt-get install cmake
```
**Windows**
On Windows, you can use `pacman -S mingw-w64-x86_64-cmake`, but you can also install the Windows
CMake via the [installer](https://cmake.org/download/). It is recommended to pick the install
option `Add CMake to system PATH for all users` to CMake can be used from the command line.
Please note that you need to add the Windows CMake path to the MinGW64 path manually
if you want to use it in CMake.
On Windows, you can use `pacman -S mingw-w64-x86_64-cmake`, but you can also install the Windows
CMake via the [installer](https://cmake.org/download/). It is recommended to pick the install
option `Add CMake to system PATH for all users` to CMake can be used from the command line.
Please note that you need to add the Windows CMake path to the MinGW64 path manually
if you want to use it in CMake.
## Cross-Compiler
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment