forked from mirrors/qmk_userspace
		
	add 'info_config.h' into docs/hardware_keyboard_guidelines.md (#16247)
Added info_config.h added in #10817 to the include order description of config.h.
This commit is contained in:
		
					parent
					
						
							
								14f886d03b
							
						
					
				
			
			
				commit
				
					
						87199eb2f5
					
				
			
		
					 2 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -74,7 +74,7 @@ Whenever QMK generates a complete `info.json` it extracts information from `conf
 | 
			
		|||
 | 
			
		||||
If you are not sure how to edit this file or are not comfortable with Python [open an issue](https://github.com/qmk/qmk_firmware/issues/new?assignees=&labels=cli%2C+python&template=other_issues.md&title=) or [join #cli on Discord](https://discord.gg/heQPAgy) and someone can help you with this part.
 | 
			
		||||
 | 
			
		||||
### Add code to generate it
 | 
			
		||||
### Add code to generate it :id=add-code-to-generate-it
 | 
			
		||||
 | 
			
		||||
The final piece of the puzzle is providing your new option to the build system. This is done by generating two files:
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -87,6 +87,7 @@ The `config.h` files can also be placed in sub-folders, and the order in which t
 | 
			
		|||
    * `keyboards/top_folder/sub_1/sub_2/config.h`
 | 
			
		||||
      * `keyboards/top_folder/sub_1/sub_2/sub_3/config.h`
 | 
			
		||||
        * `keyboards/top_folder/sub_1/sub_2/sub_3/sub_4/config.h`
 | 
			
		||||
          * [`.build/objs_<keyboard>/src/info_config.h`](data_driven_config.md#add-code-to-generate-it) see [Data Driven Configuration](data_driven_config.md)
 | 
			
		||||
          * `users/a_user_folder/config.h`
 | 
			
		||||
          * `keyboards/top_folder/keymaps/a_keymap/config.h`
 | 
			
		||||
        * `keyboards/top_folder/sub_1/sub_2/sub_3/sub_4/post_config.h`
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue