forked from xuos/xiuos
				
			xiuos\APP_Framework\Framework\connection\bluetooth:
1.modify the Kconfig file
This commit is contained in:
		
							parent
							
								
									50b40bcf1f
								
							
						
					
					
						commit
						1293577e93
					
				| 
						 | 
					@ -55,9 +55,30 @@ if ADD_NUTTX_FETURES
 | 
				
			||||||
endif
 | 
					endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if ADD_RTTHREAD_FETURES
 | 
					if ADD_RTTHREAD_FETURES
 | 
				
			||||||
        config ADAPTER_HC08_DRIVER
 | 
					         config ADAPTER_HC08_RECV_BUFFER_SIZE
 | 
				
			||||||
                string "HC08 device uart driver path"
 | 
					                int "HC08 recv data buffer size"
 | 
				
			||||||
                default "/dev/uart4"
 | 
					                default "128"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        config ADAPTER_HC08_WORK_ROLE
 | 
					        config ADAPTER_HC08_WORK_ROLE
 | 
				
			||||||
                string "HC08 work role M(MASTER) or S(SLAVER)"
 | 
					                string "HC08 work role M(MASTER) or S(SLAVER)"
 | 
				
			||||||
 | 
					                default "M"
 | 
				
			||||||
 | 
					        
 | 
				
			||||||
 | 
					        config ADAPTER_HC08_DRIVER_EXTUART
 | 
				
			||||||
 | 
					                bool "Using extra uart to support bluetooth"
 | 
				
			||||||
 | 
					                default n
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        config ADAPTER_HC08_DRIVER
 | 
				
			||||||
 | 
					                string "HC08 device uart driver path"
 | 
				
			||||||
 | 
					                default "/dev/dev2"
 | 
				
			||||||
 | 
					                depends on !ADAPTER_HC08_DRIVER_EXTUART
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        if ADAPTER_HC08_DRIVER_EXTUART                    
 | 
				
			||||||
 | 
					                config ADAPTER_HC08_DRIVER
 | 
				
			||||||
 | 
					                        string "HC08 device extra uart driver path"
 | 
				
			||||||
 | 
					                        default "/dev/dev2"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                config ADAPTER_HC08_DRIVER_EXT_PORT
 | 
				
			||||||
 | 
					                        int "if HC08 device using extuart, choose port"
 | 
				
			||||||
 | 
					                        default "2"
 | 
				
			||||||
 | 
					        endif
 | 
				
			||||||
endif
 | 
					endif
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue