docs(size): remove -DOUTPUT_FORMAT output format option for idf.py size

Setting OUTPUT_FORMAT through the CMake variable probably never
functioned and seems to be a remnant (possibly a typo in the
documentation) from the time when the -DOUTPUT_JSON=1 CMake variable was
used to specify the JSON output format, prior to the introduction of the
--format option. This removes the note regarding the option to choose
the output format using -DOUTPUT_FORMAT.

Closes https://github.com/espressif/esp-idf/issues/14383

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
This commit is contained in:
Frantisek Hrbata 2024-08-22 13:04:47 +02:00
parent 0bbd728196
commit 6f97a18e44
2 changed files with 0 additions and 8 deletions

View File

@ -18,10 +18,6 @@ To optimize both the firmware binary size and the memory usage, it is necessary
Using the :ref:`idf.py` sub-commands ``size``, ``size-components``, and ``size-files`` provides a summary of memory used by the project:
.. note::
It is possible to add ``-DOUTPUT_FORMAT=csv`` or ``-DOUTPUT_FORMAT=json`` to get the output in CSV or JSON format.
Size Summary ``idf.py size``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

View File

@ -18,10 +18,6 @@ ESP-IDF 构建系统会编译项目和 ESP-IDF 中所有源文件,但只有程
使用 :ref:`idf.py` 的子命令 ``size`` ``size-components````size-files`` 可以输出项目使用内存概况:
.. note::
添加 ``-DOUTPUT_FORMAT=csv````-DOUTPUT_FORMAT=json``,即可用 CSV 或 JSON 格式输出文件。
数据大小概况 ``idf.py size``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^