diff --git a/CMakeLists.txt b/CMakeLists.txt index f395e78..7849e2a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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})