Skip to content

esp-nn 1.1.0 release on registry breaking older versions of idf-component-manager #17

@kbx81

Description

@kbx81

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate.
  • Provided a clear description of your suggestion.
  • Included any relevant context or examples.

Issue or Suggestion Description

We are using esp-tflite-micro which has a dependency on esp-nn; it appears that the recent release to esp-nn and corresponding update in the registry is causing problems with older versions of idf-component-manager.

Specifically, idf_component.yml as pulled from the registry includes the repository_info key which is not recognized by the version of idf-component-manager we're using. It's noteworthy that this key is not present in the idf_component.yml which appears in the repository; it only appears in the content pulled from the Espressif component registry.

Please see our build logs here.

To confirm a workaround, I've forked esp-tflite-micro and tested two alternative dependency configurations:

  1. I simply removed the ^ from the version: line within dependencies, forcing it to use the 1.0.0-rc1 which we know works.
  2. I reconfigured the dependency to use the esp-nn GitHub repo directly (as opposed to the Espressif component registry) and explicitly specified version: "v1.1.0".

Both of these alternate configurations resolved the error from idf-component-manager, of course at the expense of now having to use a fork (which we would prefer not to do).

It appears that moving to platformio/espressif32 v6.6.0 with framework-espidf v5.2.1 or later gets us "compatible" idf-component-manager but we do not wish to make such a change at this time. Are there any other ways to fix this issue? Could we perhaps get a release of framework-espidf with IDF v5.1.4 including a newer/compatible version of idf-component-manager?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions