From 25ca5a19a3c620c558b57884591458c641a20fed 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 cbce239..d86c836 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})