Skip to content

Commit

Permalink
Small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mspider65 committed Oct 27, 2020
1 parent b778b2c commit 5118733
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 13 deletions.
6 changes: 2 additions & 4 deletions .cproject
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,12 @@

</storageModule>

<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>

<storageModule moduleId="org.eclipse.cdt.core.pathentry">

<pathentry kind="src" path=""/>

<pathentry excluding="**/CMakeFiles/**" kind="out" path="build"/>

</storageModule>

<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>

</cproject>
9 changes: 6 additions & 3 deletions Optimizations.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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\<Username>\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()


Expand Down
2 changes: 1 addition & 1 deletion main/tsdz_ds18b20.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* tsdz_ds18b20.h
*
* Created on: 28 ott 2019
* Author: SO000228
* Author: Max
*/

#ifndef MAIN_TSDZ_DS18B20_H_
Expand Down
2 changes: 1 addition & 1 deletion main/tsdz_tmp112.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* tsdz_tmp112.c
*
* Created on: 13 feb 2020
* Author: SO000228
* Author: Max
*/
#define LOG_LOCAL_LEVEL ESP_LOG_DEBUG

Expand Down
4 changes: 2 additions & 2 deletions sdkconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions sdkconfig.old
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5118733

Please sign in to comment.