Set LUFA F_USB

pull/115/head
Alex Voinea 2021-09-20 11:32:38 +02:00
parent b4ecf39ce5
commit c2411619dd
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ if(CMAKE_CROSSCOMPILING)
endif() endif()
# mcu related settings # mcu related settings
set(MCU_FLAGS -mmcu=atmega32u4 -DF_CPU=16000000L) set(MCU_FLAGS -mmcu=atmega32u4 -DF_CPU=16000000L -DF_USB=F_CPU)
add_compile_options(${MCU_FLAGS}) add_compile_options(${MCU_FLAGS})
add_link_options(${MCU_FLAGS}) add_link_options(${MCU_FLAGS})