Bugfix and update for AT32F415 (#24807)
This commit is contained in:
		
							parent
							
								
									eb29f8befc
								
							
						
					
					
						commit
						7f1c236c75
					
				
					 11 changed files with 46 additions and 32 deletions
				
			
		| 
						 | 
				
			
			@ -24,7 +24,7 @@
 | 
			
		|||
#    elif defined(PROTOCOL_CHIBIOS)
 | 
			
		||||
#        include "hal.h"
 | 
			
		||||
#        include "chibios_config.h"
 | 
			
		||||
#        if defined(STM32F0XX) || defined(STM32F1XX) || defined(STM32F3XX) || defined(STM32F4XX) || defined(STM32L0XX) || defined(GD32VF103) || defined(MCU_RP)
 | 
			
		||||
#        if defined(STM32F0XX) || defined(STM32F1XX) || defined(STM32F3XX) || defined(STM32F4XX) || defined(STM32L0XX) || defined(AT32F415) || defined(GD32VF103) || defined(MCU_RP)
 | 
			
		||||
#            define APA102_NOPS (100 / (1000000000L / (CPU_CLOCK / 4))) // This calculates how many loops of 4 nops to run to delay 100 ns
 | 
			
		||||
#        else
 | 
			
		||||
#            error APA102_NOPS configuration required
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue