summaryrefslogtreecommitdiff
path: root/examples/imx7_colibri_m4/driver_examples/ecspi/ecspi_interrupt/master/armgcc/clean.bat
diff options
context:
space:
mode:
authorRaul Munoz <raul.munoz@toradex.com>2017-05-19 15:06:11 -0300
committerStefan Agner <stefan.agner@toradex.com>2017-05-22 17:09:55 -0700
commit4a0641e22d21d5e05103338cbd2f6dbcab974141 (patch)
treee7a028dac00563fb35675aff0ef3fc943304cf86 /examples/imx7_colibri_m4/driver_examples/ecspi/ecspi_interrupt/master/armgcc/clean.bat
parentf37be0136c97bce2b53eaf1baa2b08d78eb43ddb (diff)
examples: ecspi_interrupt_master: 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. 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_interrupt/master/armgcc/clean.bat')
-rw-r--r--examples/imx7_colibri_m4/driver_examples/ecspi/ecspi_interrupt/master/armgcc/clean.bat10
1 files changed, 8 insertions, 2 deletions
diff --git a/examples/imx7_colibri_m4/driver_examples/ecspi/ecspi_interrupt/master/armgcc/clean.bat b/examples/imx7_colibri_m4/driver_examples/ecspi/ecspi_interrupt/master/armgcc/clean.bat
index ffea088..fc53949 100644
--- a/examples/imx7_colibri_m4/driver_examples/ecspi/ecspi_interrupt/master/armgcc/clean.bat
+++ b/examples/imx7_colibri_m4/driver_examples/ecspi/ecspi_interrupt/master/armgcc/clean.bat
@@ -1,3 +1,9 @@
-RD /s /Q Debug Release CMakeFiles
-DEL /s /Q /F Makefile cmake_install.cmake CMakeCache.txt
+cd debug
+rd /s /Q CMakeFiles/
+del /s /Q /F Makefile cmake_install.cmake CMakeCache.txt *.elf *.bin *.map *.hex
+cd ..
+cd release
+rd /s /Q CMakeFiles/
+del /s /Q /F Makefile cmake_install.cmake CMakeCache.txt *.elf *.bin *.map *.hex
+cd ..
pause