From 6f191ce44cda01b9667523494f444a96c2fd76fd Mon Sep 17 00:00:00 2001 From: jake-g00dwin Date: Tue, 24 Feb 2026 19:02:44 -0800 Subject: [PATCH] updated window watchdog to use the toolchain file variables. --- src/wwdg/CMakeLists.txt | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/wwdg/CMakeLists.txt b/src/wwdg/CMakeLists.txt index f54f6ad..ad8f4c8 100644 --- a/src/wwdg/CMakeLists.txt +++ b/src/wwdg/CMakeLists.txt @@ -16,18 +16,10 @@ if(NOT UNIT_TESTING) ) target_compile_options(wwdg PUBLIC - -g - -Os - -flto - -ffunction-sections - -fdata-sections - -fmessage-length=0 - -msmall-data-limit=8 - -march=rv32ec - -mabi=ilp32e + ${OBJECT_GEN_FLAGS} + ${C_FLAGS_ARCH} ) - else() target_include_directories(wwdg PUBLIC ${CMAKE_CURRENT_LIST_DIR}