summaryrefslogtreecommitdiff
path: root/examples/imx7_colibri_m4/driver_examples/ecspi/ecspi_polling/master/armgcc/build_release.sh
diff options
context:
space:
mode:
authorRaul Munoz <raul.munoz@toradex.com>2017-02-20 16:36:28 -0300
committerStefan Agner <stefan.agner@toradex.com>2017-02-20 15:27:59 -0800
commitb8d1385b869106b9b45ce0faf6f2c66e35481e04 (patch)
treed895cb244986fd78ea495a86177e5e9374378e98 /examples/imx7_colibri_m4/driver_examples/ecspi/ecspi_polling/master/armgcc/build_release.sh
parent66efdcd187473fe461642caf0675dae666c83027 (diff)
spi: example: add SPI example
Add interrupt and polling examples based on the stander colibri SPI (ECSPI3). SODIMM_88 - SPI CLK SODIMM_92 - SPI TXD SODIMM_90 - SPI RXD SODIMM_86 - SPI CS To test this example, connect SODIMM_92 to SODIMM_90 in order to create a loop back. 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/driver_examples/ecspi/ecspi_polling/master/armgcc/build_release.sh')
-rwxr-xr-xexamples/imx7_colibri_m4/driver_examples/ecspi/ecspi_polling/master/armgcc/build_release.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/imx7_colibri_m4/driver_examples/ecspi/ecspi_polling/master/armgcc/build_release.sh b/examples/imx7_colibri_m4/driver_examples/ecspi/ecspi_polling/master/armgcc/build_release.sh
new file mode 100755
index 0000000..25773b2
--- /dev/null
+++ b/examples/imx7_colibri_m4/driver_examples/ecspi/ecspi_polling/master/armgcc/build_release.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=Release .
+make -j4