changed the F_CPU speed
This commit is contained in:
parent
d03ba00ede
commit
70db0b9120
1 changed files with 3 additions and 1 deletions
|
@ -14,8 +14,10 @@ set(AVR_MCU attiny13a)
|
||||||
#set(AVR_MCU attiny404) # this is the avrxmega3 series
|
#set(AVR_MCU attiny404) # this is the avrxmega3 series
|
||||||
#set(AVR_MCU avr64dd28) # Newer DX series, avrxmega2
|
#set(AVR_MCU avr64dd28) # Newer DX series, avrxmega2
|
||||||
|
|
||||||
set(F_CPU 16000000UL)
|
#set(F_CPU 16000000UL)
|
||||||
#set(F_CPU 8000000)
|
#set(F_CPU 8000000)
|
||||||
|
set(F_CPU 4800000)
|
||||||
|
|
||||||
add_compile_definitions(F_CPU=${F_CPU})
|
add_compile_definitions(F_CPU=${F_CPU})
|
||||||
# add_compile_definitions(MCU=atmega328p)
|
# add_compile_definitions(MCU=atmega328p)
|
||||||
#add_compile_definitions(__AVR_ATmega328P__)
|
#add_compile_definitions(__AVR_ATmega328P__)
|
||||||
|
|
Loading…
Add table
Reference in a new issue