summaryrefslogtreecommitdiff
path: root/examples/imx7_colibri_m4/demo_apps/rpmsg/pingpong_freertos/armgcc/debug/build_debug.sh
diff options
context:
space:
mode:
authorRaul Munoz <raul.munoz@toradex.com>2017-05-19 15:06:09 -0300
committerStefan Agner <stefan.agner@toradex.com>2017-05-22 17:08:30 -0700
commit5cfd91044ff99d3cf4133b1ca7f643cd16dd2b4d (patch)
treeda08a5b8fc0453f8fb0511828392b67bd70887ac /examples/imx7_colibri_m4/demo_apps/rpmsg/pingpong_freertos/armgcc/debug/build_debug.sh
parent7429fb15d4c20e49aacfad1aabfd5322fce56d05 (diff)
examples: pingpong_freertos: update CMake structure
Updating this CMake struct according hello_world example. Using this new struct we can build debug and release configuration at the same time and use Eclipse. Also changed the linker to OCRAM and remove no-strict-aliasing. Signed-off-by: Raul Munoz <raul.munoz@toradex.com> Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'examples/imx7_colibri_m4/demo_apps/rpmsg/pingpong_freertos/armgcc/debug/build_debug.sh')
-rwxr-xr-xexamples/imx7_colibri_m4/demo_apps/rpmsg/pingpong_freertos/armgcc/debug/build_debug.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/imx7_colibri_m4/demo_apps/rpmsg/pingpong_freertos/armgcc/debug/build_debug.sh b/examples/imx7_colibri_m4/demo_apps/rpmsg/pingpong_freertos/armgcc/debug/build_debug.sh
new file mode 100755
index 0000000..a839f78
--- /dev/null
+++ b/examples/imx7_colibri_m4/demo_apps/rpmsg/pingpong_freertos/armgcc/debug/build_debug.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+cmake -DCMAKE_TOOLCHAIN_FILE="../../../../../../tools/cmake_toolchain_files/armgcc.cmake" -G "Eclipse CDT4 - Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug ..
+make -j4