]> git.donarmstrong.com Git - kiibohd-controller.git/blob - Keyboards/whitefox.bash
Start removing select Linux-isms
[kiibohd-controller.git] / Keyboards / whitefox.bash
1 #!/usr/bin/env 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="WhiteFox"
15
16 ## KLL Configuration ##
17
18 # Generally shouldn't be changed, this will affect every layer
19 BaseMap="defaultMap"
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]="whitefox"
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="WhiteFox"
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