config.h error
[nlundsten@nuc ez]$ pwd | |
/home/nlundsten/workspace/qmk_firmware/keyboards/ergodox/ez | |
[nlundsten@nuc ez]$ make keymap=nlundsten | |
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. | |
WARNING: | |
Some git sub-modules are out of date or modified, please consider runnning: | |
git submodule sync --recursive | |
git submodule update --init --recursive | |
You can ignore this warning if you are not compiling any ChibiOS keyboards, | |
or if you have modified the ChibiOS libraries yourself. | |
Size before: | |
text data bss dec hex filename | |
0 19164 0 19164 4adc ergodox_ez_nlundsten.hex | |
Size after: | |
text data bss dec hex filename | |
0 19164 0 19164 4adc ergodox_ez_nlundsten.hex | |
[nlundsten@nuc ez]$ ls ../keymaps/nlundsten | |
keymap.c | |
[nlundsten@nuc ez]$ echo "#define TAPPING_TERM 200" > ../keymaps/nlundsten/config.h | |
[nlundsten@nuc ez]$ make keymap=nlundsten | |
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. | |
WARNING: | |
Some git sub-modules are out of date or modified, please consider runnning: | |
git submodule sync --recursive | |
git submodule update --init --recursive | |
You can ignore this warning if you are not compiling any ChibiOS keyboards, | |
or if you have modified the ChibiOS libraries yourself. | |
Size before: | |
text data bss dec hex filename | |
0 19164 0 19164 4adc ergodox_ez_nlundsten.hex | |
Compiling: twimaster.c [OK] | |
Compiling: matrix.c In file included from ../../../quantum/quantum.h:11:0, | |
from ez.h:4, | |
from 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]; | |
^ | |
matrix.c:59:21: warning: 'matrix' defined but not used [-Wunused-variable] | |
static matrix_row_t matrix[MATRIX_ROWS]; | |
^ | |
matrix.c:60:21: warning: 'matrix_debouncing' defined but not used [-Wunused-variable] | |
static matrix_row_t matrix_debouncing[MATRIX_ROWS]; | |
^ | |
matrix.c: In function 'matrix_rows': | |
matrix.c:95:1: warning: control reaches end of non-void function [-Wreturn-type] | |
} | |
^ | |
matrix.c: In function 'matrix_cols': | |
matrix.c:101:1: warning: control reaches end of non-void function [-Wreturn-type] | |
} | |
^ | |
matrix.c: In function 'matrix_is_on': | |
matrix.c:218:1: warning: control reaches end of non-void function [-Wreturn-type] | |
} | |
^ | |
matrix.c: In function 'matrix_get_row': | |
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 ez]$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment