NoteToSelf: Installing QMK in Windows 10 v1909




#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. 

  1. Install Ubuntu through Microsoft Store
  2. Open Ubuntu
  3. Install git python3
    sudo apt-get install git python3
  4. 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
  5. Update Ubuntu
    sudo apt-get update
  6. Install python-pip python3-pip
    sudo apt-get install python3-pip
  7. Install QMK
    sudo -H python3 -m pip install qmk
  8. 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: 
    • Detected ModemManager. Please disable it if you are using a Pro-Micro.          

      Run the following:
      sudo apt-get purge modemmanager

  9. Navigate to QMK folder
    cd qmk_firmware
  10. 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.

  11. Download and install QMK Toolbox. Upload hex file. Flash!
          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/

Comments

  1. How to install QMK on Windows 10:

    Step 1: Install another OS.

    Wtf seriously?

    ReplyDelete

Post a Comment