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.
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?
Component causing the issue
i2cdev hd44780 examples
Anything in the logs that might be useful for us?
Additional information or context
If put
Kconfig.i2cinto grandparent folder of example project all works fine.Confirmation