qmk_firmware/docs
jorgemanzo 897888db41 Add CLI command for flashing a keyboard
A new CLI subcommand was added, flash, which behaves very similar to the already present compile CLI comamnd, but with the added ability to target a bootloader. The command is used like so: qmk flash [-h] [-b] [-kb KEYBOARD] [-km KEYMAP] [-bl BOOTLOADER] [filename].

A -kb <keyboard> and -km <keymap> is expected, or a configurator export JSON filename. A bootloader can be specified using -bl <target>, and if left unspecified, the target is assumed to be :flash. -bl can be used to list the available bootloaders.

If -km <keymap> is provided, but no -kb <keyboard>, then a message is printed suggesting the user to run qmk list_keyboards.
2019-11-15 23:06:07 -08:00
..
ChangeLog consistency 2019-08-30 15:01:52 -07:00
de [Docs] Translated "CLI" documentation to German (#7178) 2019-10-29 13:33:09 -07:00
es [Docs] Add Spanish translation for hardware documentation (#7161) 2019-10-31 12:39:50 -07:00
fr-fr French translation - FAQ section (#6995) 2019-11-03 08:02:44 -08:00
gitbook/images
he-il [Docs] Add he-IL (Hebrew) Translation (#7001) 2019-10-31 02:47:07 -07:00
ja [Docs] Japanese translation of docs/ja/newbs_best_practices.md (#7337) 2019-11-14 18:22:55 -08:00
ru-ru [Docs] Encourage newbs to not download the repo as a zip (#7353) 2019-11-14 11:37:18 -08:00
zh-cn [Docs] Replace Switch Hitter link with Wayback Machine link (#7009) 2019-10-15 23:21:05 +01:00
.nojekyll
_langs.md Japanese translation of newbs.md and related documents. (#7300) 2019-11-11 14:27:48 -08:00
_summary.md [Doc] Tidy up compatible MCUs docs (#7295) 2019-11-08 18:34:25 -08:00
arm_debugging.md Fixed typos in documentation (#6871) 2019-10-02 16:41:32 -04:00
becoming_a_qmk_collaborator.md
breaking_changes.md Update the breaking changes process so we always have a future branch (#6785) 2019-09-21 11:58:06 -07:00
cli.md Add CLI command for flashing a keyboard 2019-11-15 23:06:07 -08:00
cli_configuration.md Configuration system for CLI (#6708) 2019-09-22 13:25:33 -07:00
cli_development.md Configuration system for CLI (#6708) 2019-09-22 13:25:33 -07:00
CNAME
coding_conventions_c.md [Docs] Fix incorrect spacing on Coding Conventions page (#7058) 2019-10-18 16:59:03 -07:00
coding_conventions_python.md [Docs] Fix dunder names being accidentally bolded (#7217) 2019-10-30 21:56:59 -07:00
compatible_microcontrollers.md [Doc] Tidy up compatible MCUs docs (#7295) 2019-11-08 18:34:25 -08:00
config_options.md Unify RGB and RGBW commands (#7297) 2019-11-09 15:51:39 +00:00
contributing.md [Docs] Add an important note about modifying user code (#6959) 2019-10-07 14:50:10 -07:00
custom_quantum_functions.md New and improved lock LED callbacks (#7215) 2019-11-06 00:42:16 +00:00
documentation_best_practices.md
documentation_templates.md
driver_installation_zadig.md Add a short explanation to Zadig the troubleshooting section (#7110) 2019-10-22 14:05:33 +11:00
faq.md
faq_build.md Add Zadig 101 to docs (#6585) 2019-08-23 23:38:21 -07:00
faq_debug.md Remove superfluous JTAG disable code (#6445) 2019-08-20 22:18:52 -07:00
faq_general.md Remove unanswered/unnecessary FAQ item 2019-10-07 15:43:42 -07:00
faq_keymap.md Remove obsolete note about media keys in MacOS (#6631) 2019-10-30 10:39:38 +11:00
feature_advanced_keycodes.md fix typo 2019-07-01 15:32:59 +09:00
feature_audio.md Added keycodes for swapping and unswapping the Control and OS keys (#6110) 2019-08-21 17:07:08 -07:00
feature_auto_shift.md Smallish overhaul of Auto-Shift feature (#6067) 2019-11-03 09:52:01 -08:00
feature_backlight.md Initial migration of software PWM backlight (#6709) 2019-11-02 21:20:03 +00:00
feature_bluetooth.md Update feature_bluetooth.md (#7193) 2019-10-30 09:43:01 +11:00
feature_bootmagic.md ARM split - Add bootmagic/magic keycodes for setting handedness (#6545) 2019-09-24 15:24:12 +01:00
feature_combo.md Change "yu" to "you" in combo docs (#6510) 2019-08-08 18:10:16 +01:00
feature_command.md Update IS_COMMAND definitions to use MOD_MASK_SHIFT (#6348) 2019-07-20 13:21:40 -07:00
feature_debounce_type.md Update debounce docs (#7355) 2019-11-14 18:54:34 +00:00
feature_dip_switch.md Add Dip Switch as a core feature (#6140) 2019-09-03 08:34:31 -07:00
feature_dynamic_macros.md [Core] Convert Dynamic Macro to a Core Feature (#5948) 2019-11-04 22:59:13 -08:00
feature_encoders.md Add support for different encoder pinout for right half of split keyboard (#6521) 2019-08-16 16:46:41 -07:00
feature_grave_esc.md
feature_haptic_feedback.md Improvements to Solenoid feature (#7369) 2019-11-15 22:27:46 +00:00
feature_hd44780.md Remove build option firmware size impacts (#6947) 2019-10-18 18:14:49 -07:00
feature_key_lock.md update one shot keys link (#7020) 2019-10-14 01:26:03 +01:00
feature_layouts.md
feature_leader_key.md
feature_led_matrix.md
feature_macros.md [Docs] Update Super ALT↯TAB to remove use of unregister_code16 (#5766) 2019-05-04 09:46:44 -07:00
feature_mouse_keys.md Update mouse keys docs (#5653) 2019-04-19 23:18:06 -07:00
feature_oled_driver.md Adds raw write functions to the OLED driver (#7237) 2019-11-03 14:34:47 -08:00
feature_pointing_device.md
feature_ps2_mouse.md [Docs] Removed dead link (#6922) 2019-10-06 07:56:35 -07:00
feature_rgb_matrix.md ARM - ws2812 bitbang (#7173) 2019-11-07 13:10:29 +00:00
feature_rgblight.md ARM - ws2812 bitbang (#7173) 2019-11-07 13:10:29 +00:00
feature_space_cadet.md Added mod carry over from press to release. (#5866) 2019-07-06 21:00:05 -07:00
feature_split_keyboard.md Update split i2c docs for example of when pull-ups are required (#7143) 2019-10-28 18:10:25 +00:00
feature_stenography.md
feature_swap_hands.md
feature_tap_dance.md [Docs] removed unneeded line of code in Tap Dance documentation (#6981) 2019-10-08 22:01:56 -07:00
feature_terminal.md Remove build option firmware size impacts (#6947) 2019-10-18 18:14:49 -07:00
feature_thermal_printer.md
feature_unicode.md [Docs] Clarify the rules.mk setup for Unicode (#6286) 2019-07-11 11:33:55 -07:00
feature_userspace.md [Docs] Update flashing information to include :flash target (#6999) 2019-10-29 13:15:03 -07:00
feature_velocikey.md
features.md Add Dip Switch as a core feature (#6140) 2019-09-03 08:34:31 -07:00
flashing.md [Docs] Update flashing information to include :flash target (#6999) 2019-10-29 13:15:03 -07:00
flashing_bootloadhid.md Add 'bootloadHID' flash target (#5587) 2019-08-24 08:35:11 -07:00
fuse.txt
getting_started_build_tools.md [Docs] Encourage newbs to not download the repo as a zip (#7353) 2019-11-14 11:37:18 -08:00
getting_started_getting_help.md
getting_started_github.md
getting_started_introduction.md [Docs] Update getting_started_introduction.md (#6037) 2019-05-31 14:44:27 -07:00
getting_started_make_guide.md [Docs] Update flashing information to include :flash target (#6999) 2019-10-29 13:15:03 -07:00
getting_started_vagrant.md [Docs] Update getting_started_vagrant.md (#7203) 2019-10-30 11:53:48 -07:00
hand_wire.md [Docs] Fixed internal links on Handwire page (#7154) 2019-10-25 18:16:17 -07:00
hardware.md
hardware_avr.md Remove apostrophe from various abbreviations' plural forms (#7050) 2019-10-22 13:47:43 +01:00
hardware_drivers.md ARM - ws2812 bitbang (#7173) 2019-11-07 13:10:29 +00:00
hardware_keyboard_guidelines.md Fixed typos in documentation (#6871) 2019-10-02 16:41:32 -04:00
how_keyboards_work.md Update URL for 60-keyboard.hwdb (#7185) 2019-10-28 02:41:22 +00:00
i2c_driver.md [Docs] Update i2c_driver.md (#6665) 2019-09-03 10:09:58 -07:00
index.html Japanese translation of newbs.md and related documents. (#7300) 2019-11-11 14:27:48 -08:00
internals_defines.md
internals_gpio_control.md [Docs] Add AVR and ARM examples to GPIO Commands (#6942) 2019-10-07 19:08:14 -07:00
internals_input_callback_reg.md
internals_midi_device.md
internals_midi_device_setup_process.md
internals_midi_util.md
internals_send_functions.md
internals_sysex_tools.md
isp_flashing_guide.md
keycodes.md [Core] Convert Dynamic Macro to a Core Feature (#5948) 2019-11-04 22:59:13 -08:00
keycodes_basic.md Remove obsolete note about media keys in MacOS (#6631) 2019-10-30 10:39:38 +11:00
keycodes_us_ansi_shifted.md Backslash-escape pipe character in keycode lists (#7157) 2019-10-26 06:10:03 +01:00
keymap.md
newbs.md
newbs_best_practices.md
newbs_building_firmware.md [Docs] Clean up docs/newbs_building_firmware.md (#6930) 2019-10-07 20:08:05 -07:00
newbs_building_firmware_configurator.md Update YouTube URL 2019-07-29 10:12:22 -07:00
newbs_flashing.md [Docs] Update flashing information to include :flash target (#6999) 2019-10-29 13:15:03 -07:00
newbs_getting_started.md
newbs_learn_more_resources.md
newbs_testing_debugging.md [Docs] Replace Switch Hitter link with Wayback Machine link (#7009) 2019-10-15 23:21:05 +01:00
other_eclipse.md
other_vscode.md
porting_your_keyboard_to_qmk_(arm_and_other_chibios_cpus).md Improve backlight PWM pin support (#6202) 2019-08-08 13:12:12 -07:00
power.txt
proton_c_conversion.md Use task driven PWM for CTPC until ARM can provide automatic configuration (#6928) 2019-11-02 21:21:00 +00:00
qmk.css
quantum_keycodes.md Added check for event pressed to clear space cadet (#5839) 2019-05-11 22:20:14 -07:00
README.md [Docs] Encourage newbs to not download the repo as a zip (#7353) 2019-11-14 11:37:18 -08:00
redirects.json Configuration system for CLI (#6708) 2019-09-22 13:25:33 -07:00
ref_functions.md Additional changes for Layer State typedef compatibility (#5906) 2019-08-21 17:07:49 -07:00
reference_configurator_support.md Update reference_configurator_support.md 2019-05-31 11:54:01 -07:00
reference_glossary.md Remove apostrophe from various abbreviations' plural forms (#7050) 2019-10-22 13:47:43 +01:00
reference_info_json.md
sidebar.css
support.md
sw.js
translating.md Expose zh-cn docs, delete bad zh docs, add docs for adding translations (#6855) 2019-10-01 13:51:23 -04:00
understanding_qmk.md Remove apostrophe from various abbreviations' plural forms (#7050) 2019-10-22 13:47:43 +01:00
unit_testing.md
usb_nkro.txt
ws2812_driver.md ARM - ws2812 bitbang (#7173) 2019-11-07 13:10:29 +00:00

Quantum Mechanical Keyboard Firmware

Current Version Build Status Discord Docs Status GitHub contributors GitHub forks

What is QMK Firmware?

QMK (Quantum Mechanical Keyboard) is an open source community that maintains QMK Firmware, QMK Toolbox, qmk.fm, and these docs. QMK Firmware is a keyboard firmware based on the tmk_keyboard with some useful features for Atmel AVR controllers, and more specifically, the OLKB product line, the ErgoDox EZ keyboard, and the Clueboard product line. It has also been ported to ARM chips using ChibiOS. You can use it to power your own hand-wired or custom keyboard PCB.

How to Get It

If you plan on contributing a keymap, keyboard, or features to QMK, the easiest thing to do is fork the repo through Github, and clone your repo locally to make your changes, push them, then open a Pull Request from your fork.

Otherwise, you can clone it directly with git clone https://github.com/qmk/qmk_firmware. Do not download the zip or tar files; a git repository is required to download the submodules in order to compile.

How to Compile

Before you are able to compile, you'll need to install an environment for AVR or/and ARM development. Once that is complete, you'll use the make command to build a keyboard and keymap with the following notation:

make planck/rev4:default

This would build the rev4 revision of the planck with the default keymap. Not all keyboards have revisions (also called subprojects or folders), in which case, it can be omitted:

make preonic:default

How to Customize

QMK has lots of features to explore, and a good deal of reference documentation to dig through. Most features are taken advantage of by modifying your keymap, and changing the keycodes.