From 3e8e25ef37684fa87f3e851d72a3ed766f4e5ee9 Mon Sep 17 00:00:00 2001 From: mciesla Date: Fri, 12 Apr 2024 11:27:24 +0200 Subject: [PATCH 1/6] added prerequisites --- docs/academy/exercise1.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/academy/exercise1.md b/docs/academy/exercise1.md index 2af88ddbf..041b0a6b5 100644 --- a/docs/academy/exercise1.md +++ b/docs/academy/exercise1.md @@ -8,8 +8,12 @@ Let’s start with the first exercise on building an end-to-end LwM2M applicatio * Git * Access to a WiFi network * Installed **minicom** (for Linux), **RealTerm**, **PuTTy** (for Windows), or another serial communication program. +* Installed [**cmake**](https://cmake.org/download/). * An active [{{ coiote_short_name }}]({{ coiote_site_link }}/) user account. +!!! note + For Windows systems you will also require to install the [MinGW](https://sourceforge.net/projects/mingw/) program. + ## Prepare binaries ### Install dependencies @@ -47,7 +51,7 @@ Start by creating a new workspace, installing the dependencies, and cloning all ``` === "Windows" - Download and run the [installer](https://developer.arm.com/-/media/Files/downloads/gnu-rm/10-2020q4/gcc-arm-none-eabi-10-2020-q4-major-win32.exec) to install `arm-none-eabi-gcc` and `arm-none-eabi-gdb`. + Download and run the [installer](https://developer.arm.com/-/media/Files/downloads/gnu-rm/10-2020q4/gcc-arm-none-eabi-10-2020-q4-major-win32.exe) to install `arm-none-eabi-gcc` and `arm-none-eabi-gdb`. Select the default destination directory (E.g. `C:\GNU_Arm_Embedded_Toolchain`). From 62f7aa94c2df223a6ddad77e2ecd596b311c1c6f Mon Sep 17 00:00:00 2001 From: mciesla Date: Fri, 12 Apr 2024 11:41:23 +0200 Subject: [PATCH 2/6] changed windows tab --- docs/academy/exercise1.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/academy/exercise1.md b/docs/academy/exercise1.md index 041b0a6b5..5d93e4d8e 100644 --- a/docs/academy/exercise1.md +++ b/docs/academy/exercise1.md @@ -8,11 +8,9 @@ Let’s start with the first exercise on building an end-to-end LwM2M applicatio * Git * Access to a WiFi network * Installed **minicom** (for Linux), **RealTerm**, **PuTTy** (for Windows), or another serial communication program. -* Installed [**cmake**](https://cmake.org/download/). * An active [{{ coiote_short_name }}]({{ coiote_site_link }}/) user account. -!!! note - For Windows systems you will also require to install the [MinGW](https://sourceforge.net/projects/mingw/) program. + ## Prepare binaries @@ -51,6 +49,9 @@ Start by creating a new workspace, installing the dependencies, and cloning all ``` === "Windows" + !!! note + For Windows systems you will also require to install the [MinGW](https://sourceforge.net/projects/mingw/) and [cmake](https://cmake.org/download/) program. + Download and run the [installer](https://developer.arm.com/-/media/Files/downloads/gnu-rm/10-2020q4/gcc-arm-none-eabi-10-2020-q4-major-win32.exe) to install `arm-none-eabi-gcc` and `arm-none-eabi-gdb`. Select the default destination directory (E.g. `C:\GNU_Arm_Embedded_Toolchain`). From 482c177808e7449baeab89d3fa727e72c4c26440 Mon Sep 17 00:00:00 2001 From: mciesla Date: Fri, 12 Apr 2024 13:11:18 +0200 Subject: [PATCH 3/6] fixed cmake naming --- docs/academy/exercise1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/academy/exercise1.md b/docs/academy/exercise1.md index 5d93e4d8e..0d8102678 100644 --- a/docs/academy/exercise1.md +++ b/docs/academy/exercise1.md @@ -50,7 +50,7 @@ Start by creating a new workspace, installing the dependencies, and cloning all === "Windows" !!! note - For Windows systems you will also require to install the [MinGW](https://sourceforge.net/projects/mingw/) and [cmake](https://cmake.org/download/) program. + For Windows systems you will also require to install the [MinGW](https://sourceforge.net/projects/mingw/) and [CMake](https://cmake.org/download/)program. Download and run the [installer](https://developer.arm.com/-/media/Files/downloads/gnu-rm/10-2020q4/gcc-arm-none-eabi-10-2020-q4-major-win32.exe) to install `arm-none-eabi-gcc` and `arm-none-eabi-gdb`. From 345c367d98f858fbc4140b89072a2e0225c4fdd0 Mon Sep 17 00:00:00 2001 From: mciesla Date: Fri, 12 Apr 2024 14:41:38 +0200 Subject: [PATCH 4/6] added python for linux and windows --- docs/academy/exercise1.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/academy/exercise1.md b/docs/academy/exercise1.md index 0d8102678..01f84a103 100644 --- a/docs/academy/exercise1.md +++ b/docs/academy/exercise1.md @@ -32,7 +32,7 @@ Start by creating a new workspace, installing the dependencies, and cloning all When using **Ubuntu**, run the following command: ``` - sudo apt install cmake gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib + sudo apt install python3 cmake gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib ``` When using **Fedora**, run the following command: @@ -50,7 +50,7 @@ Start by creating a new workspace, installing the dependencies, and cloning all === "Windows" !!! note - For Windows systems you will also require to install the [MinGW](https://sourceforge.net/projects/mingw/) and [CMake](https://cmake.org/download/)program. + For Windows systems you will also require to install the [Python](https://www.python.org/downloads/windows/), [MinGW](https://sourceforge.net/projects/mingw/) and [CMake](https://cmake.org/download/) programs. Download and run the [installer](https://developer.arm.com/-/media/Files/downloads/gnu-rm/10-2020q4/gcc-arm-none-eabi-10-2020-q4-major-win32.exe) to install `arm-none-eabi-gcc` and `arm-none-eabi-gdb`. From dfe23ffb82d1216903ce827b2184ebdc41ca760f Mon Sep 17 00:00:00 2001 From: mciesla Date: Tue, 16 Apr 2024 15:58:54 +0200 Subject: [PATCH 5/6] after 1st review --- docs/academy/exercise1.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/academy/exercise1.md b/docs/academy/exercise1.md index 01f84a103..7e22b01d1 100644 --- a/docs/academy/exercise1.md +++ b/docs/academy/exercise1.md @@ -10,8 +10,6 @@ Let’s start with the first exercise on building an end-to-end LwM2M applicatio * Installed **minicom** (for Linux), **RealTerm**, **PuTTy** (for Windows), or another serial communication program. * An active [{{ coiote_short_name }}]({{ coiote_site_link }}/) user account. - - ## Prepare binaries ### Install dependencies @@ -45,12 +43,11 @@ Start by creating a new workspace, installing the dependencies, and cloning all When using MacOS, run the following command: ``` - brew install armmbed/formulae/arm-none-eabi-gcc + brew install python cmake armmbed/formulae/arm-none-eabi-gcc ``` === "Windows" - !!! note - For Windows systems you will also require to install the [Python](https://www.python.org/downloads/windows/), [MinGW](https://sourceforge.net/projects/mingw/) and [CMake](https://cmake.org/download/) programs. + When using Windows install the [Python](https://www.python.org/downloads/windows/), [MinGW](https://sourceforge.net/projects/mingw/) and [CMake](https://cmake.org/download/) programs. Download and run the [installer](https://developer.arm.com/-/media/Files/downloads/gnu-rm/10-2020q4/gcc-arm-none-eabi-10-2020-q4-major-win32.exe) to install `arm-none-eabi-gcc` and `arm-none-eabi-gdb`. From 4ce5d7f85618d14cf4bf1d81e8a8132a0ad646fe Mon Sep 17 00:00:00 2001 From: mciesla Date: Thu, 18 Apr 2024 16:52:43 +0200 Subject: [PATCH 6/6] after 2nd review --- docs/academy/exercise1.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/academy/exercise1.md b/docs/academy/exercise1.md index 7e22b01d1..45dfdd4d4 100644 --- a/docs/academy/exercise1.md +++ b/docs/academy/exercise1.md @@ -36,7 +36,7 @@ Start by creating a new workspace, installing the dependencies, and cloning all When using **Fedora**, run the following command: ``` - sudo dnf install python3 cmake minicom arm-none-eabi-newlib arm-none-eabi-gcc-cs-c++ arm-none-eabi-gcc-cs arm-none-eabi-binutils-cs gcc-arm-linux-gnu gcc-c++-arm-linux-gnu gcc gcc-c++ + sudo dnf install python3 cmake arm-none-eabi-newlib arm-none-eabi-gcc-cs-c++ arm-none-eabi-gcc-cs arm-none-eabi-binutils-cs gcc-arm-linux-gnu gcc-c++-arm-linux-gnu gcc gcc-c++ ``` === "Mac" @@ -47,7 +47,7 @@ Start by creating a new workspace, installing the dependencies, and cloning all ``` === "Windows" - When using Windows install the [Python](https://www.python.org/downloads/windows/), [MinGW](https://sourceforge.net/projects/mingw/) and [CMake](https://cmake.org/download/) programs. + When using Windows, install the following dependencies: [Python3](https://www.python.org/downloads/windows/), [MinGW](https://sourceforge.net/projects/mingw/) and [CMake](https://cmake.org/download/). Download and run the [installer](https://developer.arm.com/-/media/Files/downloads/gnu-rm/10-2020q4/gcc-arm-none-eabi-10-2020-q4-major-win32.exe) to install `arm-none-eabi-gcc` and `arm-none-eabi-gdb`.