Advertisement
Guest User

Untitled

a guest
Dec 8th, 2019
354
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.80 KB | None | 0 0
  1. tnf@tnf-VirtualBox:~/Desktop/github/qmk_firmware$ make lilith101:default
  2. QMK Firmware 0.7.97
  3. Making lilith101 with keymap default
  4.  
  5. arm-none-eabi-gcc (15:6.3.1+svn253039-1build1) 6.3.1 20170620
  6. Copyright (C) 2016 Free Software Foundation, Inc.
  7. This is free software; see the source for copying conditions. There is NO
  8. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  9.  
  10. Size before:
  11. text data bss dec hex filename
  12. 0 34376 0 34376 8648 .build/lilith101_default.hex
  13.  
  14. Compiling: keyboards/lilith101/led.c [OK]
  15. Compiling: keyboards/lilith101/lilith101.c [OK]
  16. Compiling: keyboards/lilith101/keymaps/default/keymap.c [OK]
  17. Compiling: quantum/quantum.c [OK]
  18. Compiling: quantum/keymap_common.c [OK]
  19. Compiling: quantum/keycode_config.c [OK]
  20. Compiling: quantum/matrix.c [OK]
  21. Compiling: quantum/debounce/sym_g.c [OK]
  22. Compiling: quantum/color.c [OK]
  23. Compiling: quantum/rgb_matrix.c [OK]
  24. Compiling: quantum/rgb_matrix_drivers.c [OK]
  25. Compiling: drivers/arm/ws2812.c drivers/arm/ws2812.c:12:10: error: #error ("NOP_FUDGE configuration required")
  26. # error("NOP_FUDGE configuration required")
  27. ^~~~~
  28. drivers/arm/ws2812.c: In function 'sendByte':
  29. drivers/arm/ws2812.c:18:25: error: 'STM32_SYSCLK' undeclared (first use in this function)
  30. #define CYCLES_PER_SEC (STM32_SYSCLK / NUMBER_NOPS * NOP_FUDGE)
  31. ^
  32. drivers/arm/ws2812.c:20:36: note: in expansion of macro 'CYCLES_PER_SEC'
  33. #define NS_PER_CYCLE (NS_PER_SEC / CYCLES_PER_SEC)
  34. ^~~~~~~~~~~~~~
  35. drivers/arm/ws2812.c:21:32: note: in expansion of macro 'NS_PER_CYCLE'
  36. #define NS_TO_CYCLES(n) ((n) / NS_PER_CYCLE)
  37. ^~~~~~~~~~~~
  38. drivers/arm/ws2812.c:25:29: note: in expansion of macro 'NS_TO_CYCLES'
  39. for (int i = 0; i < NS_TO_CYCLES(x); i++) { \
  40. ^~~~~~~~~~~~
  41. drivers/arm/ws2812.c:56:13: note: in expansion of macro 'wait_ns'
  42. wait_ns(T1H);
  43. ^~~~~~~
  44. drivers/arm/ws2812.c:18:25: note: each undeclared identifier is reported only once for each function it appears in
  45. #define CYCLES_PER_SEC (STM32_SYSCLK / NUMBER_NOPS * NOP_FUDGE)
  46. ^
  47. drivers/arm/ws2812.c:20:36: note: in expansion of macro 'CYCLES_PER_SEC'
  48. #define NS_PER_CYCLE (NS_PER_SEC / CYCLES_PER_SEC)
  49. ^~~~~~~~~~~~~~
  50. drivers/arm/ws2812.c:21:32: note: in expansion of macro 'NS_PER_CYCLE'
  51. #define NS_TO_CYCLES(n) ((n) / NS_PER_CYCLE)
  52. ^~~~~~~~~~~~
  53. drivers/arm/ws2812.c:25:29: note: in expansion of macro 'NS_TO_CYCLES'
  54. for (int i = 0; i < NS_TO_CYCLES(x); i++) { \
  55. ^~~~~~~~~~~~
  56. drivers/arm/ws2812.c:56:13: note: in expansion of macro 'wait_ns'
  57. wait_ns(T1H);
  58. ^~~~~~~
  59. drivers/arm/ws2812.c: In function 'ws2812_setleds':
  60. drivers/arm/ws2812.c:18:25: error: 'STM32_SYSCLK' undeclared (first use in this function)
  61. #define CYCLES_PER_SEC (STM32_SYSCLK / NUMBER_NOPS * NOP_FUDGE)
  62. ^
  63. drivers/arm/ws2812.c:20:36: note: in expansion of macro 'CYCLES_PER_SEC'
  64. #define NS_PER_CYCLE (NS_PER_SEC / CYCLES_PER_SEC)
  65. ^~~~~~~~~~~~~~
  66. drivers/arm/ws2812.c:21:32: note: in expansion of macro 'NS_PER_CYCLE'
  67. #define NS_TO_CYCLES(n) ((n) / NS_PER_CYCLE)
  68. ^~~~~~~~~~~~
  69. drivers/arm/ws2812.c:25:29: note: in expansion of macro 'NS_TO_CYCLES'
  70. for (int i = 0; i < NS_TO_CYCLES(x); i++) { \
  71. ^~~~~~~~~~~~
  72. drivers/arm/ws2812.c:92:5: note: in expansion of macro 'wait_ns'
  73. wait_ns(RES);
  74. ^~~~~~~
  75. [ERRORS]
  76. |
  77. |
  78. |
  79. tmk_core/rules.mk:377: recipe for target '.build/obj_lilith101_default/ws2812.o' failed
  80. make[1]: *** [.build/obj_lilith101_default/ws2812.o] Error 1
  81. Makefile:560: recipe for target 'lilith101:default' failed
  82. make: *** [lilith101:default] Error 1
  83. tnf@tnf-VirtualBox:~/Desktop/github/qmk_firmware$ Make finished with errors
  84. tnf@tnf-VirtualBox:~/Desktop/github/qmk_firmware$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement