docs: Add documentation for idf.py read-otadata

This commit is contained in:
Harshit Malpani
2023-12-27 11:54:58 +05:30
parent f4532db8a2
commit 18947904bc
2 changed files with 18 additions and 0 deletions

View File

@@ -218,6 +218,15 @@ To generate a UF2 binary for the application only (not including the bootloader
idf.py uf2-app
Read Otadata Partition: ``read-otadata``
----------------------------------------
.. code-block:: bash
idf.py read-otadata
This command prints the contents of the ``otadata`` partition which stores the information about the currently selected OTA app slot. Refer to :doc:`/api-reference/system/ota` for more about the ``otadata`` partition.
Global Options
==============