From c930ad9dc189d831ac77f716df288f70178d4c10 Mon Sep 17 00:00:00 2001 From: alexander Date: Thu, 15 Apr 2021 19:05:03 +0100 Subject: Windows support was removed from documentation. TensorFlow Lite micro build is not compatible with MinGW make. Signed-off-by: alexander Change-Id: I0980838f659431b18ebc54ec0a1e4371941c36b4 --- docs/documentation.md | 5 ++--- docs/sections/building.md | 30 ++---------------------------- docs/sections/customizing.md | 2 -- docs/use_cases/ad.md | 14 -------------- docs/use_cases/asr.md | 14 -------------- docs/use_cases/img_class.md | 13 ------------- docs/use_cases/inference_runner.md | 13 ------------- docs/use_cases/kws.md | 13 ------------- docs/use_cases/kws_asr.md | 13 ------------- 9 files changed, 4 insertions(+), 113 deletions(-) diff --git a/docs/documentation.md b/docs/documentation.md index 464cf5b..c9cb588 100644 --- a/docs/documentation.md +++ b/docs/documentation.md @@ -34,9 +34,8 @@ Before starting the setup process, please make sure that you have: -- Linux x86_64 based machine or Windows Subsystem for Linux is - preferable. Windows can be used as a build environment but cannot - run Fast Model simulations. +- Linux x86_64 based machine or Windows Subsystem for Linux is preferable. + Unfortunately, Windows is not supported as a build environment yet. - Arm Compiler license (version 6.14 or above). diff --git a/docs/sections/building.md b/docs/sections/building.md index f564ce6..921d8cf 100644 --- a/docs/sections/building.md +++ b/docs/sections/building.md @@ -81,7 +81,7 @@ are fulfilled: python3 -m venv ``` -- Make or MinGW make For Windows +- Make ```commandline make --version @@ -275,16 +275,6 @@ cmake \ -DCMAKE_TOOLCHAIN_FILE=scripts/cmake/bare-metal-toolchain.cmake .. ``` -For Windows, add `-G "MinGW Makefiles"`: - -```commandline -cmake \ - -G "MinGW Makefiles" \ - -DTARGET_PLATFORM=mps3 \ - -DTARGET_SUBSYSTEM=sse-300 \ - -DCMAKE_TOOLCHAIN_FILE=scripts/cmake/bare-metal-toolchain.cmake .. -``` - Toolchain option `CMAKE_TOOLCHAIN_FILE` points to the toolchain specific file to set the compiler and platform specific parameters. @@ -355,16 +345,6 @@ cmake \ -DTARGET_PLATFORM=native \ -DCMAKE_TOOLCHAIN_FILE=scripts/cmake/native-toolchain.cmake .. ``` - -For Windows add `-G "MinGW Makefiles"`: - -```commandline -cmake \ - -DTARGET_PLATFORM=native \ - -DCMAKE_TOOLCHAIN_FILE=scripts/cmake/native-toolchain.cmake \ - -G "MinGW Makefiles .. -``` - Results of the build will be placed under `build/bin/` folder: ```tree @@ -398,13 +378,7 @@ If the CMake command succeeds, build the application as follows: make -j4 ``` -or for Windows: - -```commandline -mingw32-make -j4 -``` - -Add `VERBOSE=1` to see compilation and link details. +Add `VERBOSE=1` to see compilation and link details. Results of the build will be placed under `build/bin` folder, an example: diff --git a/docs/sections/customizing.md b/docs/sections/customizing.md index 346a34c..8781855 100644 --- a/docs/sections/customizing.md +++ b/docs/sections/customizing.md @@ -723,8 +723,6 @@ cmake \ -DCMAKE_TOOLCHAIN_FILE=scripts/cmake/bare-metal-toolchain.cmake .. ``` -For Windows, add `-G "MinGW Makefiles"` to the CMake command. - As a result, `ethos-u-hello_world.axf` should be created, MPS3 build will also produce `sectors/hello_world` directory with binaries and `images-hello_world.txt` to be copied to the board MicroSD card. diff --git a/docs/use_cases/ad.md b/docs/use_cases/ad.md index 9014c96..93a9993 100644 --- a/docs/use_cases/ad.md +++ b/docs/use_cases/ad.md @@ -115,17 +115,6 @@ cmake \ -DUSE_CASE_BUILD=ad .. ``` -For Windows, add `-G "MinGW Makefiles"`: - -```commandline -cmake \ - -G "MinGW Makefiles" \ - -DTARGET_PLATFORM=mps3 \ - -DTARGET_SUBSYSTEM=sse-300 \ - -DCMAKE_TOOLCHAIN_FILE=./scripts/cmake/bare-metal-toolchain.cmake \ - -DUSE_CASE_BUILD=ad .. -``` - Toolchain option `CMAKE_TOOLCHAIN_FILE` points to the toolchain specific file to set the compiler and platform specific parameters. @@ -259,9 +248,6 @@ cmake \ -DCMAKE_TOOLCHAIN_FILE=scripts/cmake/bare-metal-toolchain.cmake \ -DUSE_CASE_BUILD=ad .. ``` - -For Windows, add `-G "MinGW Makefiles"` to the CMake command. - The images found in the _DIR folder will be picked up and automatically converted to C++ files during the CMake configuration stage and then compiled into the application during the build phase for performing inference with. diff --git a/docs/use_cases/asr.md b/docs/use_cases/asr.md index fa93d9a..6ae1fc1 100644 --- a/docs/use_cases/asr.md +++ b/docs/use_cases/asr.md @@ -154,18 +154,6 @@ cmake \ -DCMAKE_TOOLCHAIN_FILE=./scripts/cmake/bare-metal-toolchain.cmake \ -DUSE_CASE_BUILD=asr .. ``` - -For Windows, add `-G "MinGW Makefiles"`: - -```commandline -cmake \ - -G "MinGW Makefiles" \ - -DTARGET_PLATFORM=mps3 \ - -DTARGET_SUBSYSTEM=sse-300 \ - -DCMAKE_TOOLCHAIN_FILE=./scripts/cmake/bare-metal-toolchain.cmake \ - -DUSE_CASE_BUILD=asr .. -``` - Toolchain option `CMAKE_TOOLCHAIN_FILE` points to the toolchain specific file to set the compiler and platform specific parameters. @@ -293,8 +281,6 @@ cmake \ -DCMAKE_TOOLCHAIN_FILE=scripts/cmake/bare-metal-toolchain.cmake .. ``` -For Windows, add `-G "MinGW Makefiles"` to the CMake command. - The audio clips found in the `asr_FILE_PATH` folder will be picked up and automatically converted to C++ files during the CMake configuration stage and then compiled into the application during the build phase for performing inference with. diff --git a/docs/use_cases/img_class.md b/docs/use_cases/img_class.md index 9ba6d8c..40d80b0 100644 --- a/docs/use_cases/img_class.md +++ b/docs/use_cases/img_class.md @@ -83,17 +83,6 @@ cmake \ -DUSE_CASE_BUILD=img_class .. ``` -For Windows, add `-G "MinGW Makefiles"`: - -```commandline -cmake \ - -G "MinGW Makefiles" \ - -DTARGET_PLATFORM=mps3 \ - -DTARGET_SUBSYSTEM=sse-300 \ - -DCMAKE_TOOLCHAIN_FILE=./scripts/cmake/bare-metal-toolchain.cmake \ - -DUSE_CASE_BUILD=img_class .. -``` - Toolchain option `CMAKE_TOOLCHAIN_FILE` points to the toolchain specific file to set the compiler and platform specific parameters. @@ -221,8 +210,6 @@ cmake \ -DUSE_CASE_BUILD=img_class .. ``` -For Windows, add `-G "MinGW Makefiles"` to the CMake command. - The images found in the `img_class_FILE_PATH` folder will be picked up and automatically converted to C++ files during the CMake configuration stage and then compiled into the application during the build phase for performing inference with. diff --git a/docs/use_cases/inference_runner.md b/docs/use_cases/inference_runner.md index 06f02a4..d090caa 100644 --- a/docs/use_cases/inference_runner.md +++ b/docs/use_cases/inference_runner.md @@ -75,17 +75,6 @@ cmake \ -DUSE_CASE_BUILD=inference_runner .. ``` -For Windows, add `-G "MinGW Makefiles"`: - -```commandline -cmake \ - -G "MinGW Makefiles" \ - -DTARGET_PLATFORM=mps3 \ - -DTARGET_SUBSYSTEM=sse-300 \ - -DCMAKE_TOOLCHAIN_FILE=./scripts/cmake/bare-metal-toolchain.cmake \ - -DUSE_CASE_BUILD=inference_runner .. -``` - Toolchain option `CMAKE_TOOLCHAIN_FILE` points to the toolchain specific file to set the compiler and platform specific parameters. @@ -208,8 +197,6 @@ cmake \ -DCMAKE_TOOLCHAIN_FILE=scripts/cmake/bare-metal-toolchain.cmake .. ``` -For Windows, add `-G "MinGW Makefiles"` to the CMake command. - > **Note:** Clean the build directory before re-running the CMake command. The `.tflite` model file pointed to by `inference_runner_MODEL_TFLITE_PATH` will be converted to C++ files during the CMake diff --git a/docs/use_cases/kws.md b/docs/use_cases/kws.md index b1f0b26..0147e96 100644 --- a/docs/use_cases/kws.md +++ b/docs/use_cases/kws.md @@ -124,17 +124,6 @@ cmake \ -DUSE_CASE_BUILD=kws .. ``` -For Windows, add `-G "MinGW Makefiles"`: - -```commandline -cmake \ - -G "MinGW Makefiles" \ - -DTARGET_PLATFORM=mps3 \ - -DTARGET_SUBSYSTEM=sse-300 \ - -DCMAKE_TOOLCHAIN_FILE=./scripts/cmake/bare-metal-toolchain.cmake \ - -DUSE_CASE_BUILD=kws .. -``` - Toolchain option `CMAKE_TOOLCHAIN_FILE` points to the toolchain specific file to set the compiler and platform specific parameters. @@ -258,8 +247,6 @@ cmake \ -DCMAKE_TOOLCHAIN_FILE=scripts/cmake/bare-metal-toolchain.cmake.. ``` -For Windows, add `-G "MinGW Makefiles"` to the CMake command. - The audio clips found in the `kws_FILE_PATH` folder will be picked up and automatically converted to C++ files during the CMake configuration stage and then compiled into the application during the build phase for performing inference with. diff --git a/docs/use_cases/kws_asr.md b/docs/use_cases/kws_asr.md index bcb5ed1..55989c7 100644 --- a/docs/use_cases/kws_asr.md +++ b/docs/use_cases/kws_asr.md @@ -195,17 +195,6 @@ cmake \ -DUSE_CASE_BUILD=kws_asr .. ``` -For Windows, add `-G "MinGW Makefiles"`: - -```commandline -cmake \ - -G "MinGW Makefiles" \ - -DTARGET_PLATFORM=mps3 \ - -DTARGET_SUBSYSTEM=sse-300 \ - -DCMAKE_TOOLCHAIN_FILE=./scripts/cmake/bare-metal-toolchain.cmake \ - -DUSE_CASE_BUILD=kws_asr .. -``` - Toolchain option `CMAKE_TOOLCHAIN_FILE` points to the toolchain specific file to set the compiler and platform specific parameters. @@ -330,8 +319,6 @@ cmake \ -DUSE_CASE_BUILD=kws_asr- .. ``` -For Windows, add `-G "MinGW Makefiles"` to the CMake command. - The files found in the `kws_asr_FILE_PATH` folder will be picked up and automatically converted to C++ files during the CMake configuration stage and then compiled into the application during the build phase for performing inference with. -- cgit v1.2.1