]> git.donarmstrong.com Git - kiibohd-controller.git/commitdiff
Updating convenience scripts
authorJacob Alexander <haata@kiibohd.com>
Sun, 16 Aug 2015 06:45:23 +0000 (23:45 -0700)
committerJacob Alexander <haata@kiibohd.com>
Sun, 16 Aug 2015 23:51:03 +0000 (16:51 -0700)
Keyboards/README.markdown
Keyboards/ergodox.bash [new file with mode: 0755]
Keyboards/infinity.bash

index ff8e60cd34399ad325f23c25ee0a99facfaceb36..9240c187a341e671ee5945ce50fa60959dbda5e0 100644 (file)
@@ -28,6 +28,7 @@ Projects
 --------
 
 * infinity.bash (Infinity Keyboard 2014/10/15)
+* ergodox.bash  (Infinity Ergodox 2015/08/15)
 * template.bash (Example template for new keyboards)
 * whitefox.bash (Soon?)
 
diff --git a/Keyboards/ergodox.bash b/Keyboards/ergodox.bash
new file mode 100755 (executable)
index 0000000..0fe0f29
--- /dev/null
@@ -0,0 +1,72 @@
+#!/bin/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
+
+
+
+#################
+# Configuration #
+#################
+
+# Feel free to change the variables in this section to configure your keyboard
+
+BuildPath="ICED"
+
+## KLL Configuration ##
+
+# Generally shouldn't be changed, this will affect every layer
+BaseMap="defaultMap leftHand slave1 rightHand"
+
+# This is the default layer of the keyboard
+# NOTE: To combine kll files into a single layout, separate them by spaces
+# e.g.  DefaultMap="mylayout mylayoutmod"
+DefaultMap="stdFuncMap"
+
+# This is where you set the additional layers
+# NOTE: Indexing starts at 1
+# NOTE: Each new layer is another array entry
+# e.g.  PartialMaps[1]="layer1 layer1mod"
+#       PartialMaps[2]="layer2"
+#       PartialMaps[3]="layer3"
+PartialMaps[1]="hhkbpro2"
+
+
+
+##########################
+# 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
+
+# Keyboard Module Configuration
+ScanModule="MDErgo1"
+MacroModule="PartialMap"
+OutputModule="pjrcUSB"
+DebugModule="full"
+
+# 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
+
index 259183f8302851233109780ace21245790ecdd03..bc3c0acb7a3b5b96eadc58056d245be569e9a6e5 100755 (executable)
@@ -11,7 +11,7 @@
 
 # Feel free to change the variables in this section to configure your keyboard
 
-BuildPath="template"
+BuildPath="IC60"
 
 ## KLL Configuration ##