Skip to content

Commit

Permalink
The Key Company project consolidation (qmk#9547)
Browse files Browse the repository at this point in the history
* Consolidate TKC projects and increase VIA keymap count to 4.

* Updated readme files.

* Removed config.h via limitation of 2 dynamic keymaps

* Reduce dynamic keymaps from 4 to 3 due to EEPROM space limitations.

* Update dynamic_keymap.c

* Restore 4 dynamic keymaps for VIA in TKC projects.

* Update quantum/dynamic_keymap.c
  • Loading branch information
TerryMathews authored and noroadsleft committed Aug 29, 2020
1 parent 0297d18 commit 1d7150a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion quantum/dynamic_keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@
// Explicitly override it if the keyboard uses a microcontroller with
// more EEPROM *and* it makes sense to increase it.
#ifndef DYNAMIC_KEYMAP_EEPROM_MAX_ADDR
# define DYNAMIC_KEYMAP_EEPROM_MAX_ADDR 1023
# if defined(__AVR_AT90USB646__) || defined(__AVR_AT90USB647__) || defined(__AVR_AT90USB1286__) || defined(__AVR_AT90USB1287__)
# define DYNAMIC_KEYMAP_EEPROM_MAX_ADDR 2047
# else
# define DYNAMIC_KEYMAP_EEPROM_MAX_ADDR 1023
# endif
#endif

// If DYNAMIC_KEYMAP_EEPROM_ADDR not explicitly defined in config.h,
Expand Down

0 comments on commit 1d7150a

Please sign in to comment.