Closed monkeychou closed 2 years ago
Can you post a link to the repository with this keyboard and full configuration for it?
您可以使用此键盘和完整配置发布到存储库的链接吗?
您可以使用此键盘和完整配置发布到存储库的链接吗?
Following these commands:
git clone https://github.com/monkeychou/choupad.git
git clone https://github.com/vial-kb/vial-qmk.git
mv choupad/choupad vial-qmk/keyboards
cd vial-qmk
python3 -m venv venv
. venv/bin/activate
pip install qmk
make git-submodule
make choupad:via
I get the following error:
Compiling: keyboards/choupad/keymaps/via/keymap.c keyboards/choupad/keymaps/via/keymap.c:62:6: error: conflicting types for 'encoder_update_user'; have 'void(uint8_t, _Bool)' {aka 'void(unsigned char, _Bool)'}
62 | void encoder_update_user(uint8_t index, bool clockwise) {
It looks your copy of vial-qmk is out of date.
After resolving the error, the firmware links successfully however it is too large:
Linking: .build/choupad_via.elf [OK]
Creating load file for flashing: .build/choupad_via.hex [OK]
Copying choupad_via.hex to qmk_firmware folder [OK]
Checking file size of choupad_via.hex
* The firmware is too large! 34758/28672 (6086 bytes over)
[ERRORS]
make[1]: *** [tmk_core/rules.mk:490: check-size] Error 1
Make finished with errors
make: *** [Makefile:478: choupad:via] Error 1
Therefore, it looks like your vial-qmk is not fully updated, and there is no issue here.
TAP_DANCE_ENABLE = yes in rules.mk
define TAPPING_TERM 175 in config.h
but errors