This is an automated email from the ASF dual-hosted git repository. janc 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 0e635bf9f tinyusb: Default BT HCI endpoints to BT SIG recommended addresses 0e635bf9f is described below commit 0e635bf9f0c36c14bd02e27886d518d485f6183d Author: Szymon Janc <szymon.j...@codecoup.pl> AuthorDate: Mon Feb 5 12:19:30 2024 +0100 tinyusb: Default BT HCI endpoints to BT SIG recommended addresses Although Core Specification only suggests endpoints addresses and operating systems work well when those are not in use, it turned out that some custom radio verification equipement requires IUT to use exact endpoints addresses suggested by spec. Lets default to those suggested by spec to improve OOTB experience when if needed user can override those via syscfg. --- hw/usb/tinyusb/nrf53/include/tusb_hw.h | 6 +++--- hw/usb/tinyusb/nrf5x/include/tusb_hw.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/hw/usb/tinyusb/nrf53/include/tusb_hw.h b/hw/usb/tinyusb/nrf53/include/tusb_hw.h index bfa8461ce..b7199e2cf 100644 --- a/hw/usb/tinyusb/nrf53/include/tusb_hw.h +++ b/hw/usb/tinyusb/nrf53/include/tusb_hw.h @@ -89,7 +89,7 @@ #if defined(MYNEWT_VAL_USBD_BTH_EVENT_EP) #define USBD_BTH_EVENT_EP MYNEWT_VAL(USBD_BTH_EVENT_EP) #else -#define USBD_BTH_EVENT_EP 0x84 +#define USBD_BTH_EVENT_EP 0x81 #endif #if defined(MYNEWT_VAL_USBD_BTH_EVENT_EP_SIZE) @@ -107,13 +107,13 @@ #if defined(MYNEWT_VAL_USBD_BTH_DATA_OUT_EP) #define USBD_BTH_DATA_OUT_EP MYNEWT_VAL(USBD_BTH_DATA_OUT_EP) #else -#define USBD_BTH_DATA_OUT_EP 0x05 +#define USBD_BTH_DATA_OUT_EP 0x02 #endif #if defined(MYNEWT_VAL_USBD_BTH_DATA_IN_EP) #define USBD_BTH_DATA_IN_EP MYNEWT_VAL(USBD_BTH_DATA_IN_EP) #else -#define USBD_BTH_DATA_IN_EP 0x85 +#define USBD_BTH_DATA_IN_EP 0x82 #endif #if defined(MYNEWT_VAL_USBD_BTH_DATA_EP_SIZE) diff --git a/hw/usb/tinyusb/nrf5x/include/tusb_hw.h b/hw/usb/tinyusb/nrf5x/include/tusb_hw.h index 8f737aa5b..f4af8be16 100755 --- a/hw/usb/tinyusb/nrf5x/include/tusb_hw.h +++ b/hw/usb/tinyusb/nrf5x/include/tusb_hw.h @@ -89,7 +89,7 @@ #if defined(MYNEWT_VAL_USBD_BTH_EVENT_EP) #define USBD_BTH_EVENT_EP MYNEWT_VAL(USBD_BTH_EVENT_EP) #else -#define USBD_BTH_EVENT_EP 0x84 +#define USBD_BTH_EVENT_EP 0x81 #endif #if defined(MYNEWT_VAL_USBD_BTH_EVENT_EP_SIZE) @@ -107,13 +107,13 @@ #if defined(MYNEWT_VAL_USBD_BTH_DATA_OUT_EP) #define USBD_BTH_DATA_OUT_EP MYNEWT_VAL(USBD_BTH_DATA_OUT_EP) #else -#define USBD_BTH_DATA_OUT_EP 0x05 +#define USBD_BTH_DATA_OUT_EP 0x02 #endif #if defined(MYNEWT_VAL_USBD_BTH_DATA_IN_EP) #define USBD_BTH_DATA_IN_EP MYNEWT_VAL(USBD_BTH_DATA_IN_EP) #else -#define USBD_BTH_DATA_IN_EP 0x85 +#define USBD_BTH_DATA_IN_EP 0x82 #endif #if defined(MYNEWT_VAL_USBD_BTH_DATA_EP_SIZE)