c71e67a29a
- Added clang (i.e. multi-compiler) support to convenience build scripts - Updated README - Added Bootloader build scripts for the two main versions currently used - Added uartOut and usbMuxUart build scripts (these tend to suffer from build rot the most as they're only used in debugging) - Attempt to get clang support for the Bootloader * clang is missing compiler extensions, so this may require a large re-write to get working
47 lines
922 B
Bash
Executable File
47 lines
922 B
Bash
Executable File
#!/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="mk20dx256vlh7"
|
|
|
|
|
|
|
|
##########################
|
|
# 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="mk20dx256vlh7"
|
|
|
|
# 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
|
|
|