#day13quarantine
QMK setup documentation does not seem to work out of the box. It seemed that there are other things that needs to be done to be able to use QMK. As of 202003229, here are the steps I did to compile my firmware.
Some installation stuffs may be shorted and placed in one line. I decided not to merge these since this is the actual step I did.
- Install Ubuntu through Microsoft Store
- Open Ubuntu
- Install git python3
sudo apt-get install git python3
- Install some other stuff
sudo apt-get install python-dev build-essential
sudo apt-get install dfu-programmer avrdude dfu-util gcc-avr gcc-arm-none-eabi
- Update Ubuntu
sudo apt-get update
- Install python-pip python3-pip
sudo apt-get install python3-pip
- Install QMK
sudo -H python3 -m pip install qmk
- Copy/setup QMK from git. I am using my fork for this example.
qmk setup pabile/qmk_firmware
- Update 20200719: When this error is encountered:
- Navigate to QMK folder
cd qmk_firmware
- Now to test if setup is in order.
sudo make pabile/p40:default
- when you receive this error,
avr/io.h not found error
, run
sudo apt-get install avr-libc
- re-run
sudo make pabile/p40:default
ls
will list files under current directory..hex
should be present somewhere in this folder.- Here's how to locate your ubuntu directory. I placed a shortcut on my desktop for easy access.
- when you receive this error,
- Download and install QMK Toolbox. Upload hex file. Flash!
Detected ModemManager. Please disable it if you are using a Pro-Micro.
Run the following:
sudo apt-get purge modemmanager
Update20200719: If there are issues flashing using QMK Toolbox, please follow this guide.
Update 20201104: Always refer to and use QMK's official documentation as much as possible: https://docs.qmk.fm/
How to install QMK on Windows 10:
ReplyDeleteStep 1: Install another OS.
Wtf seriously?