generated from TDD-Templates/cmake_cpputest_template_avr
changed the F_CPU speed
This commit is contained in:
parent
d03ba00ede
commit
70db0b9120
|
@ -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…
Reference in New Issue