Skip to content

esp32 build error ESP_IDF v5.2.0 #12015

Description

@heikokue

I got two build errors:

  1. /home/heiko/esp/esp-idf/components/app_update/include/esp_ota_ops.h:16:10: fatal error: esp_bootloader_desc.h: No such file or directory
  2. /home/heiko/esp/micropython/ports/esp32/uart.c:70:24: error: 'uart_periph_signal' undeclared (first use in this function)

To fix the first error esp_bootloader_format has to be added to esp32_common.cmake
To fix the second error #include "soc/uart_periph.h" has to be added to uart.c

I will create a pull request

Activity

  1. mattytrentini commented on Jul 16, 2023

    @mattytrentini
    SponsorContributor

    On master, IDF v5.0.2 is the latest supported build. See README.md which will continue to be updated with the latest supported version.

    If your fixes can resolve those issues and continue to work on v5.0.2 (and, ideally, also v5.1.0) that would be a welcome fix! However, v5.2.0 has not yet been released and is still under active development. It's not appropriate for us to use for mainline MicroPython builds.

  2. heikokue commented on Jul 17, 2023

    @heikokue
    Author

    OK, builds with v5.0.2 and v5.1 are working

  3. mattytrentini commented on Jul 18, 2023

    @mattytrentini
    SponsorContributor

    OK, builds with v5.0.2 and v5.1 are working

    Does building with v5.1 work on master? Or does it require any changes?

    If it's the former, I can try deploying to an ESP32-C6 (which requires v5.1)...

  4. IhorNehrutsa commented on Jul 20, 2023

    @IhorNehrutsa
    Contributor

    I'm testing PR esp32/PWM: Reduce inconsitencies between ports #10854 on ESP IDF 5.0.2, 5.0.3, 5.1
    See #10854 (comment)

  5. alingse commented on Aug 18, 2023

    @alingse

    +1 same error

  6. added
    enhancementFeature requests, new feature implementations
    and removed on Aug 18, 2023
  7. Florida-Rob commented on Aug 26, 2023

    @Florida-Rob

    +1 same error, on 5.1.1, with esp32c6
    adding the line fixes the issue: #include "soc/uart_periph.h" has to be added to uart.c

  8. chaseadam commented on Apr 2, 2024

    @chaseadam

    support added for 5.2.0 d6176c1

  9. jonnor commented on Jul 13, 2024

    @jonnor
    Contributor

    This should have been fixed in the commit above, which is included in MicroPython 1.23.0. So I believe this issue can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementFeature requests, new feature implementations

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions