generated from TDD-Templates/cmake_cpputest_template_avr
Added new F_CPU define.
This commit is contained in:
parent
b2a3dcbed4
commit
05b6de17d0
|
@ -15,9 +15,10 @@ set(AVR_MCU attiny13a)
|
||||||
#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 8000000UL)
|
||||||
set(F_CPU 9600000)
|
#set(F_CPU 9600000UL)
|
||||||
#set(F_CPU 4800000)
|
set(F_CPU 1200000UL)
|
||||||
|
#set(F_CPU 4800000UL)
|
||||||
|
|
||||||
add_compile_definitions(F_CPU=${F_CPU})
|
add_compile_definitions(F_CPU=${F_CPU})
|
||||||
# add_compile_definitions(MCU=atmega328p)
|
# add_compile_definitions(MCU=atmega328p)
|
||||||
|
|
Loading…
Reference in New Issue