Mercurial > louis > kiibohd-controller
comparison Keyboards/ergodox.bash @ 365:dbe0dbd7e2dd
Updating convenience scripts
author | Jacob Alexander <haata@kiibohd.com> |
---|---|
date | Sat, 15 Aug 2015 23:45:23 -0700 |
parents | |
children | 83cb0d4b57e3 |
comparison
equal
deleted
inserted
replaced
364:5aa3f6a92682 | 365:dbe0dbd7e2dd |
---|---|
1 #!/bin/bash | |
2 # This is a build script template | |
3 # These build scripts are just a convenience for configuring your keyboard (less daunting than CMake) | |
4 # Jacob Alexander 2015 | |
5 | |
6 | |
7 | |
8 ################# | |
9 # Configuration # | |
10 ################# | |
11 | |
12 # Feel free to change the variables in this section to configure your keyboard | |
13 | |
14 BuildPath="ICED" | |
15 | |
16 ## KLL Configuration ## | |
17 | |
18 # Generally shouldn't be changed, this will affect every layer | |
19 BaseMap="defaultMap leftHand slave1 rightHand" | |
20 | |
21 # This is the default layer of the keyboard | |
22 # NOTE: To combine kll files into a single layout, separate them by spaces | |
23 # e.g. DefaultMap="mylayout mylayoutmod" | |
24 DefaultMap="stdFuncMap" | |
25 | |
26 # This is where you set the additional layers | |
27 # NOTE: Indexing starts at 1 | |
28 # NOTE: Each new layer is another array entry | |
29 # e.g. PartialMaps[1]="layer1 layer1mod" | |
30 # PartialMaps[2]="layer2" | |
31 # PartialMaps[3]="layer3" | |
32 PartialMaps[1]="hhkbpro2" | |
33 | |
34 | |
35 | |
36 ########################## | |
37 # Advanced Configuration # | |
38 ########################## | |
39 | |
40 # Don't change the variables in this section unless you know what you're doing | |
41 # These are useful for completely custom keyboards | |
42 # NOTE: Changing any of these variables will require a force build to compile correctly | |
43 | |
44 # Keyboard Module Configuration | |
45 ScanModule="MDErgo1" | |
46 MacroModule="PartialMap" | |
47 OutputModule="pjrcUSB" | |
48 DebugModule="full" | |
49 | |
50 # Microcontroller | |
51 Chip="mk20dx256vlh7" | |
52 | |
53 # Compiler Selection | |
54 Compiler="gcc" | |
55 | |
56 | |
57 | |
58 ######################## | |
59 # Bash Library Include # | |
60 ######################## | |
61 | |
62 # Shouldn't need to touch this section | |
63 | |
64 # Check if the library can be found | |
65 if [ ! -f cmake.bash ]; then | |
66 echo "ERROR: Cannot find 'cmake.bash'" | |
67 exit 1 | |
68 fi | |
69 | |
70 # Load the library | |
71 source cmake.bash | |
72 |