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.

71 lines
3.0 KiB

  1. not_so_minidox
  2. =====
  3. ![not_so_minidox]()
  4. A slightly larger version of the MiniDox
  5. Keyboard Maintainer: mtdjr
  6. Hardware Supported: None yet/ProMicro
  7. Make example for this keyboard (after setting up your build environment):
  8. make not_so_minidox/rev1:default
  9. See [build environment setup](https://docs.qmk.fm/build_environment_setup.html) then the [make instructions](https://docs.qmk.fm/make_instructions.html) for more information.
  10. Flashing
  11. -------
  12. Note: Most of this is copied from the Let's Split readme, because it is awesome
  13. From the root directory run `make PROJECT:KEYMAP:avrdude` for automatic serial port resolution and flashing.
  14. Example: `make not_so_minidox/rev1:default:avrdude`
  15. Choosing which board to plug the USB cable into (choosing Master)
  16. --------
  17. Because the two boards are identical, the firmware has logic to differentiate the left and right board.
  18. It uses two strategies to figure things out: look at the EEPROM (memory on the chip) or looks if the current board has the usb cable.
  19. The EEPROM approach requires additional setup (flashing the eeeprom) but allows you to swap the usb cable to either side.
  20. The USB cable approach is easier to setup and if you just want the usb cable on the left board, you do not need to do anything extra.
  21. ### Setting the left hand as master
  22. If you always plug the usb cable into the left board, nothing extra is needed as this is the default. Comment out `EE_HANDS` and comment out `I2C_MASTER_RIGHT` or `MASTER_RIGHT` if for some reason it was set.
  23. ### Setting the right hand as master
  24. If you always plug the usb cable into the right board, add an extra flag to your `config.h`
  25. ```
  26. #define MASTER_RIGHT
  27. ```
  28. ### Setting EE_hands to use either hands as master
  29. If you define `EE_HANDS` in your `config.h`, you will need to set the
  30. EEPROM for the left and right halves.
  31. The EEPROM is used to store whether the
  32. half is left handed or right handed. This makes it so that the same firmware
  33. file will run on both hands instead of having to flash left and right handed
  34. versions of the firmware to each half. To flash the EEPROM file for the left
  35. half run:
  36. ```
  37. avrdude -p atmega32u4 -P $(COM_PORT) -c avr109 -U eeprom:w:"./quantum/split_common/eeprom-lefthand.eep"
  38. // or the equivalent in dfu-programmer
  39. ```
  40. and similarly for right half
  41. ```
  42. avrdude -p atmega32u4 -P $(COM_PORT) -c avr109 -U eeprom:w:"./quantum/split_common/eeprom-righthand.eep"
  43. // or the equivalent in dfu-programmer
  44. ```
  45. NOTE: replace `$(COM_PORT)` with the port of your device (e.g. `/dev/ttyACM0`)
  46. After you have flashed the EEPROM, you then need to set `EE_HANDS` in your config.h, rebuild the hex files and reflash.
  47. Note that you need to program both halves, but you have the option of using
  48. different keymaps for each half. You could program the left half with a QWERTY
  49. layout and the right half with a Colemak layout using bootmagic's default layout option.
  50. Then if you connect the left half to a computer by USB the keyboard will use QWERTY and Colemak when the
  51. right half is connected.