diff --git a/How_to_use_Firmware.md b/How_to_use_Firmware.md index 97d3af0..05077d4 100644 --- a/How_to_use_Firmware.md +++ b/How_to_use_Firmware.md @@ -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 \ No newline at end of file diff --git a/firmware/Makefile.defs b/firmware/Makefile.defs index a3e00c1..ae28087 100644 --- a/firmware/Makefile.defs +++ b/firmware/Makefile.defs @@ -1,8 +1,8 @@ # In the nrf52 sdk, will auto detection current platform: posix or windows. # If your 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. diff --git a/firmware/nrf52_sdk/components/toolchain/gcc/Makefile.posix b/firmware/nrf52_sdk/components/toolchain/gcc/Makefile.posix index 6a935fc..04bbd93 100644 --- a/firmware/nrf52_sdk/components/toolchain/gcc/Makefile.posix +++ b/firmware/nrf52_sdk/components/toolchain/gcc/Makefile.posix @@ -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 diff --git a/firmware/nrf52_sdk/components/toolchain/gcc/Makefile.windows b/firmware/nrf52_sdk/components/toolchain/gcc/Makefile.windows index 54dbc80..cda3cda 100644 --- a/firmware/nrf52_sdk/components/toolchain/gcc/Makefile.windows +++ b/firmware/nrf52_sdk/components/toolchain/gcc/Makefile.windows @@ -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 \ No newline at end of file