qmk-firmware/keyboards/minidox
That-Canadian 26650731d1 Added "EECONFIG_HANDEDNESS" to the eeconfig.h , because when RGB was enabled it was overwritting the old EECONFIG_HANDEDNESS address (10), so it is now on a non-conflicting addres (14).
Updated MiniDox split_util.h and eeprom files to reflect this change.

I recommend adding this to any split board that used these files, my changes will not effect them currently.
2017-08-13 14:24:04 -04:00
..
keymaps Changed my personal keymap and config. 2017-08-07 07:49:43 -04:00
rev1 Updated i2c and serial files to most recent from the lets split firmware. Also updated that_canadian keymap 2017-07-14 21:24:58 -04:00
config.h Adds Minidox Keyboard (#1487) 2017-07-10 20:15:08 -04:00
eeprom-lefthand.eep Added "EECONFIG_HANDEDNESS" to the eeconfig.h , because when RGB was enabled it was overwritting the old EECONFIG_HANDEDNESS address (10), so it is now on a non-conflicting addres (14). 2017-08-13 14:24:04 -04:00
eeprom-righthand.eep Added "EECONFIG_HANDEDNESS" to the eeconfig.h , because when RGB was enabled it was overwritting the old EECONFIG_HANDEDNESS address (10), so it is now on a non-conflicting addres (14). 2017-08-13 14:24:04 -04:00
i2c.c Adds Minidox Keyboard (#1487) 2017-07-10 20:15:08 -04:00
i2c.h Updated i2c and serial files to most recent from the lets split firmware. Also updated that_canadian keymap 2017-07-14 21:24:58 -04:00
Makefile Adds Minidox Keyboard (#1487) 2017-07-10 20:15:08 -04:00
matrix.c Updated i2c and serial files to most recent from the lets split firmware. Also updated that_canadian keymap 2017-07-14 21:24:58 -04:00
minidox.c Adds Minidox Keyboard (#1487) 2017-07-10 20:15:08 -04:00
minidox.h Adds Minidox Keyboard (#1487) 2017-07-10 20:15:08 -04:00
pro_micro.h Adds Minidox Keyboard (#1487) 2017-07-10 20:15:08 -04:00
readme.md Fix location of where the make command should be run 2017-08-03 20:56:21 -04:00
rules.mk Adds Minidox Keyboard (#1487) 2017-07-10 20:15:08 -04:00
serial.c Adds Minidox Keyboard (#1487) 2017-07-10 20:15:08 -04:00
serial.h Adds Minidox Keyboard (#1487) 2017-07-10 20:15:08 -04:00
split_util.c Updated i2c and serial files to most recent from the lets split firmware. Also updated that_canadian keymap 2017-07-14 21:24:58 -04:00
split_util.h Added "EECONFIG_HANDEDNESS" to the eeconfig.h , because when RGB was enabled it was overwritting the old EECONFIG_HANDEDNESS address (10), so it is now on a non-conflicting addres (14). 2017-08-13 14:24:04 -04:00

MiniDox

MiniDox

A compact version of the ErgoDox

Keyboard Maintainer: That-Canadian Hardware Supported: MiniDox PCB rev1 Pro Micro

Make example for this keyboard (after setting up your build environment):

make minidox-rev1-default

See build environment setup then the make instructions for more information.

Build Guide

A build guide for putting together the MiniDox v1 can be found here: MiniDox Build Log / Guide

Flashing

Note: Most of this is copied from the Let's Split readme, because it is awesome

From the minidox directory run make SUBPROJECT-KEYMAP-avrdude for automatic serial port resolution and flashing. Example: make rev1-default-avrdude

Choosing which board to plug the USB cable into (choosing Master)

Because the two boards are identical, the firmware has logic to differentiate the left and right board.

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.

The EEPROM approach requires additional setup (flashing the eeeprom) but allows you to swap the usb cable to either side.

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.

Setting the left hand as master

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.

Setting the right hand as master

If you always plug the usb cable into the right board, add an extra flag to your config.h

 #define MASTER_RIGHT

Setting EE_hands to use either hands as master

If you define EE_HANDS in your config.h, you will need to set the EEPROM for the left and right halves.

The EEPROM is used to store whether the half is left handed or right handed. This makes it so that the same firmware file will run on both hands instead of having to flash left and right handed versions of the firmware to each half. To flash the EEPROM file for the left half run:

avrdude -p atmega32u4 -P $(COM_PORT) -c avr109 -U eeprom:w:eeprom-lefthand.eep
// or the equivalent in dfu-programmer

and similarly for right half

avrdude -p atmega32u4 -P $(COM_PORT) -c avr109 -U eeprom:w:eeprom-righhand.eep
// or the equivalent in dfu-programmer

NOTE: replace $(COM_PORT) with the port of your device (e.g. /dev/ttyACM0)

After you have flashed the EEPROM, you then need to set EE_HANDS in your config.h, rebuild the hex files and reflash.

Note that you need to program both halves, but you have the option of using different keymaps for each half. You could program the left half with a QWERTY layout and the right half with a Colemak layout using bootmagic's default layout option. Then if you connect the left half to a computer by USB the keyboard will use QWERTY and Colemak when the right half is connected.