-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
将DIODE_DIRECTION改为ROW2COL时link出错 #9
Comments
看了一下matrix.c的代码,DIODE_DIRECTION是需要条件编译的。pro_v1.c 只实现了DIODE_DIRECTION=COL2ROW的代码,相反方向的话,需要自已修改。 |
同样发现了这个问题 |
请问您也是用的原本作者提供的代码吗?我用原本作者的代码啥都没改出现这个问题 |
搞定了吗,同样的报错 |
Linking: .build/eblue_default.elf [ERRORS] |
百思不得其解,编译都过去了,怎么会在link这一步报错?
Linking: .build/candy_ble_pro_v1_default.elf [ERRORS]
|
| c:/msys64/home/admin/qmk_utils/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/8.3.1/../../../../arm-none-eabi/bin/ld.exe: .build/obj_candy_ble_pro_v1_default/keyboards/candy_ble/pro_v1/pro_v1.o: in function
matrix_init_user': | D:\nrfkb\qmk_firmware/keyboards/candy_ble/pro_v1/pro_v1.c:54: undefined reference to
select_row'| c:/msys64/home/admin/qmk_utils/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/8.3.1/../../../../arm-none-eabi/bin/ld.exe: D:\nrfkb\qmk_firmware/keyboards/candy_ble/pro_v1/pro_v1.c:56: undefined reference to
read_cols' | c:/msys64/home/admin/qmk_utils/gcc-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/8.3.1/../../../../arm-none-eabi/bin/ld.exe: D:\nrfkb\qmk_firmware/keyboards/candy_ble/pro_v1/pro_v1.c:57: undefined reference to
unselect_rows'| collect2.exe: error: ld returned 1 exit status
|
make[1]: *** [tmk_core/rules.mk:288: .build/candy_ble_pro_v1_default.elf] Error 1
The text was updated successfully, but these errors were encountered: