You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.8 KiB

  1. # xd002
  2. ![xd002](https://cdn.shopify.com/s/files/1/2711/4238/products/xd002_1024x1024.jpg?v=1522134411)
  3. 2% Custom mechanical keyboard. ATtiny85 powered, with 2*WS2812 LEDs, and the micronucleus bootloader.
  4. **Note**: Due to limited firmware space, a _**lot**_ of features have to be disabled to get a functioning QMK based keyboard.
  5. * Keyboard Maintainer: [zvecr](https://github.com/zvecr)
  6. * Hardware Supported: xd002
  7. * Hardware Availability: [kprepublic](https://kprepublic.com/products/xd002-xiudi-2-custom-mechanical-keyboard-2-keys-underglow-and-switch-rgb-pcb-programmed-hot-swappable-macro-key-aluminum-case)
  8. Make example for this keyboard (after setting up your build environment):
  9. make xiudi/xd002:default
  10. See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
  11. ## Flashing
  12. ### Prerequisites
  13. ```bash
  14. git clone https://github.com/micronucleus/micronucleus.git
  15. cd micronucleus/commandline/
  16. sudo make install
  17. ```
  18. On Linux, you’ll need proper privileges to access the MCU. You can either use sudo when flashing firmware, or place [these files](https://github.com/micronucleus/micronucleus/blob/master/commandline/49-micronucleus.rules) in /etc/udev/rules.d/. Once added run the following:
  19. ```bash
  20. sudo udevadm control --reload-rules
  21. sudo udevadm trigger
  22. ```
  23. ### Instructions
  24. **Reset Key**: Hold down key nearest to the USB socket while plugging in the keyboard.
  25. ```bash
  26. make xiudi/xd002:default:flash
  27. # or directly with...
  28. micronucleus --run <firmware.hex>
  29. ```
  30. ### Recovery
  31. * [Original Firmware](https://github.com/xiudi/Attiny85_vusb_pad_test)
  32. * [Bootloader Repair](https://digistump.com/wiki/digispark/tutorials/proisp)