Skip to content

ltchiptool 4.14.0 breaks ESPHome compilation #87

Description

@ericyanush

Tested against ESPHome 2026.2.0, 2026.2.4, 2026.3.2, all in the official ESPHome docker container.

In all cases, compiling for a target of generic-rtl8720cf-2mb-992k or generic-rtl8720cm-4mb-1712k results in an error after linking:

|   |-- image_flash_is.0x000000.bin
|-- TypeError: Type of 'if_not=' (<class 'NoneType'>) different than the field type; while initializing 'ota_signature'
|   |-- File "/root/.platformio/penv/.libretiny/lib/python3.12/site-packages/datastruct/utils/validation.py", line 199, in _validate_cond

Forcibly downgrading the ltchiptool to v4.13.0 in the .libretiny venv fixes the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions