Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf817247

Browse files
committed
chore(usb): update usb device config
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent052e013 commitf817247

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

‎libraries/USBDevice/inc/usbd_conf.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,10 @@ extern "C" {
115115
#defineUSBD_DEBUG_LEVEL 0U
116116
#endif/* USBD_DEBUG_LEVEL */
117117

118+
#ifndefUSBD_USER_REGISTER_CALLBACK
119+
#defineUSBD_USER_REGISTER_CALLBACK 0U
120+
#endif/* USBD_USER_REGISTER_CALLBACK */
121+
118122
/* ECM, RNDIS, DFU Class Config */
119123
#ifndefUSBD_SUPPORT_USER_STRING_DESC
120124
#defineUSBD_SUPPORT_USER_STRING_DESC 0U
@@ -144,6 +148,12 @@ extern "C" {
144148
#endif/* USBD_CDC_INTERVAL */
145149

146150
/* DFU Class Config */
151+
#ifndefUSBD_DFU_VENDOR_CMD_ENABLED
152+
#defineUSBD_DFU_VENDOR_CMD_ENABLED 0U
153+
#endif/* USBD_DFU_VENDOR_CMD_ENABLED */
154+
#ifndefUSBD_DFU_VENDOR_EXIT_ENABLED
155+
#defineUSBD_DFU_VENDOR_EXIT_ENABLED 1U
156+
#endif/* USBD_DFU_VENDOR_EXIT_ENABLED */
147157
#ifndefUSBD_DFU_MAX_ITF_NUM
148158
#defineUSBD_DFU_MAX_ITF_NUM 1U
149159
#endif/* USBD_DFU_MAX_ITF_NUM */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp