47 lines
922 B
Bash
47 lines
922 B
Bash
|
#!/usr/bin/env bash
|
||
|
# This is a build script template
|
||
|
# These build scripts are just a convenience for configuring your keyboard (less daunting than CMake)
|
||
|
# Jacob Alexander 2015-2016
|
||
|
|
||
|
|
||
|
|
||
|
#################
|
||
|
# Configuration #
|
||
|
#################
|
||
|
|
||
|
BuildPath="mk20dx128vlf5"
|
||
|
|
||
|
|
||
|
|
||
|
##########################
|
||
|
# Advanced Configuration #
|
||
|
##########################
|
||
|
|
||
|
# Don't change the variables in this section unless you know what you're doing
|
||
|
# These are useful for completely custom keyboards
|
||
|
# NOTE: Changing any of these variables will require a force build to compile correctly
|
||
|
|
||
|
# Microcontroller
|
||
|
Chip="mk20dx128vlf5"
|
||
|
|
||
|
# Compiler Selection
|
||
|
Compiler="gcc"
|
||
|
|
||
|
|
||
|
|
||
|
########################
|
||
|
# Bash Library Include #
|
||
|
########################
|
||
|
|
||
|
# Shouldn't need to touch this section
|
||
|
|
||
|
# Check if the library can be found
|
||
|
if [ ! -f cmake.bash ]; then
|
||
|
echo "ERROR: Cannot find 'cmake.bash'"
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
# Load the library
|
||
|
source cmake.bash
|
||
|
|