Skip to content

import Kconfig.i2c #2

@zdr3zdr

Description

@zdr3zdr

The issue

In files Kconfig.projbuild
i2cdev/examples/default/main/Kconfig.projbuild
hd44780/examples/i2c/main/Kconfig.projbuild
hd44780/examples/i2c_scroll/main/Kconfig.projbuild
hd44780/examples/simplest_barometer/main/Kconfig.projbuild
import rsource "../../../Kconfig.i2c"
But if create this example project from The ESP Component Registry by run:
idf.py create-project-from-example "esp-idf-lib/hd44780=1.3.0:i2c"
We have not this file.

Which SDK are you using?

esp-idf

Which version of SDK are you using?

v5.5.2

Which build target have you used?

  • esp32
  • esp32s2
  • esp32s3
  • esp32c2
  • esp32c5
  • esp32c6
  • esp32c61
  • esp32h2
  • esp32p4
  • esp8266
  • other

Component causing the issue

i2cdev hd44780 examples

Anything in the logs that might be useful for us?

File "~/esp/esp-idf-tools/python_env/idf5.5_py3.12_env/lib/python3.12/site-packages/kconfiglib/core.py", line 2618, in _parse_block
    raise KconfigError(
kconfiglib.core.KconfigError: ~/esp/esp-projects/i2c/main/Kconfig.projbuild:6: '~/esp/esp-projects/i2c/main/../../../Kconfig.i2c' not found (in 'rsource "../../../Kconfig.i2c"'). Check that environment variables are set correctly (e.g. $srctree, which is unset or blank). Also note that unset environment variables expand to the empty string.

Additional information or context

If put Kconfig.i2c into grandparent folder of example project all works fine.

Confirmation

  • This report is not a question nor a request for drivers.

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