From 739ccdf8042a596291af52de1444518be1de5c31 Mon Sep 17 00:00:00 2001 From: VintagePC <53943260+vintagepc@users.noreply.github.com> Date: Wed, 27 Jul 2022 07:22:42 -0400 Subject: [PATCH] remove invalid command --- CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ca06bdc58..466e0393d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -100,8 +100,6 @@ function(fw_add_variant variant_name) # # configure linker script set(LINKER_SCRIPT ${PROJECT_SOURCE_DIR}/.dependencies/1.8.19-1.0.5-1-linux-64/portable/packages/PrusaResearch/hardware/avr/1.0.5-1/ldscripts/avr6.xn) target_link_options(${variant_name} PUBLIC -Wl,-T,${LINKER_SCRIPT}) - add_link_dependency(${variant_name} ${LINKER_SCRIPT}) - # limit the text section to 248K (256K - 8k reserved for the bootloader) target_link_options(${variant_name} PUBLIC -Wl,--defsym=__TEXT_REGION_LENGTH__=248K)