diff options
| author | Jack Humbert <jack.humb@gmail.com> | 2016-08-27 17:29:35 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-08-27 17:29:35 -0400 |
| commit | bade8be66c3440cc91db1d56d3a29a5b5af226dc (patch) | |
| tree | 5ddb470cddd1463de1ffd8d996c4415872243758 /readme.md | |
| parent | 98bedbeb754f045562913c4a573e5029f2e209ed (diff) | |
| parent | 53302328d0425bacdf4b0a763699308b9179f5ff (diff) | |
| download | qmk_firmware-bade8be66c3440cc91db1d56d3a29a5b5af226dc.tar.gz qmk_firmware-bade8be66c3440cc91db1d56d3a29a5b5af226dc.zip | |
Merge pull request #695 from fredizzimo/dfu-util_instructions
Add dfu-util to the instructions
Diffstat (limited to 'readme.md')
| -rw-r--r-- | readme.md | 15 |
1 files changed, 10 insertions, 5 deletions
| @@ -69,11 +69,12 @@ Here are the steps | |||
| 69 | ### Windows (Vista and later) | 69 | ### Windows (Vista and later) |
| 70 | 1. If you have ever installed WinAVR, uninstall it. | 70 | 1. If you have ever installed WinAVR, uninstall it. |
| 71 | 2. Install [MHV AVR Tools](https://infernoembedded.com/sites/default/files/project/MHV_AVR_Tools_20131101.exe). Disable smatch, but **be sure to leave the option to add the tools to the PATH checked**. | 71 | 2. Install [MHV AVR Tools](https://infernoembedded.com/sites/default/files/project/MHV_AVR_Tools_20131101.exe). Disable smatch, but **be sure to leave the option to add the tools to the PATH checked**. |
| 72 | 3. Install [MinGW](https://sourceforge.net/projects/mingw/files/Installer/mingw-get-setup.exe/download). During installation, uncheck the option to install a graphical user interface. **DO NOT change the default installation folder.** The scripts depend on the default location. | 72 | 3. If you are going to flash Infinity based keyboards you will need to install dfu-util, refer to the instructions by [Input Club](https://github.com/kiibohd/controller/wiki/Loading-DFU-Firmware). |
| 73 | 4. Clone this repository. [This link will download it as a zip file, which you'll need to extract.](https://github.com/jackhumbert/qmk_firmware/archive/master.zip) Open the extracted folder in Windows Explorer. | 73 | 4. Install [MinGW](https://sourceforge.net/projects/mingw/files/Installer/mingw-get-setup.exe/download). During installation, uncheck the option to install a graphical user interface. **DO NOT change the default installation folder.** The scripts depend on the default location. |
| 74 | 5. Double-click on the 1-setup-path-win batch script to run it. You'll need to accept a User Account Control prompt. Press the spacebar to dismiss the success message in the command prompt that pops up. | 74 | 5. Clone this repository. [This link will download it as a zip file, which you'll need to extract.](https://github.com/jackhumbert/qmk_firmware/archive/master.zip) Open the extracted folder in Windows Explorer. |
| 75 | 6. Right-click on the 2-setup-environment-win batch script, select "Run as administrator", and accept the User Account Control prompt. This part may take a couple of minutes, and you'll need to approve a driver installation, but once it finishes, your environment is complete! | 75 | 6. Double-click on the 1-setup-path-win batch script to run it. You'll need to accept a User Account Control prompt. Press the spacebar to dismiss the success message in the command prompt that pops up. |
| 76 | 7. Future build commands should be run from the MHV AVR Shell, which sets up an environment compatible with colorful build output. The standard Command Prompt will also work, but add `COLOR=false` to the end of all make commands when using it. | 76 | 7. Right-click on the 2-setup-environment-win batch script, select "Run as administrator", and accept the User Account Control prompt. This part may take a couple of minutes, and you'll need to approve a driver installation, but once it finishes, your environment is complete! |
| 77 | 8. Future build commands should be run from the MHV AVR Shell, which sets up an environment compatible with colorful build output. The standard Command Prompt will also work, but add `COLOR=false` to the end of all make commands when using it. | ||
| 77 | 78 | ||
| 78 | ### Mac | 79 | ### Mac |
| 79 | If you're using [homebrew,](http://brew.sh/) you can use the following commands: | 80 | If you're using [homebrew,](http://brew.sh/) you can use the following commands: |
| @@ -90,6 +91,10 @@ You can also try these instructions: | |||
| 90 | 2. Install the Command Line Tools from `Xcode->Preferences->Downloads`. | 91 | 2. Install the Command Line Tools from `Xcode->Preferences->Downloads`. |
| 91 | 3. Install [DFU-Programmer][dfu-prog]. | 92 | 3. Install [DFU-Programmer][dfu-prog]. |
| 92 | 93 | ||
| 94 | If you are going to flash Infinity based keyboards you will also need dfu-util | ||
| 95 | |||
| 96 | brew install dfu-util | ||
| 97 | |||
| 93 | ### Linux | 98 | ### Linux |
| 94 | 99 | ||
| 95 | To ensure you are always up to date, you can just run `sudo utils/install_dependencies.sh`. That should always install all the dependencies needed. | 100 | To ensure you are always up to date, you can just run `sudo utils/install_dependencies.sh`. That should always install all the dependencies needed. |
