Setup a python test framework
This commit is contained in:
		
							parent
							
								
									4d339b7b5d
								
							
						
					
					
						commit
						5b7a5b2a76
					
				
					 15 changed files with 130 additions and 11 deletions
				
			
		
							
								
								
									
										23
									
								
								keyboards/handwired/onekey/pytest/config.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								keyboards/handwired/onekey/pytest/config.h
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,23 @@
 | 
			
		|||
/* Copyright 2019
 | 
			
		||||
 *
 | 
			
		||||
 * 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
 | 
			
		||||
 * the Free Software Foundation, either version 2 of the License, or
 | 
			
		||||
 * (at your option) any later version.
 | 
			
		||||
 *
 | 
			
		||||
 * This program is distributed in the hope that it will be useful,
 | 
			
		||||
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
			
		||||
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | 
			
		||||
 * 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/>.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#include "config_common.h"
 | 
			
		||||
 | 
			
		||||
#define MATRIX_COL_PINS { A3 }
 | 
			
		||||
#define MATRIX_ROW_PINS { A2 }
 | 
			
		||||
#define UNUSED_PINS
 | 
			
		||||
							
								
								
									
										3
									
								
								keyboards/handwired/onekey/pytest/readme.md
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								keyboards/handwired/onekey/pytest/readme.md
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,3 @@
 | 
			
		|||
# PyTest onekey
 | 
			
		||||
 | 
			
		||||
This is used by the python test framework. It's probably not useful otherwise.
 | 
			
		||||
							
								
								
									
										2
									
								
								keyboards/handwired/onekey/pytest/rules.mk
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								keyboards/handwired/onekey/pytest/rules.mk
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,2 @@
 | 
			
		|||
# MCU name
 | 
			
		||||
MCU = STM32F303
 | 
			
		||||
							
								
								
									
										1
									
								
								keyboards/handwired/onekey/pytest/templates/keymap.c
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								keyboards/handwired/onekey/pytest/templates/keymap.c
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {__KEYMAP_GOES_HERE__};
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue