Switch to the correct AVR MCU

pull/14/head
Alex Voinea 2021-05-12 14:10:52 +03:00 committed by DRracer
parent 7eb346a54d
commit 25ca5a19a3
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})