USB Library Errors on All nRF52840 Dongle Projects

Hi,

I have been using the nRF52840 Dongle for at least three months without any issues.
First, I implemented my project on the nRF52840-DK, then easily configured it for the nRF52840 Dongle, and it worked flawlessly.
However, starting from last week, I'm encountering the same USB library errors for all Dongle projects.
When I compile the same projects with the nRF52840-DK, they all work fine.
It seems that a general configuration or setting is no longer correct.
As an easy example, I share the Blinky project from the Nordic examples.
It works with the nRF52840-DK, but gives the same error with the nRF52840 Dongle.
When did I start getting this USB library errors?
I added ADC to the Dongle configuration, and now none of the projects work with the Dongle anymore.

Toolchain: SDK v2.6.1

Win10

Thanks
Saban

error_logs.zip

1882.blinky.zip

Parents
  • I can paste hier only some part of error messages:
    [2/148] Generating include/generated/version.h
    -- Zephyr version: 3.5.99 (C:/ncs/v2.6.1/zephyr), build: v3.5.99-ncs1-1
    [143/148] Linking C executable zephyr\zephyr_pre0.elf
    FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map C:/projects/tests/blinky/build_1/zephyr/zephyr_pre0.map
    ...
    C:/ncs/v2.6.1/zephyr/subsys/usb/device/usb_device.c:611: undefined reference to `usb_dc_ep_disable'
    C:/ncs/v2.6.1/zephyr/subsys/usb/device/usb_device.c:580: undefined reference to `usb_dc_ep_configure'
    C:/ncs/v2.6.1/zephyr/subsys/usb/device/usb_device.c:876: undefined reference to `usb_dc_set_address'
    C:/ncs/v2.6.1/zephyr/subsys/usb/device/usb_device.c:1392: undefined reference to `usb_dc_ep_write'
    C:/ncs/v2.6.1/zephyr/subsys/usb/device/usb_device.c:295: undefined reference to `usb_dc_ep_read'

Reply
  • I can paste hier only some part of error messages:
    [2/148] Generating include/generated/version.h
    -- Zephyr version: 3.5.99 (C:/ncs/v2.6.1/zephyr), build: v3.5.99-ncs1-1
    [143/148] Linking C executable zephyr\zephyr_pre0.elf
    FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map C:/projects/tests/blinky/build_1/zephyr/zephyr_pre0.map
    ...
    C:/ncs/v2.6.1/zephyr/subsys/usb/device/usb_device.c:611: undefined reference to `usb_dc_ep_disable'
    C:/ncs/v2.6.1/zephyr/subsys/usb/device/usb_device.c:580: undefined reference to `usb_dc_ep_configure'
    C:/ncs/v2.6.1/zephyr/subsys/usb/device/usb_device.c:876: undefined reference to `usb_dc_set_address'
    C:/ncs/v2.6.1/zephyr/subsys/usb/device/usb_device.c:1392: undefined reference to `usb_dc_ep_write'
    C:/ncs/v2.6.1/zephyr/subsys/usb/device/usb_device.c:295: undefined reference to `usb_dc_ep_read'

Children
Related