Skip to content

esp_tinyusb port ECM/RNDIS supprt (IEC-176) (IEC-178) #72

Open
@chegewara

Description

@chegewara

Answers checklist.

  • I have read the documentation of the component in question and the issue is not addressed there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

Hi,
quick test with USB-NCM shows it is working, but there is problem with ECM/RNDIS. (v1.4.5)
According to changelog ECM/RNDIS support should be added:

## 1.1.0

- Added support for NCM, ECM/RNDIS, DFU and Bluetooth TinyUSB drivers https://github.com/espressif/idf-extra-components/commit/79f35c9b047b583080f93a63310e2ee7d82ef17b

but only NCM is enabled in CMakeLists

if(CONFIG_TINYUSB_NET_MODE_NCM)
    list(APPEND srcs
         tinyusb_net.c
         )
endif() # CONFIG_TINYUSB_NET_MODE_NCM

When trying to build with ECM enabled in menuconfig i get many (10) undefined reference to errors.

Thanks

BTW NCM is using different callback than ECM, so the init_cb callback on NCM is not working (no big issue)

tud_network_link_state_cb <--- NCM
tud_network_init_cb <--- ECM/RNDIS

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions