You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by je...@apache.org on 2021/10/22 11:57:03 UTC

[mynewt-core] branch master updated: tinyusb: Remove deprecated definition CFG_TUD_NET

This is an automated email from the ASF dual-hosted git repository.

jerzy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git


The following commit(s) were added to refs/heads/master by this push:
     new 4359647  tinyusb: Remove deprecated definition CFG_TUD_NET
4359647 is described below

commit 43596474b6c3a4e821e288ac38ececb455f9f776
Author: Jerzy Kasenberg <je...@codecoup.pl>
AuthorDate: Thu Oct 21 15:36:41 2021 +0200

    tinyusb: Remove deprecated definition CFG_TUD_NET
    
    CFG_TUD_NET was deprecated in TinyUSB it is replaced with
    CFG_TUD_ECM_RNDIS but since Mynewt does not have support
    for RNDIS yet definition is removed so code can be used with older
    version of TinyUSB.
    CFG_TUD_NET when present causes warning that is promoted
    to error in most mynewt builds.
---
 hw/usb/tinyusb/std_descriptors/include/tusb_config.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/hw/usb/tinyusb/std_descriptors/include/tusb_config.h b/hw/usb/tinyusb/std_descriptors/include/tusb_config.h
index 08a1f71..ca85acd 100755
--- a/hw/usb/tinyusb/std_descriptors/include/tusb_config.h
+++ b/hw/usb/tinyusb/std_descriptors/include/tusb_config.h
@@ -80,7 +80,6 @@ extern "C" {
 #define CFG_TUD_USBTMC           0
 #define CFG_TUD_DFU_RT           0
 #define CFG_TUD_DFU              MYNEWT_VAL(USBD_DFU)
-#define CFG_TUD_NET              0
 #define CFG_TUD_BTH              MYNEWT_VAL(USBD_BTH)
 
 /* Minimal number for alternative interfaces that is recognized by Windows as Bluetooth radio controller */