mirror of
https://github.com/stakwork/sphinx-key.git
synced 2025-12-17 07:14:23 +01:00
configs-to-reduce-bin-size
Only reduces binary size by about 100kB... -rw-rw-r-- 1 niolon niolon 2709520 Jun 28 23:37 ../target/riscv32imc-esp-espidf/release/sphinx-key.bin Let's see how that's useful
This commit is contained in:
@@ -1,7 +1,15 @@
|
|||||||
# Rust often needs a bit of an extra main task stack size compared to C (the default is 3K)
|
# Rust often needs a bit of an extra main task stack size compared to C (the default is 3K)
|
||||||
CONFIG_ESP_MAIN_TASK_STACK_SIZE=64000
|
CONFIG_ESP_MAIN_TASK_STACK_SIZE=64000
|
||||||
CONFIG_PTHREAD_TASK_STACK_SIZE_DEFAULT=10000
|
CONFIG_PTHREAD_TASK_STACK_SIZE_DEFAULT=10000
|
||||||
# CONFIG_LOG_DEFAULT_LEVEL_DEBUG=y
|
CONFIG_LOG_DEFAULT_LEVEL_ERROR=y
|
||||||
|
CONFIG_ESP_WIFI_ENABLE_WPA3_SAE=n
|
||||||
|
# CONFIG_LWIP_IPV6=n
|
||||||
|
CONFIG_ESP_ERR_TO_NAME_LOOKUP=n
|
||||||
|
COMPILER_OPTIMIZATION_SIZE=y
|
||||||
|
BOOTLOADER_COMPILER_OPTIMIZATION_SIZE=y
|
||||||
|
COMPILER_OPTIMIZATION_ASSERTIONS_DISABLE=y
|
||||||
|
CONFIG_COMPILER_OPTIMIZATION_CHECKS_SILENT=y
|
||||||
|
ESP_SYSTEM_PANIC_SILENT_REBOOT=y
|
||||||
|
|
||||||
# Use this to set FreeRTOS kernel tick frequency to 1000 Hz (100 Hz by default).
|
# Use this to set FreeRTOS kernel tick frequency to 1000 Hz (100 Hz by default).
|
||||||
# This allows to use 1 ms granuality for thread sleeps (10 ms by default).
|
# This allows to use 1 ms granuality for thread sleeps (10 ms by default).
|
||||||
|
|||||||
Reference in New Issue
Block a user