File tree Expand file tree Collapse file tree
nxp/mcx/mcxn/frdm-mcxn947/board Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ INIT_COMPONENT_EXPORT(cherryusb_devinit);
3030
3131int cherryusb_hostinit (void )
3232{
33- usbh_initialize (0 , 0x20072000 );
33+ usbh_initialize (0 , 0x20072000 , NULL );
3434 return 0 ;
3535}
3636INIT_COMPONENT_EXPORT (cherryusb_hostinit );
Original file line number Diff line number Diff line change 160160#define CONFIG_USBHOST_MAX_INTF_ALTSETTINGS 8
161161#define CONFIG_USBHOST_MAX_ENDPOINTS 4
162162
163- #define CONFIG_USBHOST_MAX_CDC_ACM_CLASS 4
163+ #define CONFIG_USBHOST_MAX_SERIAL_CLASS 4
164164#define CONFIG_USBHOST_MAX_HID_CLASS 4
165165#define CONFIG_USBHOST_MAX_MSC_CLASS 2
166166#define CONFIG_USBHOST_MAX_AUDIO_CLASS 1
167167#define CONFIG_USBHOST_MAX_VIDEO_CLASS 1
168+ //#define CONFIG_USBHOST_MAX_XBOX_CLASS 2
168169
169170#define CONFIG_USBHOST_DEV_NAMELEN 16
170171
191192#define CONFIG_USBHOST_CONTROL_TRANSFER_TIMEOUT 500
192193#endif
193194
195+ #ifndef CONFIG_USBHOST_SERIAL_RX_SIZE
196+ #define CONFIG_USBHOST_SERIAL_RX_SIZE 2048
197+ #endif
198+
194199#ifndef CONFIG_USBHOST_MSC_TIMEOUT
195200#define CONFIG_USBHOST_MSC_TIMEOUT 5000
196201#endif
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ int cherryusb_hostinit(void)
3434{
3535 board_init_usb_pins ();
3636
37- usbh_initialize (0 , HPM_USB0_BASE );
37+ usbh_initialize (0 , HPM_USB0_BASE , NULL );
3838 return 0 ;
3939}
4040INIT_COMPONENT_EXPORT (cherryusb_hostinit );
Original file line number Diff line number Diff line change 157157#define CONFIG_USBHOST_MAX_INTF_ALTSETTINGS 8
158158#define CONFIG_USBHOST_MAX_ENDPOINTS 4
159159
160- #define CONFIG_USBHOST_MAX_CDC_ACM_CLASS 4
160+ #define CONFIG_USBHOST_MAX_SERIAL_CLASS 4
161161#define CONFIG_USBHOST_MAX_HID_CLASS 4
162162#define CONFIG_USBHOST_MAX_MSC_CLASS 2
163163#define CONFIG_USBHOST_MAX_AUDIO_CLASS 1
164164#define CONFIG_USBHOST_MAX_VIDEO_CLASS 1
165+ //#define CONFIG_USBHOST_MAX_XBOX_CLASS 2
165166
166167#define CONFIG_USBHOST_DEV_NAMELEN 16
167168
188189#define CONFIG_USBHOST_CONTROL_TRANSFER_TIMEOUT 500
189190#endif
190191
192+ #ifndef CONFIG_USBHOST_SERIAL_RX_SIZE
193+ #define CONFIG_USBHOST_SERIAL_RX_SIZE 2048
194+ #endif
195+
191196#ifndef CONFIG_USBHOST_MSC_TIMEOUT
192197#define CONFIG_USBHOST_MSC_TIMEOUT 5000
193198#endif
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ INIT_COMPONENT_EXPORT(cherryusb_devinit);
3030
3131int cherryusb_hostinit (void )
3232{
33- usbh_initialize (0 , USBHS1__USBC_BASE );
33+ usbh_initialize (0 , USBHS1__USBC_BASE , NULL );
3434 return 0 ;
3535}
3636INIT_COMPONENT_EXPORT (cherryusb_hostinit );
Original file line number Diff line number Diff line change 155155#define CONFIG_USBHOST_MAX_INTF_ALTSETTINGS 8
156156#define CONFIG_USBHOST_MAX_ENDPOINTS 4
157157
158- #define CONFIG_USBHOST_MAX_CDC_ACM_CLASS 4
158+ #define CONFIG_USBHOST_MAX_SERIAL_CLASS 4
159159#define CONFIG_USBHOST_MAX_HID_CLASS 4
160160#define CONFIG_USBHOST_MAX_MSC_CLASS 2
161161#define CONFIG_USBHOST_MAX_AUDIO_CLASS 1
162162#define CONFIG_USBHOST_MAX_VIDEO_CLASS 1
163+ //#define CONFIG_USBHOST_MAX_XBOX_CLASS 2
163164
164165#define CONFIG_USBHOST_DEV_NAMELEN 16
165166
186187#define CONFIG_USBHOST_CONTROL_TRANSFER_TIMEOUT 500
187188#endif
188189
190+ #ifndef CONFIG_USBHOST_SERIAL_RX_SIZE
191+ #define CONFIG_USBHOST_SERIAL_RX_SIZE 2048
192+ #endif
193+
189194#ifndef CONFIG_USBHOST_MSC_TIMEOUT
190195#define CONFIG_USBHOST_MSC_TIMEOUT 5000
191196#endif
You can’t perform that action at this time.
0 commit comments