aboutsummaryrefslogtreecommitdiff
path: root/users/drashna/readme.md
diff options
context:
space:
mode:
Diffstat (limited to 'users/drashna/readme.md')
-rw-r--r--users/drashna/readme.md22
1 files changed, 21 insertions, 1 deletions
diff --git a/users/drashna/readme.md b/users/drashna/readme.md
index 79758e7e5..ddf24b24f 100644
--- a/users/drashna/readme.md
+++ b/users/drashna/readme.md
@@ -162,7 +162,7 @@ This tells us where in the EEPROM that the data structure is located, and this s
162 162
163```c 163```c
164typedef union { 164typedef union {
165 uint32_t raw; 165 uint8_t raw;
166 struct { 166 struct {
167 bool clicky_enable :1; 167 bool clicky_enable :1;
168 bool is_overwatch :1; 168 bool is_overwatch :1;
@@ -174,3 +174,23 @@ Then, in your C file, you want to add: `userspace_config_t userspace_config;`, a
174From there, you'd want to use the data structure (such as `userspace_config.is_overwatch`) when you want to check this value. 174From there, you'd want to use the data structure (such as `userspace_config.is_overwatch`) when you want to check this value.
175 175
176And if you want to update it, update directly and then use `eeprom_update_byte(EECONFIG_USERSPACE, userspace_config.raw);` to write the value back to the EEPROM. 176And if you want to update it, update directly and then use `eeprom_update_byte(EECONFIG_USERSPACE, userspace_config.raw);` to write the value back to the EEPROM.
177
178
179Pro Micro Hacking
180-----------------
181
182Well, you can get the QMK DFU bootloader working on the ProMicro. But you need to change fuses.
183
184What worked to get into the firmware properly was:
185
186```
187Low: 0x5E High: 0x99 Extended: 0xF3 Lock: 0xFF
188```
189
190But some of the columns and rows didn't work, like the pin mapping was wrong. Even when setting the bootloader settings.
191
192 This is here for future reference. And the default fuse settings I believe were:
193
194```
195Low: 0xFF High: 0xD8 Extended: 0xC3 Lock: 0x3F
196```