mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-25 17:17:54 +01:00
Add 2MB option for partitions.csv generation and restore use of user-defined partitions (#3388)
This commit is contained in:
parent
b4ff4f4fbd
commit
4e1427d0fe
@ -23,9 +23,11 @@ Configuration variables:
|
|||||||
choose a generic board from Espressif such as ``esp32dev``.
|
choose a generic board from Espressif such as ``esp32dev``.
|
||||||
- **framework** (*Optional*): Options for the underlying framework used by ESPHome.
|
- **framework** (*Optional*): Options for the underlying framework used by ESPHome.
|
||||||
See :ref:`esp32-arduino_framework` and :ref:`esp32-espidf_framework`.
|
See :ref:`esp32-arduino_framework` and :ref:`esp32-espidf_framework`.
|
||||||
- **flash_size** (*Optional*, string): The amount of flash memory available on the ESP32 board/module. One of ``4MB``,
|
- **flash_size** (*Optional*, string): The amount of flash memory available on the ESP32 board/module. One of ``2MB``,
|
||||||
``8MB``, ``16MB`` or ``32MB``. Defaults to ``4MB``. **Warning: specifying a size larger than that available on your
|
``4MB``, ``8MB``, ``16MB`` or ``32MB``. Defaults to ``4MB``. **Warning: specifying a size larger than that available
|
||||||
board will cause the ESP32 to fail to boot.**
|
on your board will cause the ESP32 to fail to boot.**
|
||||||
|
- **partitions** (*Optional*, filename): The name of (optionally including the path to) the file containing the
|
||||||
|
partitioning scheme to be used. When not specified, partitions are automatically generated based on ``flash_size``.
|
||||||
- **variant** (*Optional*, string): The variant of the ESP32 that is used on this board. One of ``esp32``,
|
- **variant** (*Optional*, string): The variant of the ESP32 that is used on this board. One of ``esp32``,
|
||||||
``esp32s2``, ``esp32s3``, ``esp32c3`` and ``esp32h2``. Defaults to the variant that is detected from the board; if
|
``esp32s2``, ``esp32s3``, ``esp32c3`` and ``esp32h2``. Defaults to the variant that is detected from the board; if
|
||||||
a board that's unknown to ESPHome is used, this option is mandatory.
|
a board that's unknown to ESPHome is used, this option is mandatory.
|
||||||
|
Loading…
Reference in New Issue
Block a user