diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 22 |
1 files changed, 17 insertions, 5 deletions
@@ -21,9 +21,9 @@ downloaded from the Ecosystem page at ## Building -Building core platform requires a recent version of CMake to be installed -together with a compiler capable of cross compiling for Arm Cortex-M. There are -sample toolchain files provided for Arm Clang and Arm GCC. +Building core platform requires a recent version of CMake, Python 3 and a C/C++ +cross comiler for Arm Cortex-M. There are sample toolchain files provided for +Arm Clang and Arm GCC. To run the helper scripts Python 3 is required with the packages listed in `requirements.txt`. @@ -47,8 +47,20 @@ $ cmake -B build targets/corstone-300 -DCMAKE_TOOLCHAIN_FILE=$PWD/cmake/toolchai $ cmake --build build ``` -Please see [README_WINDOWS.md](README_WINDOWS.md) for additional information -regarding building on a Windows system. +## Building on Windows + +Building on a Windows host requires no special tools or shells, and can for +example be done from a CMD prompt, Git Bash or from the CMake GUI. Only +requirment is the build tools have been added to the path variable. + +CMake supports a long list of generators, for example Ninja, NMake or Makefiles. +For Windows Ninja has been verified to work well, but any of the supported +generators should be possible to use. + +``` +CMD> cmake -G Ninja -B build targets/corstone-300 -DCMAKE_TOOLCHAIN_FILE=%CD%\cmake\toolchain\arm-none-eabi-gcc.cmake +CMD> cmake --build build +``` ## run_platform.py |