Created
June 11, 2023 02:22
-
-
Save sxlijin/c7a7147afc11bf23c10198db5c101c39 to your computer and use it in GitHub Desktop.
sofle_choc qmk build errors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sxlijin@sxlijin-debian:2023-06-10T19:21:16-0700:~/repos/blow-qmk (choc2) [0] | |
$ g lgn | |
++ 2023-06-10T19:21:21-0700 ++ git lgn | |
42f7458b04 (8 weeks ago) - (HEAD -> choc2, origin/choc2) Fix photo url of sofle choc | |
871e067678 (8 weeks ago) - Apply tri layer handling for sofle choc. | |
4217deafeb (8 weeks ago) - Add default encoder behaviour. | |
11a7c61569 (8 weeks ago) - Replace deprecated RGB_DI_PIN. | |
8ab84c008a (8 weeks ago) - Merge remote-tracking branch 'upstream/master' into choc2 | |
6d965d486c (8 weeks ago) - Add hardware information momokai keyboards (#20434) | |
ce417226b2 (8 weeks ago) - 4pplet/eagle_viper_rep/rev_a Layout Macro Conversion and Additions (#20414) | |
0382a25e35 (8 weeks ago) - [Keymap] Add paulomp90 lily58 keymap (#20327) | |
83dcbefeed (8 weeks ago) - [Keymap] Add personal keymap for Lily58 (#18735) | |
18335ddda5 (8 weeks ago) - [Keyboard] Fix h87 g2 VID conflict (#20388) | |
sxlijin@sxlijin-debian:2023-06-10T19:21:21-0700:~/repos/blow-qmk (choc2) [0] | |
$ util/docker_build.sh sofle_choc:default | |
++ 2023-06-10T19:21:27-0700 ++ util/docker_build.sh sofle_choc:default | |
QMK Firmware 0.13.2 | |
Making sofle_choc with keymap default | |
avr-gcc (GCC) 8.3.0 | |
Copyright (C) 2018 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. | |
Compiling: platforms/avr/drivers/ws2812.c In file included from /avr/include/avr/io.h:99, | |
from /avr/include/avr/interrupt.h:38, | |
from platforms/avr/drivers/ws2812.c:23: | |
platforms/avr/drivers/ws2812.c: In function 'ws2812_setleds': | |
platforms/avr/drivers/ws2812.c:41:18: error: 'RGB_DI_PIN' undeclared (first use in this function); did you mean 'RGB_PINK'? | |
DDRx_ADDRESS(RGB_DI_PIN) |= pinmask(RGB_DI_PIN); | |
^~~~~~~~~~ | |
platforms/avr/_pin_defs.h:64:25: note: in expansion of macro '_PIN_ADDRESS' | |
#define DDRx_ADDRESS(p) _PIN_ADDRESS(p, 1) | |
^~~~~~~~~~~~ | |
platforms/avr/drivers/ws2812.c:41:5: note: in expansion of macro 'DDRx_ADDRESS' | |
DDRx_ADDRESS(RGB_DI_PIN) |= pinmask(RGB_DI_PIN); | |
^~~~~~~~~~~~ | |
platforms/avr/drivers/ws2812.c:41:18: note: each undeclared identifier is reported only once for each function it appears in | |
DDRx_ADDRESS(RGB_DI_PIN) |= pinmask(RGB_DI_PIN); | |
^~~~~~~~~~ | |
platforms/avr/_pin_defs.h:64:25: note: in expansion of macro '_PIN_ADDRESS' | |
#define DDRx_ADDRESS(p) _PIN_ADDRESS(p, 1) | |
^~~~~~~~~~~~ | |
platforms/avr/drivers/ws2812.c:41:5: note: in expansion of macro 'DDRx_ADDRESS' | |
DDRx_ADDRESS(RGB_DI_PIN) |= pinmask(RGB_DI_PIN); | |
^~~~~~~~~~~~ | |
platforms/avr/drivers/ws2812.c: In function 'ws2812_sendarray_mask': | |
platforms/avr/drivers/ws2812.c:168:69: error: 'RGB_DI_PIN' undeclared (first use in this function); did you mean 'RGB_PINK'? | |
: "r"(curbyte), "I"(_SFR_IO_ADDR(PORTx_ADDRESS(RGB_DI_PIN))), "r"(maskhi), "r"(masklo)); | |
^~~~~~~~~~ | |
platforms/avr/_pin_defs.h:66:26: note: in expansion of macro '_PIN_ADDRESS' | |
#define PORTx_ADDRESS(p) _PIN_ADDRESS(p, 2) | |
^~~~~~~~~~~~ | |
platforms/avr/drivers/ws2812.c:168:55: note: in expansion of macro 'PORTx_ADDRESS' | |
: "r"(curbyte), "I"(_SFR_IO_ADDR(PORTx_ADDRESS(RGB_DI_PIN))), "r"(maskhi), "r"(masklo)); | |
^~~~~~~~~~~~~ | |
[ERRORS] | |
| | |
| | |
| | |
make[1]: *** [builddefs/common_rules.mk:360: .build/obj_sofle_choc_default/ws2812.o] Error 1 | |
Make finished with errors | |
make: *** [Makefile:392: sofle_choc:default] Error 1 | |
sxlijin@sxlijin-debian:2023-06-10T19:21:31-0700:~/repos/blow-qmk (choc2) [2] | |
$ util/docker_build.sh sofle_choc:via | |
++ 2023-06-10T19:21:34-0700 ++ util/docker_build.sh sofle_choc:via | |
QMK Firmware 0.13.2 | |
Making sofle_choc with keymap via | |
avr-gcc (GCC) 8.3.0 | |
Copyright (C) 2018 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. | |
Compiling: platforms/avr/drivers/ws2812.c In file included from /avr/include/avr/io.h:99, | |
from /avr/include/avr/interrupt.h:38, | |
from platforms/avr/drivers/ws2812.c:23: | |
platforms/avr/drivers/ws2812.c: In function 'ws2812_setleds': | |
platforms/avr/drivers/ws2812.c:41:18: error: 'RGB_DI_PIN' undeclared (first use in this function); did you mean 'RGB_PINK'? | |
DDRx_ADDRESS(RGB_DI_PIN) |= pinmask(RGB_DI_PIN); | |
^~~~~~~~~~ | |
platforms/avr/_pin_defs.h:64:25: note: in expansion of macro '_PIN_ADDRESS' | |
#define DDRx_ADDRESS(p) _PIN_ADDRESS(p, 1) | |
^~~~~~~~~~~~ | |
platforms/avr/drivers/ws2812.c:41:5: note: in expansion of macro 'DDRx_ADDRESS' | |
DDRx_ADDRESS(RGB_DI_PIN) |= pinmask(RGB_DI_PIN); | |
^~~~~~~~~~~~ | |
platforms/avr/drivers/ws2812.c:41:18: note: each undeclared identifier is reported only once for each function it appears in | |
DDRx_ADDRESS(RGB_DI_PIN) |= pinmask(RGB_DI_PIN); | |
^~~~~~~~~~ | |
platforms/avr/_pin_defs.h:64:25: note: in expansion of macro '_PIN_ADDRESS' | |
#define DDRx_ADDRESS(p) _PIN_ADDRESS(p, 1) | |
^~~~~~~~~~~~ | |
platforms/avr/drivers/ws2812.c:41:5: note: in expansion of macro 'DDRx_ADDRESS' | |
DDRx_ADDRESS(RGB_DI_PIN) |= pinmask(RGB_DI_PIN); | |
^~~~~~~~~~~~ | |
platforms/avr/drivers/ws2812.c: In function 'ws2812_sendarray_mask': | |
platforms/avr/drivers/ws2812.c:168:69: error: 'RGB_DI_PIN' undeclared (first use in this function); did you mean 'RGB_PINK'? | |
: "r"(curbyte), "I"(_SFR_IO_ADDR(PORTx_ADDRESS(RGB_DI_PIN))), "r"(maskhi), "r"(masklo)); | |
^~~~~~~~~~ | |
platforms/avr/_pin_defs.h:66:26: note: in expansion of macro '_PIN_ADDRESS' | |
#define PORTx_ADDRESS(p) _PIN_ADDRESS(p, 2) | |
^~~~~~~~~~~~ | |
platforms/avr/drivers/ws2812.c:168:55: note: in expansion of macro 'PORTx_ADDRESS' | |
: "r"(curbyte), "I"(_SFR_IO_ADDR(PORTx_ADDRESS(RGB_DI_PIN))), "r"(maskhi), "r"(masklo)); | |
^~~~~~~~~~~~~ | |
[ERRORS] | |
| | |
| | |
| | |
make[1]: *** [builddefs/common_rules.mk:360: .build/obj_sofle_choc_via/ws2812.o] Error 1 | |
Make finished with errors | |
make: *** [Makefile:392: sofle_choc:via] Error 1 | |
sxlijin@sxlijin-debian:2023-06-10T19:21:39-0700:~/repos/blow-qmk (choc2) [2] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment