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.

infinity_led.bash 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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 2016
  5. #################
  6. # Configuration #
  7. #################
  8. # Feel free to change the variables in this section to configure your keyboard
  9. BuildPath="IC60_LED"
  10. ## KLL Configuration ##
  11. # Generally shouldn't be changed, this will affect every layer
  12. BaseMap="scancode_map"
  13. # This is the default layer of the keyboard
  14. # NOTE: To combine kll files into a single layout, separate them by spaces
  15. # e.g. DefaultMap="mylayout mylayoutmod"
  16. DefaultMap="md1Overlay stdFuncMap"
  17. # This is where you set the additional layers
  18. # NOTE: Indexing starts at 1
  19. # NOTE: Each new layer is another array entry
  20. # e.g. PartialMaps[1]="layer1 layer1mod"
  21. # PartialMaps[2]="layer2"
  22. # PartialMaps[3]="layer3"
  23. PartialMaps[1]="hhkbpro2"
  24. ##########################
  25. # Advanced Configuration #
  26. ##########################
  27. # Don't change the variables in this section unless you know what you're doing
  28. # These are useful for completely custom keyboards
  29. # NOTE: Changing any of these variables will require a force build to compile correctly
  30. # Keyboard Module Configuration
  31. ScanModule="Infinity_60%_LED"
  32. MacroModule="PartialMap"
  33. OutputModule="pjrcUSB"
  34. DebugModule="full"
  35. # Microcontroller
  36. Chip="mk20dx128vlf5"
  37. # Compiler Selection
  38. Compiler="gcc"
  39. ########################
  40. # Bash Library Include #
  41. ########################
  42. # Shouldn't need to touch this section
  43. # Check if the library can be found
  44. if [ ! -f cmake.bash ]; then
  45. echo "ERROR: Cannot find 'cmake.bash'"
  46. exit 1
  47. fi
  48. # Load the library
  49. source cmake.bash