Open RobertK66 opened 6 years ago
#!/bin/bash
# Batch file to build an Eclipse project from the command line on Linux
# Example for using MCUXpresso IDE
# path to GNU tools and compiler: arm-none-eabi-gcc, ....
export TOOLCHAIN_PATH=/usr/local/mcuxpressoide-10.1.1_606/ide/bin
# variable to the command line Eclipse IDE executable
export IDE=/usr/local/mcuxpressoide-10.1.1_606/ide/mcuxpressoide
echo "Extending PATH if not already present"
export PATH=$TOOLCHAIN_PATH:$IDE:$PATH
echo Launching Eclipse IDE
$IDE -nosplash --launcher.suppressErrors -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data "/home/reinhard/Documents/MCUXpresso_10.1.1_606/workspace" -build CppOpen
The project directory must be in the mcuxpresso defined worspace!
Headless installation of mcuxpresso:
./mcuxpressoide-10.1.1_606.x86_64.deb.bin --nox11 --confirm
How to make a headless build ? ....