keychron_qmk_firmware/keyboards/annepro2
James Young 7d60a141a2
Anne Pro 2 Refactor (#16864)
* move RGB Matrix rules to keyboard level

* move PERMISSIVE_HOLD config to keyboard level

* annepro2.c: convert tabs to spaces

* refactor rules.mk files

Reformats each version's `rules.mk` file to be arranged more similarly to those of the rest of the keyboards in QMK.

No logic change.

* annepro2.c: allow compilation without RGB Matrix

Wraps the `led_enabled` definition and the `KC_AP_RGB_*` keycodes in `#ifdef RGB_MATRIX_ENABLE`, allowing successful compilation if the user sets `RGB_MATRIX_ENABLE = no`.

* rework readme files

Reworks the main `readme.md` file to be more friendly to GitHub viewing, and removes the single-line version-specific readme files (exposes the main readme to QMK Configurator users).

* info.json: update maintainer value

* info.json: apply friendly formatting
2022-04-17 12:53:59 -07:00
..
boards
c15 Anne Pro 2 Refactor (#16864) 2022-04-17 12:53:59 -07:00
c18 Anne Pro 2 Refactor (#16864) 2022-04-17 12:53:59 -07:00
keymaps Anne Pro 2 Refactor (#16864) 2022-04-17 12:53:59 -07:00
ld
annepro2_ble.c
annepro2_ble.h
annepro2.c Anne Pro 2 Refactor (#16864) 2022-04-17 12:53:59 -07:00
annepro2.h [Keyboard] annepro2: match default keymap to stock keycaps (#16724) 2022-04-13 07:24:38 -07:00
ap2_led.c
ap2_led.h
chconf.h
config_led.c
config_led.h
halconf.h
info.json Anne Pro 2 Refactor (#16864) 2022-04-17 12:53:59 -07:00
matrix.c
mcuconf.h
protocol.c
protocol.h
readme.md Anne Pro 2 Refactor (#16864) 2022-04-17 12:53:59 -07:00
rgb_driver.c

Anne Pro 2 rev. C15 and C18 QMK firmware

An ANSI-layout 60% keyboard featuring Bluetooth support and per-key RGB lighting.

How to compile

After setting up your build environment, you can compile the Anne Pro 2 C18 default keymap by using:

make annepro2/c18:default

If you want to compile the Anne Pro 2 C15 default keymap use:

make annepro2/c15:default

Installing

Get AnnePro2 Tools

If you want the executable instead of compiling it yourself, download it here. Windows and Linux versions are available. Otherwise, follow the steps below:

  1. Install the latest stable rust toolchain using rustup
  2. Also install Visual Studio Community edition including the C/C++ module to prevent errors while compiling
  3. Download or Clone the AnnePro2-Tools project.
  4. Compile the tool using
    cargo build --release
    
    The compiled tool should be in ./target/release/annepro2_tools (In later I will refer to this as annepro2_tools)

Flashing the firmware

  1. Put the keyboard into DFU/IAP mode by unplugging the keyboard, then holding ESC while plugging it back in.
  2. Run annepro2_tools with the firmware you just built.
    Please substitute with the correct paths and correct bin file if you chose another keymap profile.
    annepro2_tools annepro2_c15_default.bin
    

If the tool can't find the keyboard please double check you have the keyboard in IAP mode.

See the build environment setup and the make instructions for more information. Brand new to QMK? Start with our Complete Newbs Guide.