Replies: 5 comments
-
Sorry for asking but you did run |
Beta Was this translation helpful? Give feedback.
-
@kartben cc @sylvioalves No bother. The procedure I'm following is:
I'm building an independent application & so from application directory:
... successful build. For main, similar enough:
from application directory:
Due to changes I then use an overlay:
& build with:
... unsuccessful build |
Beta Was this translation helpful? Give feedback.
-
I have just tried |
Beta Was this translation helpful? Give feedback.
-
@sylvioalves I can probably do something better..
If I comment out CONFIG_INPUT_ESP32_TOUCH_SENSOR (& remove any associated dependencies in the application) the build is successful for branch main. |
Beta Was this translation helpful? Give feedback.
-
Tested building with |
Beta Was this translation helpful? Give feedback.
-
Hello all,
I've created a PR to add a sample to demonstrate the touch peripheral on the ESP32 device. It builds successfully on Zephyr v3.6 but currently on main shows errors as listed below. Is this a known issue?
Thanks for all your hard work!
/opt/zephyr-sdk-0.16.5-1/xtensa-espressif_esp32s3_zephyr-elf/bin/../lib/gcc/xtensa-espressif_esp32s3_zephyr-elf/12.2.0/../../../../xtensa-espressif_esp32s3_zephyr-elf/bin/ld.bfd: zephyr/drivers/input/libdrivers__input.a(input_esp32_touch_sensor.c.obj):(.literal.esp32_touch_sensor_init+0x0): undefined reference to `touch_sensor_channel_io_map' /opt/zephyr-sdk-0.16.5-1/xtensa-espressif_esp32s3_zephyr-elf/bin/../lib/gcc/xtensa-espressif_esp32s3_zephyr-elf/12.2.0/../../../../xtensa-espressif_esp32s3_zephyr-elf/bin/ld.bfd: zephyr/drivers/input/libdrivers__input.a(input_esp32_touch_sensor.c.obj):(.literal.esp32_touch_sensor_init+0x1c): undefined reference to `touch_hal_init' /opt/zephyr-sdk-0.16.5-1/xtensa-espressif_esp32s3_zephyr-elf/bin/../lib/gcc/xtensa-espressif_esp32s3_zephyr-elf/12.2.0/../../../../xtensa-espressif_esp32s3_zephyr-elf/bin/ld.bfd: zephyr/drivers/input/libdrivers__input.a(input_esp32_touch_sensor.c.obj):(.literal.esp32_touch_sensor_init+0x20): undefined reference to `rtc_gpio_init' /opt/zephyr-sdk-0.16.5-1/xtensa-espressif_esp32s3_zephyr-elf/bin/../lib/gcc/xtensa-espressif_esp32s3_zephyr-elf/12.2.0/../../../../xtensa-espressif_esp32s3_zephyr-elf/bin/ld.bfd: zephyr/drivers/input/libdrivers__input.a(input_esp32_touch_sensor.c.obj):(.literal.esp32_touch_sensor_init+0x24): undefined reference to `rtc_gpio_set_direction' /opt/zephyr-sdk-0.16.5-1/xtensa-espressif_esp32s3_zephyr-elf/bin/../lib/gcc/xtensa-espressif_esp32s3_zephyr-elf/12.2.0/../../../../xtensa-espressif_esp32s3_zephyr-elf/bin/ld.bfd: zephyr/drivers/input/libdrivers__input.a(input_esp32_touch_sensor.c.obj):(.literal.esp32_touch_sensor_init+0x28): undefined reference to `rtc_gpio_pulldown_dis' /opt/zephyr-sdk-0.16.5-1/xtensa-espressif_esp32s3_zephyr-elf/bin/../lib/gcc/xtensa-espressif_esp32s3_zephyr-elf/12.2.0/../../../../xtensa-espressif_esp32s3_zephyr-elf/bin/ld.bfd: zephyr/drivers/input/libdrivers__input.a(input_esp32_touch_sensor.c.obj):(.literal.esp32_touch_sensor_init+0x2c): undefined reference to `rtc_gpio_pullup_dis' /opt/zephyr-sdk-0.16.5-1/xtensa-espressif_esp32s3_zephyr-elf/bin/../lib/gcc/xtensa-espressif_esp32s3_zephyr-elf/12.2.0/../../../../xtensa-espressif_esp32s3_zephyr-elf/bin/ld.bfd: zephyr/drivers/input/libdrivers__input.a(input_esp32_touch_sensor.c.obj):(.literal.esp32_touch_sensor_init+0x30): undefined reference to `touch_hal_config' /opt/zephyr-sdk-0.16.5-1/xtensa-espressif_esp32s3_zephyr-elf/bin/../lib/gcc/xtensa-espressif_esp32s3_zephyr-elf/12.2.0/../../../../xtensa-espressif_esp32s3_zephyr-elf/bin/ld.bfd: zephyr/drivers/input/libdrivers__input.a(input_esp32_touch_sensor.c.obj):(.literal.esp32_touch_sensor_init+0x38): undefined reference to `touch_hal_filter_set_config' /opt/zephyr-sdk-0.16.5-1/xtensa-espressif_esp32s3_zephyr-elf/bin/../lib/gcc/xtensa-espressif_esp32s3_zephyr-elf/12.2.0/../../../../xtensa-espressif_esp32s3_zephyr-elf/bin/ld.bfd: zephyr/drivers/input/libdrivers__input.a(input_esp32_touch_sensor.c.obj): in function `esp32_touch_sensor_init':
Beta Was this translation helpful? Give feedback.
All reactions