Created
August 21, 2015 18:12
-
-
Save maaatts/e2a50008f090b5399a13 to your computer and use it in GitHub Desktop.
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
~/tmk_keyboard/keyboard/planck $ make | |
Makefile:55: MATRIX: matrix_pcb.c | |
-------- begin -------- | |
avr-gcc (GCC) 5.2.0 | |
Copyright (C) 2015 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. | |
mkdir -p obj_planck_lufa/extended_keymaps | |
Compiling C: extended_keymaps/extended_keymap_default.c | |
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DINTERRUPT_CONTROL_ENDPOINT -DBOOTLOADER_SIZE=4096 -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8 -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DBACKLIGHT_ENABLE -DVERSION=2d76b5c -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_planck_lufa/extended_keymaps/extended_keymap_default.lst -I. -I../.. -I../../protocol/lufa -I../../protocol/lufa/LUFA-120730 -I../../common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_planck_lufa_extended_keymaps_extended_keymap_default.o.d extended_keymaps/extended_keymap_default.c -o obj_planck_lufa/extended_keymaps/extended_keymap_default.o | |
mkdir -p obj_planck_lufa | |
Compiling C: extended_keymap_common.c | |
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DINTERRUPT_CONTROL_ENDPOINT -DBOOTLOADER_SIZE=4096 -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8 -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DBACKLIGHT_ENABLE -DVERSION=2d76b5c -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_planck_lufa/extended_keymap_common.lst -I. -I../.. -I../../protocol/lufa -I../../protocol/lufa/LUFA-120730 -I../../common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_planck_lufa_extended_keymap_common.o.d extended_keymap_common.c -o obj_planck_lufa/extended_keymap_common.o | |
extended_keymap_common.c: In function 'action_for_key': | |
extended_keymap_common.c:49:21: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] | |
} else if (keycode >= BL_0 & keycode <= BL_15) { | |
^ | |
In file included from ../../common/action.h:24:0, | |
from extended_keymap_common.h:23, | |
from extended_keymap_common.c:18: | |
extended_keymap_common.c:51:54: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] | |
action.code = ACTION_BACKLIGHT_LEVEL(keycode & 0x000F); | |
^ | |
../../common/action_code.h:186:56: note: in definition of macro 'ACTION' | |
#define ACTION(kind, param) ((kind)<<12 | (param)) | |
^ | |
extended_keymap_common.c:51:23: note: in expansion of macro 'ACTION_BACKLIGHT_LEVEL' | |
action.code = ACTION_BACKLIGHT_LEVEL(keycode & 0x000F); | |
^ | |
extended_keymap_common.c:70:9: warning: implicit declaration of function 'bootloader_jump' [-Wimplicit-function-declaration] | |
bootloader_jump(); | |
^ | |
extended_keymap_common.c:71:9: warning: 'return' with no value, in function returning non-void | |
return; | |
^ | |
extended_keymap_common.c:74:9: warning: 'return' with no value, in function returning non-void | |
return; | |
^ | |
mkdir -p obj_planck_lufa | |
Compiling C: matrix_pcb.c | |
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DINTERRUPT_CONTROL_ENDPOINT -DBOOTLOADER_SIZE=4096 -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8 -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DBACKLIGHT_ENABLE -DVERSION=2d76b5c -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_planck_lufa/matrix_pcb.lst -I. -I../.. -I../../protocol/lufa -I../../protocol/lufa/LUFA-120730 -I../../common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_planck_lufa_matrix_pcb.o.d matrix_pcb.c -o obj_planck_lufa/matrix_pcb.o | |
matrix_pcb.c: In function 'matrix_init': | |
matrix_pcb.c:64:5: warning: implicit declaration of function 'backlight_init_ports' [-Wimplicit-function-declaration] | |
backlight_init_ports(); | |
^ | |
matrix_pcb.c: In function 'matrix_print': | |
matrix_pcb.c:130:10: warning: statement with no effect [-Wunused-value] | |
print("\nr/c 0123456789ABCDEF\n"); | |
^ | |
matrix_pcb.c:132:25: warning: statement with no effect [-Wunused-value] | |
phex(row); print(": "); | |
^ | |
matrix_pcb.c:134:14: warning: statement with no effect [-Wunused-value] | |
print("\n"); | |
^ | |
mkdir -p obj_planck_lufa | |
Compiling C: led.c | |
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DINTERRUPT_CONTROL_ENDPOINT -DBOOTLOADER_SIZE=4096 -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8 -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DBACKLIGHT_ENABLE -DVERSION=2d76b5c -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_planck_lufa/led.lst -I. -I../.. -I../../protocol/lufa -I../../protocol/lufa/LUFA-120730 -I../../common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_planck_lufa_led.o.d led.c -o obj_planck_lufa/led.o | |
mkdir -p obj_planck_lufa | |
Compiling C: backlight.c | |
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DINTERRUPT_CONTROL_ENDPOINT -DBOOTLOADER_SIZE=4096 -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8 -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DBACKLIGHT_ENABLE -DVERSION=2d76b5c -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_planck_lufa/backlight.lst -I. -I../.. -I../../protocol/lufa -I../../protocol/lufa/LUFA-120730 -I../../common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_planck_lufa_backlight.o.d backlight.c -o obj_planck_lufa/backlight.o | |
backlight.c:7:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] | |
void backlight_init_ports() | |
^ | |
mkdir -p obj_planck_lufa | |
Compiling C: beeps.c | |
avr-gcc -c -mmcu=atmega32u4 -gdwarf-2 -DF_CPU=16000000UL -DINTERRUPT_CONTROL_ENDPOINT -DBOOTLOADER_SIZE=4096 -DF_USB=16000000UL -DARCH=ARCH_AVR8 -DUSB_DEVICE_ONLY -DUSE_FLASH_DESCRIPTORS -DUSE_STATIC_OPTIONS="(USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)" -DFIXED_CONTROL_ENDPOINT_SIZE=8 -DFIXED_NUM_CONFIGURATIONS=1 -DPROTOCOL_LUFA -DBOOTMAGIC_ENABLE -DMOUSEKEY_ENABLE -DMOUSE_ENABLE -DEXTRAKEY_ENABLE -DCONSOLE_ENABLE -DCOMMAND_ENABLE -DNKRO_ENABLE -DBACKLIGHT_ENABLE -DVERSION=2d76b5c -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fno-inline-small-functions -fpack-struct -fshort-enums -fno-strict-aliasing -Wall -Wstrict-prototypes -Wa,-adhlns=obj_planck_lufa/beeps.lst -I. -I../.. -I../../protocol/lufa -I../../protocol/lufa/LUFA-120730 -I../../common -std=gnu99 -include config.h -MMD -MP -MF .dep/obj_planck_lufa_beeps.o.d beeps.c -o obj_planck_lufa/beeps.o | |
In file included from beeps.c:1:0: | |
beeps.h:7:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] | |
void beeps(); | |
^ | |
beeps.c:40:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] | |
void beeps() { | |
^ | |
beeps.c: In function 'beeps': | |
beeps.c:91:1: warning: implicit declaration of function 'play_notes' [-Wimplicit-function-declaration] | |
play_notes(); | |
^ | |
beeps.c: At top level: | |
beeps.c:163:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] | |
void play_notes() { | |
^ | |
beeps.c:163:6: warning: conflicting types for 'play_notes' | |
beeps.c:91:1: note: previous implicit declaration of 'play_notes' was here | |
play_notes(); | |
^ | |
In file included from /usr/avr/include/avr/io.h:99:0, | |
from beeps.h:3, | |
from beeps.c:1: | |
beeps.c: In function 'play_notes': | |
beeps.c:176:19: error: 'WGM21' undeclared (first use in this function) | |
TCCR1A |= _BV(WGM21) | _BV(WGM20); | |
^ | |
beeps.c:176:19: note: each undeclared identifier is reported only once for each function it appears in | |
beeps.c:176:32: error: 'WGM20' undeclared (first use in this function) | |
TCCR1A |= _BV(WGM21) | _BV(WGM20); | |
^ | |
beeps.c:177:20: error: 'WGM22' undeclared (first use in this function) | |
TCCR1B &= ~_BV(WGM22); | |
^ | |
beeps.c:181:15: error: 'TCCR2A' undeclared (first use in this function) | |
TCCR1A = (TCCR2A | _BV(COM2A1)) & ~_BV(COM2A0); | |
^ | |
In file included from /usr/avr/include/avr/io.h:99:0, | |
from beeps.h:3, | |
from beeps.c:1: | |
beeps.c:181:28: error: 'COM2A1' undeclared (first use in this function) | |
TCCR1A = (TCCR2A | _BV(COM2A1)) & ~_BV(COM2A0); | |
^ | |
beeps.c:181:44: error: 'COM2A0' undeclared (first use in this function) | |
TCCR1A = (TCCR2A | _BV(COM2A1)) & ~_BV(COM2A0); | |
^ | |
beeps.c:182:21: error: 'COM2B1' undeclared (first use in this function) | |
TCCR1A &= ~(_BV(COM2B1) | _BV(COM2B0)); | |
^ | |
beeps.c:182:35: error: 'COM2B0' undeclared (first use in this function) | |
TCCR1A &= ~(_BV(COM2B1) | _BV(COM2B0)); | |
^ | |
beeps.c:196:5: error: 'TCCR2B' undeclared (first use in this function) | |
TCCR2B = (TCCR2B & ~_BV(WGM13)) | _BV(WGM12); | |
^ | |
beeps.c:206:5: error: 'OCR2A' undeclared (first use in this function) | |
OCR2A = 2000; | |
^ | |
In file included from /usr/avr/include/avr/io.h:99:0, | |
from beeps.h:3, | |
from beeps.c:1: | |
beeps.c:209:19: error: 'OCIE2A' undeclared (first use in this function) | |
TIMSK1 |= _BV(OCIE2A); | |
^ | |
../../rules.mk:546: recipe for target 'obj_planck_lufa/beeps.o' failed | |
make: *** [obj_planck_lufa/beeps.o] Error 1 | |
~/tmk_keyboard/keyboard/planck $ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment