Added new F_CPU define.
This commit is contained in:
		
							parent
							
								
									b2a3dcbed4
								
							
						
					
					
						commit
						05b6de17d0
					
				
					 1 changed files with 4 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -15,9 +15,10 @@ set(AVR_MCU attiny13a)
 | 
			
		|||
#set(AVR_MCU avr64dd28) # Newer DX series, avrxmega2
 | 
			
		||||
 | 
			
		||||
#set(F_CPU 16000000UL)
 | 
			
		||||
#set(F_CPU 8000000)
 | 
			
		||||
set(F_CPU 9600000)
 | 
			
		||||
#set(F_CPU 4800000)
 | 
			
		||||
#set(F_CPU 8000000UL)
 | 
			
		||||
#set(F_CPU 9600000UL)
 | 
			
		||||
set(F_CPU 1200000UL)
 | 
			
		||||
#set(F_CPU 4800000UL)
 | 
			
		||||
 | 
			
		||||
add_compile_definitions(F_CPU=${F_CPU})
 | 
			
		||||
# add_compile_definitions(MCU=atmega328p)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue