forked from TSDZ2-ESP32/TSDZ2-ESP32-Main
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathOptimizations.txt
25 lines (17 loc) · 893 Bytes
/
Optimizations.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
+ Boot speed Optimizations +
Optimizations in menuconfig
- Set Flash in QIO mode
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 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 %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()
+ Power consumption optimization +
Optimizations in menuconfig
Component config -> ESP32-specific -> CPU frequency -> 80MHz