summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2024-12-17 11:14:57 +0700
committerGitHub <[email protected]>2024-12-17 11:14:57 +0700
commitb1eae1e5e41dacfb70688ae8aeb950b7b68b8046 (patch)
tree5a59ed7a186a0bc6c528f702349d2b1ce001a6af /src
parent8eeddaab364e413153ebd0a8302f85dfb2e60e9f (diff)
parentf74ee9c4ed21795e26fdc96af0195657fa404811 (diff)
Merge pull request #2906 from hathach/add-ra8m1
Add ra8m1_ek
Diffstat (limited to 'src')
-rw-r--r--src/device/usbd_control.c4
-rw-r--r--src/device/usbd_pvt.h5
-rw-r--r--src/tusb_option.h2
3 files changed, 6 insertions, 5 deletions
diff --git a/src/device/usbd_control.c b/src/device/usbd_control.c
index d964a75d0..c9700fd9d 100644
--- a/src/device/usbd_control.c
+++ b/src/device/usbd_control.c
@@ -44,10 +44,6 @@ TU_ATTR_WEAK void dcd_edpt0_status_complete(uint8_t rhport, const tusb_control_r
// MACRO CONSTANT TYPEDEF
//--------------------------------------------------------------------+
-#if CFG_TUSB_DEBUG >= CFG_TUD_LOG_LEVEL
-extern void usbd_driver_print_control_complete_name(usbd_control_xfer_cb_t callback);
-#endif
-
enum {
EDPT_CTRL_OUT = 0x00,
EDPT_CTRL_IN = 0x80
diff --git a/src/device/usbd_pvt.h b/src/device/usbd_pvt.h
index 90f37db3e..190d6fd7f 100644
--- a/src/device/usbd_pvt.h
+++ b/src/device/usbd_pvt.h
@@ -127,6 +127,11 @@ void usbd_sof_enable(uint8_t rhport, sof_consumer_t consumer, bool en);
bool usbd_open_edpt_pair(uint8_t rhport, uint8_t const* p_desc, uint8_t ep_count, uint8_t xfer_type, uint8_t* ep_out, uint8_t* ep_in);
void usbd_defer_func(osal_task_func_t func, void *param, bool in_isr);
+
+#if CFG_TUSB_DEBUG >= CFG_TUD_LOG_LEVEL
+void usbd_driver_print_control_complete_name(usbd_control_xfer_cb_t callback);
+#endif
+
#ifdef __cplusplus
}
#endif
diff --git a/src/tusb_option.h b/src/tusb_option.h
index dca1e4109..8b1a6af01 100644
--- a/src/tusb_option.h
+++ b/src/tusb_option.h
@@ -152,7 +152,7 @@
#define OPT_MCU_RX63X 1400 ///< Renesas RX63N/631
#define OPT_MCU_RX65X 1401 ///< Renesas RX65N/RX651
#define OPT_MCU_RX72N 1402 ///< Renesas RX72N
-#define OPT_MCU_RAXXX 1403 ///< Renesas RAxxx families
+#define OPT_MCU_RAXXX 1420 ///< Renesas RA generic
// Mind Motion
#define OPT_MCU_MM32F327X 1500 ///< Mind Motion MM32F327