I am unable to build the infinity_chibios keyboard using either:
README.md make instructionsHere is my output:
~/repos/qmk_firmware/keyboards/infinity_chibios î‚° î‚ master î‚° make
../../tmk_core/chibios.mk:38: ../../lib/chibios-contrib/os/common/startup/ARMCMx/compilers/GCC/mk/startup_k20x5.mk: No such file or directory
../../tmk_core/chibios.mk:40: ../../lib/chibios/os/hal/hal.mk: No such file or directory
../../tmk_core/chibios.mk:46: ../../lib/chibios-contrib/os/hal/ports/KINETIS/K20x/platform.mk: No such file or directory
../../tmk_core/chibios.mk:56: ../../lib/chibios-contrib/os/hal/boards/MCHCK_K20/board.mk: No such file or directory
../../tmk_core/chibios.mk:57: ../../lib/chibios/os/hal/osal/rt/osal.mk: No such file or directory
../../tmk_core/chibios.mk:59: ../../lib/chibios/os/rt/rt.mk: No such file or directory
../../tmk_core/chibios.mk:65: ../../lib/chibios/os/common/ports/ARMCMx/compilers/GCC/mk/port_v7m.mk: No such file or directory
../../tmk_core/chibios.mk:67: ../../lib/chibios/os/hal/lib/streams/streams.mk: No such file or directory
make: *** No rule to make target `../../lib/chibios/os/hal/lib/streams/streams.mk'. Stop.
Any advice for moving beyond this point?
If you navigate to qmk_firmware/lib, you ought to see three folders there: chibios, chibios-contrib, and ugfx. They will likely be empty, which is why it's saying that those files can't be found (the No such file or directory error).
You need to make sure that when you git clone the repo, you also get those submodules in qmk_firmware/lib. When cloning the whole repo in the first place, you should be able to use git clone --recursive <repo>. If you've already cloned it, then git submodule update --init --recursive once you've cd'd into your qmk_firmware directory should get those submodules for you. Otherwise you can just download them manually and copy the files into the appropriate folders.
This should probably be added specifically in the documentation somewhere to be extra clear that those submodules in qmk_firmware/lib aren't hosted directly in the qmk_firmware repo.
Ok that's great, thanks @Depariel. It makes the hex file now.
@Depariel is the infinity_chibios intended for the Infinity 60% from Massdrop?
@finleye I don't think so. I couldn't flash my Mass Drop Ergodox from Input Club with that build. So far I've had the most success with the kiibohd controller repo. Specifically, the keyboards/ergodox.bash repo builds and flashes correctly for me.
@F1LT3R thanks for the info. I'm looking to flash to my Infinity 60% though, not the Infinity Ergodox.
@finleye Yes, infinity_chibios is intended for the Infinity 60%, NOT the Infinity Ergodox.
@F1LT3R If you want to use QMK on your Infinity Ergodox, you should have a look at the Ergodox section.
I will rename infinity_chibios to infinity60 soon for less confiusion. And also update the readme with instructions for building.
Meanwhile the build instructions should be exactly the same as for the Ergodox, and described in the Ergodox readme.
Are you still having problems with getting it to build? Also note that currently there's no support for the 1.1a version. But I can adapt the pull request from here https://github.com/tmk/tmk_keyboard/pull/371 to add support. I can't test it myself though.
There's support for 1.1a, just not for its LEDs. I added it in https://github.com/jackhumbert/qmk_firmware/pull/599 and have been running it on my 1.1a board ever since with zero issues.
Closing
Most helpful comment
If you navigate to
qmk_firmware/lib, you ought to see three folders there:chibios,chibios-contrib, andugfx. They will likely be empty, which is why it's saying that those files can't be found (theNo such file or directoryerror).You need to make sure that when you
git clonethe repo, you also get those submodules inqmk_firmware/lib. When cloning the whole repo in the first place, you should be able to usegit clone --recursive <repo>. If you've already cloned it, thengit submodule update --init --recursiveonce you'vecd'd into yourqmk_firmwaredirectory should get those submodules for you. Otherwise you can just download them manually and copy the files into the appropriate folders.This should probably be added specifically in the documentation somewhere to be extra clear that those submodules in
qmk_firmware/libaren't hosted directly in the qmk_firmware repo.