Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Documentation for ESP-IDF versions 4.4, 4.5, 5.0 and 5.1 do not contain any references to register_component(). This seems to be the way how things where done in ESP-IDF version 3.x. For some reason this picks up a bunch of components we don't use. Exclude those. The net result is more lines of CMake code, but if at some point Espressif drops support for register_component() we are prepared. Total sizes before: Used stat D/IRAM: 180122 bytes ( 165734 remain, 52.1% used) .data size: 30524 bytes .bss size: 25760 bytes .text size: 122811 bytes .vectors size: 1027 bytes Used Flash size : 2061331 bytes .text: 1497211 bytes .rodata: 563864 bytes Total image size: 2215693 bytes (.bin may be padded larger) Total sizes after: Total sizes: Used stat D/IRAM: 180122 bytes ( 165734 remain, 52.1% used) .data size: 30524 bytes .bss size: 25760 bytes .text size: 122811 bytes .vectors size: 1027 bytes Used Flash size : 2061335 bytes .text: 1497215 bytes .rodata: 563864 bytes Total image size: 2215697 bytes (.bin may be padded larger)
- Loading branch information