Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tnf@tnf-VirtualBox:~/Desktop/github/qmk_firmware$ make lilith101:default
- QMK Firmware 0.7.97
- Making lilith101 with keymap default
- arm-none-eabi-gcc (15:6.3.1+svn253039-1build1) 6.3.1 20170620
- Copyright (C) 2016 Free Software Foundation, Inc.
- This is free software; see the source for copying conditions. There is NO
- warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- Size before:
- text data bss dec hex filename
- 0 34376 0 34376 8648 .build/lilith101_default.hex
- Compiling: keyboards/lilith101/led.c [OK]
- Compiling: keyboards/lilith101/lilith101.c [OK]
- Compiling: keyboards/lilith101/keymaps/default/keymap.c [OK]
- Compiling: quantum/quantum.c [OK]
- Compiling: quantum/keymap_common.c [OK]
- Compiling: quantum/keycode_config.c [OK]
- Compiling: quantum/matrix.c [OK]
- Compiling: quantum/debounce/sym_g.c [OK]
- Compiling: quantum/color.c [OK]
- Compiling: quantum/rgb_matrix.c [OK]
- Compiling: quantum/rgb_matrix_drivers.c [OK]
- Compiling: drivers/arm/ws2812.c drivers/arm/ws2812.c:12:10: error: #error ("NOP_FUDGE configuration required")
- # error("NOP_FUDGE configuration required")
- ^~~~~
- drivers/arm/ws2812.c: In function 'sendByte':
- drivers/arm/ws2812.c:18:25: error: 'STM32_SYSCLK' undeclared (first use in this function)
- #define CYCLES_PER_SEC (STM32_SYSCLK / NUMBER_NOPS * NOP_FUDGE)
- ^
- drivers/arm/ws2812.c:20:36: note: in expansion of macro 'CYCLES_PER_SEC'
- #define NS_PER_CYCLE (NS_PER_SEC / CYCLES_PER_SEC)
- ^~~~~~~~~~~~~~
- drivers/arm/ws2812.c:21:32: note: in expansion of macro 'NS_PER_CYCLE'
- #define NS_TO_CYCLES(n) ((n) / NS_PER_CYCLE)
- ^~~~~~~~~~~~
- drivers/arm/ws2812.c:25:29: note: in expansion of macro 'NS_TO_CYCLES'
- for (int i = 0; i < NS_TO_CYCLES(x); i++) { \
- ^~~~~~~~~~~~
- drivers/arm/ws2812.c:56:13: note: in expansion of macro 'wait_ns'
- wait_ns(T1H);
- ^~~~~~~
- drivers/arm/ws2812.c:18:25: note: each undeclared identifier is reported only once for each function it appears in
- #define CYCLES_PER_SEC (STM32_SYSCLK / NUMBER_NOPS * NOP_FUDGE)
- ^
- drivers/arm/ws2812.c:20:36: note: in expansion of macro 'CYCLES_PER_SEC'
- #define NS_PER_CYCLE (NS_PER_SEC / CYCLES_PER_SEC)
- ^~~~~~~~~~~~~~
- drivers/arm/ws2812.c:21:32: note: in expansion of macro 'NS_PER_CYCLE'
- #define NS_TO_CYCLES(n) ((n) / NS_PER_CYCLE)
- ^~~~~~~~~~~~
- drivers/arm/ws2812.c:25:29: note: in expansion of macro 'NS_TO_CYCLES'
- for (int i = 0; i < NS_TO_CYCLES(x); i++) { \
- ^~~~~~~~~~~~
- drivers/arm/ws2812.c:56:13: note: in expansion of macro 'wait_ns'
- wait_ns(T1H);
- ^~~~~~~
- drivers/arm/ws2812.c: In function 'ws2812_setleds':
- drivers/arm/ws2812.c:18:25: error: 'STM32_SYSCLK' undeclared (first use in this function)
- #define CYCLES_PER_SEC (STM32_SYSCLK / NUMBER_NOPS * NOP_FUDGE)
- ^
- drivers/arm/ws2812.c:20:36: note: in expansion of macro 'CYCLES_PER_SEC'
- #define NS_PER_CYCLE (NS_PER_SEC / CYCLES_PER_SEC)
- ^~~~~~~~~~~~~~
- drivers/arm/ws2812.c:21:32: note: in expansion of macro 'NS_PER_CYCLE'
- #define NS_TO_CYCLES(n) ((n) / NS_PER_CYCLE)
- ^~~~~~~~~~~~
- drivers/arm/ws2812.c:25:29: note: in expansion of macro 'NS_TO_CYCLES'
- for (int i = 0; i < NS_TO_CYCLES(x); i++) { \
- ^~~~~~~~~~~~
- drivers/arm/ws2812.c:92:5: note: in expansion of macro 'wait_ns'
- wait_ns(RES);
- ^~~~~~~
- [ERRORS]
- |
- |
- |
- tmk_core/rules.mk:377: recipe for target '.build/obj_lilith101_default/ws2812.o' failed
- make[1]: *** [.build/obj_lilith101_default/ws2812.o] Error 1
- Makefile:560: recipe for target 'lilith101:default' failed
- make: *** [lilith101:default] Error 1
- tnf@tnf-VirtualBox:~/Desktop/github/qmk_firmware$ Make finished with errors
- tnf@tnf-VirtualBox:~/Desktop/github/qmk_firmware$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement