Commit 7def053c authored by Oliver Horst's avatar Oliver Horst
Browse files

[chg] Started to update and improve the documentation

parent 00a2911c
This diff is collapsed.
......@@ -12,7 +12,7 @@ In the bottom drawer of CLion open the CMake tab and click on the gear icon. In
Switch in the left menu of the newly opended dialog to the tab "Toolchain" and create a new toolchain using the plus icon above the list. Select a name for the new toolchain and set the other fields using the paths returned by the commands from the following list.
- CMake: ``realpath $YOCTO_DIR/build/tmp/work/aarch64-toki-freertos-elf/meta-ide-support/*/recipe-sysroot-native/usr/bin/cmake``
- CMake: ``realpath $YOCTO_BUILD_DIR/tmp/multiconfigs/amp-c0/work/aarch64-toki-freertos-elf/meta-ide-support/*/recipe-sysroot-native/usr/bin/cmake``
- Make: ``realpath $YOCTO_BUILD_DIR/tmp/multiconfigs/amp-c0/work/aarch64-toki-freertos-elf/meta-ide-support/*/recipe-sysroot-native/usr/bin/make``
- C Compiler: ``realpath $YOCTO_BUILD_DIR/tmp/multiconfigs/amp-c0/work/aarch64-toki-freertos-elf/meta-ide-support/*/recipe-sysroot-native/usr/bin/aarch64-toki-freertos-elf/aarch64-toki-freertos-elf-gcc``
- C++ Compiler: ``realpath $YOCTO_BUILD_DIR/tmp/multiconfigs/amp-c0/work/aarch64-toki-freertos-elf/meta-ide-support/*/recipe-sysroot-native/usr/bin/aarch64-toki-freertos-elf/aarch64-toki-freertos-elf-g++``
......@@ -26,10 +26,10 @@ Switch to the tab "CMake" in the menu on the left and create a new profile using
- Build type: Debug
- Toolchain: Your toolchain created in the previous step
- CMake options: ``-DCMAKE_TOOLCHAIN_FILE=[PATH TO THE TOOLCHAIN FILE] -DCMAKE_INSTALL_PREFIX=[INSTALL_PREFIX] -DPLATFORM=zcu102-zynqmp -DAMP_USE_CORE="0"``
- CMake options: ``-DCMAKE_TOOLCHAIN_FILE=<TOOLCHAIN_FILE> -DCMAKE_INSTALL_PREFIX=<INSTALL_PREFIX> -DPLATFORM=zcu102-zynqmp -DAMP_USE_CORE="0"``
- Replace in the above value:
- ``[PATH TO THE TOOLCHAIN FILE]`` with the output of ``realpath $YOCTO_BUILD_DIR/tmp/multiconfigs/amp-c0/work/aarch64-toki-freertos-elf/meta-ide-support/*/toolchain.cmake``
- ``[INSTALL_PREFIX]`` with the output of ``realpath $YOCTO_BASE_DIR/../cmake/_install``
- ``<TOOLCHAIN_FILE>`` with the output of ``realpath $YOCTO_BUILD_DIR/tmp/multiconfigs/amp-c0/work/aarch64-toki-freertos-elf/meta-ide-support/*/toolchain.cmake``
- ``<INSTALL_PREFIX>`` with the output of ``realpath $TOKI_SRC_DIR/cmake/_install``
- Generation path: ``_build/cmake``
![CMake settings](./res/ide-support-clion-03.png "CMake settings")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment