Updated with comments on prescaler usage for F_CPU

This commit is contained in:
jakeg00dwin 2025-02-20 16:05:23 -08:00
parent 43d15247ad
commit b377eab7c0
1 changed files with 4 additions and 3 deletions

View File

@ -16,9 +16,10 @@ set(AVR_MCU attiny13a)
#set(F_CPU 16000000UL)
#set(F_CPU 8000000UL)
#set(F_CPU 9600000UL)
set(F_CPU 1200000UL)
#set(F_CPU 4800000UL)
#set(F_CPU 9600000UL)#AVR without prescaler
set(F_CPU 1200000UL) #AVR (9.6MHz) with prescaler 8DIV
#set(F_CPU 4800000UL) #AVR without prescaler
#set(F_CPU 600000UL) #AVR (4.8MHz) with prescaler 8DIV
add_compile_definitions(F_CPU=${F_CPU})
# add_compile_definitions(MCU=atmega328p)