diff --git a/.cproject b/.cproject index 9dd7547..c9ad630 100644 --- a/.cproject +++ b/.cproject @@ -19,14 +19,12 @@ + + - - - - diff --git a/Optimizations.txt b/Optimizations.txt index d7111be..a846ca4 100644 --- a/Optimizations.txt +++ b/Optimizations.txt @@ -5,14 +5,17 @@ Optimizations in menuconfig Serial flasher config -> Flash SPI mode -> QIO (leave Flash SPI speed to 40MHz) - - Bootloader log verbosity to ERROR - Bootloader config -> Bootloader log verbosity -> Error + - Bootloader log verbosity to ERROR + Bootloader config -> Bootloader log verbosity -> Error + + - Bootloader optimization Level to Performance + Bootloader config -> Bootloader optimization Level -> Optimize for Performance (-O2) - Heap corruption detection Basic Component config > Heap memory debugging -> Heap corruption detection -> Basic Optimization in esp-idf source - Edit the file C:\Users\\esp\esp-idf\components\bootloader_support\src\bootloader_utility.c + Edit the file %IDF_PATH%\components\bootloader_support\src\bootloader_utility.c search the function try_load_partition( ... ) and change the call bootloader_load_image() to bootloader_load_image_no_verify() diff --git a/main/tsdz_ds18b20.h b/main/tsdz_ds18b20.h index d9693f2..8e91a6d 100644 --- a/main/tsdz_ds18b20.h +++ b/main/tsdz_ds18b20.h @@ -2,7 +2,7 @@ * tsdz_ds18b20.h * * Created on: 28 ott 2019 - * Author: SO000228 + * Author: Max */ #ifndef MAIN_TSDZ_DS18B20_H_ diff --git a/main/tsdz_tmp112.c b/main/tsdz_tmp112.c index 42f1b8b..060e243 100644 --- a/main/tsdz_tmp112.c +++ b/main/tsdz_tmp112.c @@ -2,7 +2,7 @@ * tsdz_tmp112.c * * Created on: 13 feb 2020 - * Author: SO000228 + * Author: Max */ #define LOG_LOCAL_LEVEL ESP_LOG_DEBUG diff --git a/sdkconfig b/sdkconfig index f7cee83..2d05cd2 100644 --- a/sdkconfig +++ b/sdkconfig @@ -36,9 +36,9 @@ CONFIG_APP_RETRIEVE_LEN_ELF_SHA=16 # # Bootloader config # -CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_SIZE=y +# CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_SIZE is not set # CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_DEBUG is not set -# CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_PERF is not set +CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_PERF=y # CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_NONE is not set # CONFIG_BOOTLOADER_LOG_LEVEL_NONE is not set CONFIG_BOOTLOADER_LOG_LEVEL_ERROR=y diff --git a/sdkconfig.old b/sdkconfig.old index 2d05cd2..f7cee83 100644 --- a/sdkconfig.old +++ b/sdkconfig.old @@ -36,9 +36,9 @@ CONFIG_APP_RETRIEVE_LEN_ELF_SHA=16 # # Bootloader config # -# CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_SIZE is not set +CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_SIZE=y # CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_DEBUG is not set -CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_PERF=y +# CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_PERF is not set # CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_NONE is not set # CONFIG_BOOTLOADER_LOG_LEVEL_NONE is not set CONFIG_BOOTLOADER_LOG_LEVEL_ERROR=y