Switch to the correct AVR MCU

pull/8/head
Alex Voinea 2021-05-12 14:10:52 +03:00
parent 23a8c9081a
commit f0d00dcc23
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ endif()
if(CMAKE_CROSSCOMPILING)
# mcu related settings
set(MCU_FLAGS -mmcu=atmega328)
set(MCU_FLAGS -mmcu=atmega32u4)
add_compile_options(${MCU_FLAGS})
add_link_options(${MCU_FLAGS})