MCUXpresso_MIMXRT1021xxxxx/boards/evkmimxrt1020/soem_examples/soem_gpio_pulse/bm/armgcc/build_flexspi_nor_sdram_rel...

8 lines
420 B
Bash
Executable File

#!/bin/sh
if [ -d "CMakeFiles" ];then rm -rf CMakeFiles; fi
if [ -f "Makefile" ];then rm -f Makefile; fi
if [ -f "cmake_install.cmake" ];then rm -f cmake_install.cmake; fi
if [ -f "CMakeCache.txt" ];then rm -f CMakeCache.txt; fi
cmake -DCMAKE_TOOLCHAIN_FILE="../../../../../../tools/cmake_toolchain_files/armgcc.cmake" -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=flexspi_nor_sdram_release .
make -j 2>&1 | tee build_log.txt