From 77cbd8aeb3c694d5a1534f848dab87b98c33b826 Mon Sep 17 00:00:00 2001 From: Ivan Belokobylskiy Date: Fri, 6 Oct 2023 01:17:30 +0400 Subject: [PATCH] build MinSizeRel by default --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 06cb726..622a9d7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ # We will always be building Release in order to enable all needed optimizations # Debug symbols will be still present in the ELF file -SET(CMAKE_BUILD_TYPE Release) +SET(CMAKE_BUILD_TYPE MinSizeRel) # Prepare the toolchain for Telink 8251/8258 microcontroller include(cmake/TelinkSDK.cmake)