Kiibohd Controller
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

ergodox.bash 2.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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-2016
  5. #################
  6. # Configuration #
  7. #################
  8. ######## Left Side ########
  9. # Feel free to change the variables in this section to configure your keyboard
  10. BuildPath="ICED-L"
  11. ## KLL Configuration ##
  12. # Generally shouldn't be changed, this will affect every layer
  13. BaseMap="scancode_map leftHand slave1 rightHand"
  14. # This is the default layer of the keyboard
  15. # NOTE: To combine kll files into a single layout, separate them by spaces
  16. # e.g. DefaultMap="mylayout mylayoutmod"
  17. DefaultMap="mdergo1Overlay lcdFuncMap"
  18. # This is where you set the additional layers
  19. # NOTE: Indexing starts at 1
  20. # NOTE: Each new layer is another array entry
  21. # e.g. PartialMaps[1]="layer1 layer1mod"
  22. # PartialMaps[2]="layer2"
  23. # PartialMaps[3]="layer3"
  24. PartialMaps[1]="iced_func"
  25. PartialMaps[2]="iced_numpad"
  26. ##########################
  27. # Advanced Configuration #
  28. ##########################
  29. # Don't change the variables in this section unless you know what you're doing
  30. # These are useful for completely custom keyboards
  31. # NOTE: Changing any of these variables will require a force build to compile correctly
  32. # Keyboard Module Configuration
  33. ScanModule="Infinity_Ergodox"
  34. MacroModule="PartialMap"
  35. OutputModule="pjrcUSB"
  36. DebugModule="full"
  37. # Microcontroller
  38. Chip="mk20dx256vlh7"
  39. # Compiler Selection
  40. Compiler="gcc"
  41. ########################
  42. # Bash Library Include #
  43. ########################
  44. # Shouldn't need to touch this section
  45. # Check if the library can be found
  46. if [ ! -f cmake.bash ]; then
  47. echo "ERROR: Cannot find 'cmake.bash'"
  48. exit 1
  49. fi
  50. # Load the library
  51. source cmake.bash
  52. #########################
  53. # Re-run for right side #
  54. #########################
  55. ######## Right Side ########
  56. # Feel free to change the variables in this section to configure your keyboard
  57. BuildPath="ICED-R"
  58. ## KLL Configuration ##
  59. # Only changing the basemap (everything else is the same)
  60. # Generally shouldn't be changed, this will affect every layer
  61. BaseMap="defaultMap rightHand slave1 leftHand"
  62. # Load the library (starts the build)
  63. source cmake.bash