Userspace updates (#11841)
* enable LTO for smaller firmware size * delete since this was added to userspace rules.mk * readme updates and new images * Add -j to compile and flash commands in userpsace * Enable NKRO * Enable NKRO, VIA, LTO by default * Stanrc85-ansi readme update * Stanrc85-alice readme * quick RGB layer indicator fix in keymap
This commit is contained in:
		
							parent
							
								
									0aed8746be
								
							
						
					
					
						commit
						7ef4aba52c
					
				
					 8 changed files with 98 additions and 34 deletions
				
			
		|  | @ -2,6 +2,7 @@ | |||
| 
 | ||||
| #define TAPPING_TERM 250 | ||||
| #define RETRO_TAPPING | ||||
| #define FORCE_NKRO | ||||
| 
 | ||||
| #ifdef RGBLIGHT_ENABLE | ||||
|   #define RGBLIGHT_LAYERS | ||||
|  |  | |||
|  | @ -1,4 +1,4 @@ | |||
| <!-- Copyright 2019 Stanrc85 | ||||
| <!-- Copyright 2021 Stanrc85 | ||||
| 
 | ||||
| This program is free software: you can redistribute it and/or modify | ||||
| it under the terms of the GNU General Public License as published by | ||||
|  | @ -13,11 +13,12 @@ GNU General Public License for more details. | |||
| You should have received a copy of the GNU General Public License | ||||
| along with this program.  If not, see <http://www.gnu.org/licenses/>.--> | ||||
| 
 | ||||
| # Stanrc85's Standard ANSI 60% Layout | ||||
| # Stanrc85's Standard Layout | ||||
| 
 | ||||
| Shared keymap between two 60% PCB: | ||||
| Shared keymap between 60%, 65%, Alice layouts: | ||||
| - 1upkeyboards60HSE | ||||
| - DZ60 (hotswap) | ||||
| - Mark65 | ||||
| - Sneakbox Alice | ||||
| 
 | ||||
| ## Keymap Notes | ||||
| - Layer 0 is default QWERTY layout with additional custom features: | ||||
|  | @ -26,12 +27,12 @@ Shared keymap between two 60% PCB: | |||
|     - Tap Dance on `Fn1` for `CTRL+ALT+DEL` and `WIN+L` | ||||
|     - Tap Dance on `ESC` for `ESC` and  ` ` `  | ||||
| 
 | ||||
|  | ||||
|  | ||||
| 
 | ||||
| - Layer 1 is default QWERTY with no custom features used mostly for gaming | ||||
|     - Enabled by `Fn2+CAPS` from base layer | ||||
|     - Enabled by `Fn2+RCTL` from base layer | ||||
| 
 | ||||
|  | ||||
|  | ||||
| 
 | ||||
| - Layer 2 is Function layer: | ||||
|     - F keys | ||||
|  | @ -41,12 +42,16 @@ Shared keymap between two 60% PCB: | |||
|         - AHK Mic is used to mute/unmute microphone | ||||
|         - AHK Speaker switches audio output between headphones and speakers | ||||
| 
 | ||||
|  | ||||
|  | ||||
| 
 | ||||
| - Layer 3 is RGB Underglow control and RESET | ||||
|     - `Fn2+CAPS` used to toggle Default QWERTY layer on and off | ||||
|     - `Fn2+RCTL` used to toggle Default QWERTY layer on and off | ||||
|     - `qmk compile` command on `Fn2+Enter` | ||||
|     - `qmk flash` command on `Fn2+Shift+enter` | ||||
| 
 | ||||
|  | ||||
| 
 | ||||
| 
 | ||||
|  | ||||
| 
 | ||||
| ### Build | ||||
| To build the firmware file associated with this keymap, simply run `make your_keyboard:stanrc85-ansi`. | ||||
| To build the firmware file associated with this keymap, simply run `make your_keyboard:stanrc85-ansi` or `make your_keyboard:stanrc85-alice`. | ||||
|  |  | |||
|  | @ -6,7 +6,9 @@ BOOTMAGIC_ENABLE = no | |||
| MOUSEKEY_ENABLE = no | ||||
| AUDIO_ENABLE = no | ||||
| CONSOLE_ENABLE = no | ||||
| NKRO_ENABLE = no | ||||
| NKRO_ENABLE = yes | ||||
| LTO_ENABLE = yes | ||||
| VIA_ENABLE = yes | ||||
| 
 | ||||
| SRC += stanrc85.c | ||||
| 
 | ||||
|  | @ -14,8 +16,6 @@ ifeq ($(strip $(KEYBOARD)), projectkb/alice/rev2) | |||
|   SRC += rgblight_layers.c | ||||
|   SRC += startup_fanfare.c | ||||
|   OPT_DEFS += -DHAS_INDICATORS | ||||
|   VIA_ENABLE = yes | ||||
|   LTO_ENABLE = no | ||||
|   VELOCIKEY_ENABLE=yes | ||||
| endif | ||||
| ifeq ($(strip $(KEYBOARD)), sneakbox/aliceclone) | ||||
|  | @ -23,13 +23,9 @@ ifeq ($(strip $(KEYBOARD)), sneakbox/aliceclone) | |||
|   SRC += startup_fanfare.c | ||||
|   OPT_DEFS += -DHAS_INDICATORS | ||||
|   OPT_DEFS += -DHAS_ROTARY | ||||
|   VIA_ENABLE = yes | ||||
|   LTO_ENABLE = no | ||||
| endif | ||||
| ifeq ($(strip $(KEYBOARD)), tkc/osav2) | ||||
|   SRC += rgblight_layers_osa.c | ||||
|   VIA_ENABLE = yes | ||||
|   LTO_ENABLE = no | ||||
|   VELOCIKEY_ENABLE=yes | ||||
| endif | ||||
| ifeq ($(strip $(KEYBOARD)), boardsource/the_mark) | ||||
|  |  | |||
|  | @ -109,11 +109,11 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
|       uint8_t mods = get_mods(); | ||||
|       clear_mods(); | ||||
|         if (mods & MOD_MASK_SHIFT) { | ||||
|           send_string_with_delay_P(PSTR("qmk flash -kb " QMK_KEYBOARD " -km " QMK_KEYMAP "\n"), 10); //New way
 | ||||
|           send_string_with_delay_P(PSTR("qmk flash -j 6 -kb " QMK_KEYBOARD " -km " QMK_KEYMAP "\n"), 10); //New way
 | ||||
|           reset_keyboard(); | ||||
|         } | ||||
|         else | ||||
|           send_string_with_delay_P(PSTR("qmk compile -kb " QMK_KEYBOARD " -km " QMK_KEYMAP "\n"), 10); //New way
 | ||||
|           send_string_with_delay_P(PSTR("qmk compile -j 6 -kb " QMK_KEYBOARD " -km " QMK_KEYMAP "\n"), 10); //New way
 | ||||
|       set_mods(mods); | ||||
|       } | ||||
|     break; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 stanrc85
						stanrc85