Update to gcc version 10.3.1

This commit is contained in:
derGraph
2023-05-22 09:14:08 +02:00
parent 7772f4bfa3
commit 0633da153a
4 changed files with 10 additions and 7 deletions
+5 -2
View File
@@ -3,7 +3,7 @@ In this file you can look up how to [edit](#Editing-the-code), [compile](#Compil
## Editing the code
We are using [Visual Studio Code](https://code.visualstudio.com/download) to edit this project! Simply download and install it!
- Install the [ARM-GCC](https://mynewt.apache.org/latest/get_started/native_install/cross_tools.html) version [9.3.1 Compiler](https://developer.arm.com/downloads/-/gnu-rm) and remember the path where you installed it.
- Install the [ARM-GCC](https://mynewt.apache.org/latest/get_started/native_install/cross_tools.html) version [10.3.1 Compiler Tested](https://developer.arm.com/downloads/-/gnu-rm) and remember the path where you installed it.
- Install the [C++ Extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools) in VS-Code.
- Create a new IntelliSense Configuration:
- press F1 in VS-Code and enter `C/C++: Edit Configurations (UI)`
@@ -35,6 +35,9 @@ We are using [Visual Studio Code](https://code.visualstudio.com/download) to edi
- go into folder and run `make`
## Debugging the code
- Install [openocd](https://mynewt.apache.org/latest/get_started/native_install/cross_tools.html)
- Install [nRF Util](https://www.nordicsemi.com/Products/Development-tools/nrf-util)
- Move it to a known path like `C:/nrfutil/`
- Add this path to `PATH` Environment Variable
- Install [Cortex-Debug](https://marketplace.visualstudio.com/items?itemName=marus25.cortex-debug) VS-Code Extension
- Install [Segger J-Link](https://www.segger.com/downloads/jlink)
- MORE INFO ADDED LATER
+2 -2
View File
@@ -1,8 +1,8 @@
# In the nrf52 sdk, will auto detection current platform: posix or windows.
# If your <arm-none-eabi> is already installed, and version and path is this:
# Version : 10.3.1
# Windows-path: C:/Program Files (x86)/GNU Arm Embedded Toolchain/9 2020-q2-update/bin/
# POSIX -path: /usr/local/gcc-arm-none-eabi-9-2020-q2-update/bin/
# Windows-path: C:/Program Files (x86)/GNU Arm Embedded Toolchain/10 2021.10/bin
# POSIX -path: /usr/local/gcc-arm-none-eabi-10.3-2021.10/bin/
# You can ignore this file modify.
# Warning: your toolchain path not allow PR to public repo!!!
# If you need define the toolchain path, plz delete annotate and change it.
@@ -1,3 +1,3 @@
GNU_INSTALL_ROOT ?= /usr/local/gcc-arm-none-eabi-9-2020-q2-update/bin/
GNU_INSTALL_ROOT ?= /usr/local/gcc-arm-none-eabi-10.3-2021.10/bin/
GNU_VERSION ?= 9.3.1
GNU_PREFIX ?= arm-none-eabi
@@ -1,3 +1,3 @@
GNU_INSTALL_ROOT ?= C:/Program Files (x86)/GNU Arm Embedded Toolchain/9 2020-q2-update/bin/
GNU_VERSION ?= 9.3.1
GNU_INSTALL_ROOT ?= C:/Program Files (x86)/GNU Arm Embedded Toolchain/10 2021.10/bin/
GNU_VERSION ?= 10.3.1
GNU_PREFIX ?= arm-none-eabi