46 lines
		
	
	
		
			832 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
		
			832 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
menu "SX127X Driver Configuration"
 | 
						|
 | 
						|
config SX127X_TASK_STACK_SIZE
 | 
						|
	int "Task stack size"
 | 
						|
	range 1024 32768
 | 
						|
	default 2048
 | 
						|
 | 
						|
config SX127X_TASK_PRIORITY
 | 
						|
	int "Task priority"
 | 
						|
	range 1 25
 | 
						|
	default 3
 | 
						|
 | 
						|
config SX127X_RX_QUEUE_LEN
 | 
						|
	int "Receive queue length"
 | 
						|
	range 1 255
 | 
						|
	default 8
 | 
						|
 | 
						|
config SX127X_TX_QUEUE_LEN
 | 
						|
	int "Transmit queue length"
 | 
						|
	range 1 255
 | 
						|
	default 8
 | 
						|
 | 
						|
config SX127X_SPI_CLOCK_HZ
 | 
						|
	int "SPI clock rate in hz"
 | 
						|
	range 8000000 80000000
 | 
						|
	default 8000000
 | 
						|
 | 
						|
config SX127X_SPI_QUEUE_SIZE
 | 
						|
	int "SPI transmit queue length"
 | 
						|
	range 2 20
 | 
						|
	default 8
 | 
						|
 | 
						|
config SX127X_SPI_DMA_CHAN
 | 
						|
	int "SPI DMA chanel"
 | 
						|
	range 0 2
 | 
						|
	default 1
 | 
						|
	help
 | 
						|
		There are two DMA channels that can be used by the ESP32 SPI driver. One
 | 
						|
		which is not in use must be picked (1 or 2). Set to 0 to disable SPI DMA.
 | 
						|
 | 
						|
config SX127X_USE_NANOPB
 | 
						|
	bool "Use nanopb"
 | 
						|
	default y
 | 
						|
 | 
						|
endmenu
 |