Keyboard: Helix serial.c, split_scom.c bug fix and update (#4191)
* helix/serial.c add support PD1,PD3,PE6 and configuration simplify * Add comment about ATmega32U4 I2C * Add compile time check for ATmega32U4 I2C * change TAB code to 8 SPACE code * Helix serial.c PORTD,PD0 test. OK OK PD0 - PD1 OK PD2 - PD3 - PE6 * Helix serial.c PORTD,PD1 test. OK OK PD0 OK PD1 OK PD2 - PD3 - PE6 * Helix serial.c PORTD,PD3 test. OK OK PD0 OK PD1 OK PD2 OK PD3 - PE6 * Helix serial.c PORTE,PD6 test. OK OK PD0 OK PD1 OK PD2 OK PD3 OK PE6 * Helix serial.c: PD0,PD1,PD3,PE6 all test end * Helix serial.c: rename SOFT_SERIAL_PORT to SOFT_SERIAL_PIN * Helix serial.c add debug code * Helix serial.c: add transaction ID range check * Helix serial.c debug code update * Helix serial.c debug code update * Helix serial.c: Strict checking of the value of tid. * adjust the delay of serial.c * Helix serial.c: remove debug code * remove EXTRAFLAGS += -DCONSOLE_ENABLE from five_rows/rules.mk tmk_core/common.mk has >ifeq ($(strip $(CONSOLE_ENABLE)), yes) > TMK_COMMON_DEFS += -DCONSOLE_ENABLE * Fix error handling in split_scomm.c * add some comment to serial.c * add some comment about SELECT_SOFT_SERIAL_SPEED
This commit is contained in:
		
							parent
							
								
									fbc6bd8266
								
							
						
					
					
						commit
						4665e4ffff
					
				
					 8 changed files with 229 additions and 137 deletions
				
			
		| 
						 | 
				
			
			@ -1,16 +1,9 @@
 | 
			
		|||
#ifndef SOFT_SERIAL_CONFIG_H
 | 
			
		||||
#define SOFT_SERIAL_CONFIG_H
 | 
			
		||||
//// #error rev1/keymaps/OLED_sample serial config
 | 
			
		||||
 | 
			
		||||
#ifndef SOFT_SERIAL_PIN
 | 
			
		||||
/* Soft Serial defines */
 | 
			
		||||
#define SERIAL_PIN_DDR DDRD
 | 
			
		||||
#define SERIAL_PIN_PORT PORTD
 | 
			
		||||
#define SERIAL_PIN_INPUT PIND
 | 
			
		||||
#define SERIAL_PIN_MASK _BV(PD2)
 | 
			
		||||
#define SERIAL_PIN_INTERRUPT INT2_vect
 | 
			
		||||
#define SOFT_SERIAL_PIN D2
 | 
			
		||||
 | 
			
		||||
#define SERIAL_SLAVE_BUFFER_LENGTH MATRIX_ROWS/2
 | 
			
		||||
#define SERIAL_MASTER_BUFFER_LENGTH 0
 | 
			
		||||
 | 
			
		||||
//// #error rev1/keymaps/OLED_sample serial config
 | 
			
		||||
 | 
			
		||||
#endif /* SOFT_SERIAL_CONFIG_H */
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue