Advertisement
bl4ckkn1ght117

Untitled

Apr 23rd, 2024
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.28 KB | None | 0 0
  1. /*
  2. ProffieOS: Control software for lightsabers and other props.
  3. http://fredrik.hubbe.net/lightsaber/teensy_saber.html
  4. Copyright (c) 2016-2019 Fredrik Hubinette
  5. Additional copyright holders listed inline below.
  6.  
  7. This program is free software: you can redistribute it and/or modify
  8. it under the terms of the GNU General Public License as published by
  9. the Free Software Foundation, either version 3 of the License, or
  10. (at your option) any later version.
  11.  
  12. This program is distributed in the hope that it will be useful,
  13. but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. GNU General Public License for more details.
  16.  
  17. You should have received a copy of the GNU General Public License
  18. along with this program. If not, see <http://www.gnu.org/licenses/>.
  19. */
  20.  
  21. /*-----------------------------------------------------------------*\
  22. | You can have multiple configuration files, and specify which one |
  23. | to use here by removing the two slashes at the beginning. |
  24. | **NOTE** Only ONE line should be left uncommented at a time! |
  25. | Add the slashes to any that you are not using. |
  26. \*-----------------------------------------------------------------*/
  27.  
  28. #define CONFIG_FILE "config/myFett263config.h"
  29.  
  30. // #define CONFIG_FILE "config/default_proffieboard_config.h"
  31. // #define CONFIG_FILE "config/proffieboard_v1_test_bench_config.h"
  32. // #define CONFIG_FILE "config/proffieboard_v2_testing_config.h"
  33. // #define CONFIG_FILE "config/td_proffieboard_config.h"
  34. // #define CONFIG_FILE "config/proffieboard_v1_graflex.h"
  35. // #define CONFIG_FILE "config/teensy_audio_shield_micom.h"
  36. // #define CONFIG_FILE "config/proffieboard_v2_ob4.h"
  37.  
  38. #ifndef CONFIG_FILE
  39. #error Please set CONFIG_FILE as shown above.
  40. #endif
  41.  
  42. //#include "common/resources.h"
  43.  
  44. #define CONFIG_TOP
  45. #include CONFIG_FILE
  46. #undef CONFIG_TOP
  47.  
  48. //#include "common/capabilities.h"
  49.  
  50.  
  51. #if !defined(ENABLE_AUDIO) && !defined(DISABLE_AUDIO)
  52. #define ENABLE_AUDIO
  53. #endif
  54.  
  55. #if !defined(ENABLE_MOTION) && !defined(DISABLE_MOTION)
  56. #define ENABLE_MOTION
  57. #endif
  58.  
  59. #if !defined(ENABLE_WS2811) && !defined(DISABLE_WS2811)
  60. #define ENABLE_WS2811
  61. #endif
  62.  
  63. #if !defined(ENABLE_SD) && !defined(DISABLE_SD)
  64. #define ENABLE_SD
  65. #endif
  66.  
  67. #if !defined(KILL_OLD_PLAYERS) && !defined(DISABLE_KILL_OLD_PLAYERS)
  68. #define KILL_OLD_PLAYERS
  69. #endif
  70.  
  71. #if !defined(NO_REPEAT_RANDOM) && !defined(DISABLE_NO_REPEAT_RANDOM)
  72. #define NO_REPEAT_RANDOM
  73. #endif
  74.  
  75.  
  76. #ifndef BOOT_VOLUME
  77. #define BOOT_VOLUME VOLUME
  78. #endif
  79.  
  80. #ifndef FONT_PATTERN
  81. #define FONT_PATTERN "*;common"
  82. #endif
  83.  
  84. #ifdef SAVE_STATE
  85. #define SAVE_VOLUME
  86. #define SAVE_PRESET
  87. #define SAVE_COLOR_CHANGE
  88. #define SAVE_BLADE_DIMMING
  89. #endif
  90.  
  91. #ifdef ENABLE_ALL_EDIT_OPTIONS
  92. #define DYNAMIC_BLADE_LENGTH
  93. #define DYNAMIC_BLADE_DIMMING
  94. #define DYNAMIC_CLASH_THRESHOLD
  95. #define SAVE_VOLUME
  96. #define SAVE_BLADE_DIMMING
  97. #define SAVE_CLASH_THRESHOLD
  98. #define SAVE_COLOR_CHANGE
  99. #endif
  100.  
  101. // #define ENABLE_DEBUG
  102.  
  103. #ifdef KEEP_SAVEFILES_WHEN_PROGRAMMING
  104. #warning Your config file has KEEP_SAVEFILES_WHEN_PROGRAMMING in it. If you experience problems, please remove it and try again before asking for help. For more information, see: https://pod.hubbe.net/config/keeping-edits-when-uploading.html
  105. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement