Skip to content

Commit 1343ad6

Browse files
committed
Completely disable assertions on opt builds to save flash space
1 parent 7951619 commit 1343ad6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/espressif/esp-idf-config/sdkconfig-opt.defaults

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ CONFIG_BOOTLOADER_LOG_LEVEL_NONE=y
1111
# Compiler options
1212
#
1313
CONFIG_COMPILER_OPTIMIZATION_SIZE=y
14-
CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT=y
14+
CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_DISABLE=y
1515
CONFIG_COMPILER_OPTIMIZATION_CHECKS_SILENT=y
1616
# end of Compiler options
1717

0 commit comments

Comments
 (0)