Skip to content

Commit

Permalink
Add storage hal definitions for Kinesis 110 variant
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisandreae committed Mar 21, 2018
1 parent b4bd5f3 commit bb06881
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions hardware/kinesis110.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,19 @@
// configuration program over USB to identify the layout.
#define LAYOUT_ID 1

/* Storage layout */
#define CONSTANT_STORAGE avr_pgm
#define MAPPING_STORAGE avr_eeprom
#define SAVED_MAPPING_STORAGE avr_eeprom
#define SAVED_MAPPING_COUNT 256 // 2-byte entries
#define MACRO_INDEX_STORAGE avr_eeprom
#define MACRO_INDEX_COUNT 50 // 6-byte entries
#define MACROS_STORAGE i2c_eeprom
#define MACROS_SIZE 1024
#define PROGRAM_STORAGE i2c_eeprom
#define PROGRAM_SIZE 1024
#define PROGRAM_COUNT 6

/* Kinesis Matrix */

#define NUM_PHYSICAL_KEYS 86
Expand Down

0 comments on commit bb06881

Please sign in to comment.