WS2812 PWM: prefix for DMA defines (#23111)
* WS2812 PWM: prefix for DMA defines * Add backward compatibility defines
This commit is contained in:
		
							parent
							
								
									3bf1ce5cf8
								
							
						
					
					
						commit
						569b0c70be
					
				
					 98 changed files with 246 additions and 234 deletions
				
			
		| 
						 | 
				
			
			@ -21,7 +21,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
#define WS2812_PWM_DRIVER PWMD1
 | 
			
		||||
#define WS2812_PWM_CHANNEL 3
 | 
			
		||||
#define WS2812_PWM_PAL_MODE 1
 | 
			
		||||
#define WS2812_DMA_STREAM STM32_DMA2_STREAM5
 | 
			
		||||
#define WS2812_DMA_CHANNEL 6
 | 
			
		||||
#define WS2812_PWM_DMA_STREAM STM32_DMA2_STREAM5
 | 
			
		||||
#define WS2812_PWM_DMA_CHANNEL 6
 | 
			
		||||
 | 
			
		||||
#define EECONFIG_KB_DATA_SIZE (1)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -21,7 +21,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
#define WS2812_PWM_DRIVER PWMD1
 | 
			
		||||
#define WS2812_PWM_CHANNEL 3
 | 
			
		||||
#define WS2812_PWM_PAL_MODE 1
 | 
			
		||||
#define WS2812_DMA_STREAM STM32_DMA2_STREAM5
 | 
			
		||||
#define WS2812_DMA_CHANNEL 6
 | 
			
		||||
#define WS2812_PWM_DMA_STREAM STM32_DMA2_STREAM5
 | 
			
		||||
#define WS2812_PWM_DMA_CHANNEL 6
 | 
			
		||||
 | 
			
		||||
#define EECONFIG_KB_DATA_SIZE (1)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,6 @@
 | 
			
		|||
 | 
			
		||||
#define WS2812_PWM_DRIVER PWMD4
 | 
			
		||||
#define WS2812_PWM_CHANNEL 4
 | 
			
		||||
#define WS2812_DMA_STREAM STM32_DMA1_STREAM6
 | 
			
		||||
#define WS2812_DMA_CHANNEL 2
 | 
			
		||||
#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM6
 | 
			
		||||
#define WS2812_PWM_DMA_CHANNEL 2
 | 
			
		||||
#define WS2812_PWM_TARGET_PERIOD 800000
 | 
			
		||||
| 
						 | 
				
			
			@ -5,6 +5,6 @@
 | 
			
		|||
 | 
			
		||||
#define WS2812_PWM_DRIVER PWMD4
 | 
			
		||||
#define WS2812_PWM_CHANNEL 4
 | 
			
		||||
#define WS2812_DMA_STREAM STM32_DMA1_STREAM6
 | 
			
		||||
#define WS2812_DMA_CHANNEL 2
 | 
			
		||||
#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM6
 | 
			
		||||
#define WS2812_PWM_DMA_CHANNEL 2
 | 
			
		||||
#define WS2812_PWM_TARGET_PERIOD 800000
 | 
			
		||||
| 
						 | 
				
			
			@ -5,6 +5,6 @@
 | 
			
		|||
 | 
			
		||||
#define WS2812_PWM_DRIVER PWMD4
 | 
			
		||||
#define WS2812_PWM_CHANNEL 4
 | 
			
		||||
#define WS2812_DMA_STREAM STM32_DMA1_STREAM6
 | 
			
		||||
#define WS2812_DMA_CHANNEL 2
 | 
			
		||||
#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM6
 | 
			
		||||
#define WS2812_PWM_DMA_CHANNEL 2
 | 
			
		||||
#define WS2812_PWM_TARGET_PERIOD 800000
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue