Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[nlundsten@nuc ergodox]$ pwd
/home/nlundsten/workspace/qmk_firmware/keyboards/ergodox
[nlundsten@nuc ergodox]$ make KEYMAP=nlundsten SUBPROJECT=ez
avr-gcc (Fedora 4.9.3-2.fc24) 4.9.3
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.
Size before:
text data bss dec hex filename
0 19168 0 19168 4ae0 ergodox_ez_nlundsten.hex
Size after:
text data bss dec hex filename
0 19168 0 19168 4ae0 ergodox_ez_nlundsten.hex
[nlundsten@nuc ergodox]$ ls keymaps/nlundsten
keymap.c
[nlundsten@nuc ergodox]$ echo "#define TAPPING_TERM 200" > keymaps/nlundsten/config.h
[nlundsten@nuc ergodox]$ make KEYMAP=nlundsten SUBPROJECT=ez
avr-gcc (Fedora 4.9.3-2.fc24) 4.9.3
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.
Size before:
text data bss dec hex filename
0 19168 0 19168 4ae0 ergodox_ez_nlundsten.hex
Compiling: ../../keyboards/ergodox/ez/twimaster.c [OK]
Compiling: ../../keyboards/ergodox/ez/matrix.c In file included from ../../quantum/quantum.h:11:0,
from ../../keyboards/ergodox/ez/ez.h:4,
from ../../keyboards/ergodox/ez/matrix.c:36:
../../quantum/keymap.h:44:33: error: 'MATRIX_ROWS' undeclared here (not in a function)
extern const uint16_t keymaps[][MATRIX_ROWS][MATRIX_COLS];
^
../../quantum/keymap.h:44:46: error: 'MATRIX_COLS' undeclared here (not in a function)
extern const uint16_t keymaps[][MATRIX_ROWS][MATRIX_COLS];
^
../../keyboards/ergodox/ez/matrix.c:59:21: warning: 'matrix' defined but not used [-Wunused-variable]
static matrix_row_t matrix[MATRIX_ROWS];
^
../../keyboards/ergodox/ez/matrix.c:60:21: warning: 'matrix_debouncing' defined but not used [-Wunused-variable]
static matrix_row_t matrix_debouncing[MATRIX_ROWS];
^
../../keyboards/ergodox/ez/matrix.c: In function 'matrix_rows':
../../keyboards/ergodox/ez/matrix.c:95:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../../keyboards/ergodox/ez/matrix.c: In function 'matrix_cols':
../../keyboards/ergodox/ez/matrix.c:101:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../../keyboards/ergodox/ez/matrix.c: In function 'matrix_is_on':
../../keyboards/ergodox/ez/matrix.c:218:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../../keyboards/ergodox/ez/matrix.c: In function 'matrix_get_row':
../../keyboards/ergodox/ez/matrix.c:224:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
[ERRORS]
|
|
|
../../tmk_core/rules.mk:438: recipe for target '../../.build/obj_ergodox_ez_nlundsten/matrix.o' failed
make: *** [../../.build/obj_ergodox_ez_nlundsten/matrix.o] Error 1
[nlundsten@nuc ergodox]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment