From f0d00dcc2307d1d1ecd30b45dd0817da94c73a98 Mon Sep 17 00:00:00 2001 From: Alex Voinea Date: Wed, 12 May 2021 14:10:52 +0300 Subject: [PATCH] Switch to the correct AVR MCU --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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})