Jonathan Zentgraf
af3c6be79f
msc_device: Fix check for including MSC lookup tables
...
The _msc_scsi_cmd_lookup and _msc_scsi_cmd_table variables are needed
when logging is enabled for the MSC device via CFG_TUD_MSC_LOG_LEVEL.
Update the preprocessor check around them to use that definition when
deciding whether to define those variables.
Closes #2419
2024-01-20 20:19:02 -05:00
IngHK
769a237b19
accumulated review changes
2024-01-20 20:34:50 +01:00
hathach
87d509d416
make CFG_TUH_CDC_LINE_CODING_ON_ENUM optional for ch34x
2024-01-20 01:42:31 +07:00
hathach
55cb713264
- add new API tuh_cdc_set_data_format()
...
- add typedef for cdc enum
2024-01-19 16:56:32 +07:00
hathach
c196a2ed9c
move code around
2024-01-19 16:04:30 +07:00
hathach
98781bb903
- add ch34x_set_data_format()
...
- add ch34x_set_line_coding()
2024-01-19 15:58:05 +07:00
hathach
23c2d929a1
refactor process_internal_control_complete()
2024-01-19 12:40:37 +07:00
hathach
c568a6793e
- add requested line coding to make update data format easier
...
- change ch34x_xfer_get_itf_num() to simply 0
2024-01-19 12:14:45 +07:00
hathach
30eb35f17f
- revert the use of serial init for set line coding
...
- update ch34x_get_lcr and ch34x_get_factor_divisor
2024-01-19 01:06:24 +07:00
IngHK
3968a0fff8
implemented ch34x_set_line_coding() and some code cleanup
2024-01-17 16:04:31 +01:00
hathach
f221c0fb66
more clean up
2024-01-17 14:45:09 +07:00
IngHK
482a8068a5
change code style and code cleanup
2024-01-16 14:51:04 +01:00
hathach
46ac03ba85
change code style
2024-01-16 17:45:16 +07:00
hathach
55da1072b6
merge and cherry pick changes
2024-01-16 17:25:44 +07:00
hathach
07e3d5c691
fix number of endpoint for ch340x, also open notification even not used for now
2024-01-16 14:32:31 +07:00
IngHK
f7ef3c1b1c
Merge branch 'cdc_ch34x_support' of https://github.com/IngHK/tinyusb into cdc_ch34x_support
2024-01-16 08:20:23 +01:00
IngHK
4e6408ea49
CDCh host: further work on CH340/CH341 support
2024-01-16 08:07:22 +01:00
IngHK
43e655b896
Merge remote-tracking branch 'remotes/hathach/master' into cdc_ch34x_support
2024-01-16 07:57:06 +01:00
hathach
e2aa671346
move open() ad vid_pid_list into serial driver struct
2024-01-16 12:54:39 +07:00
hathach
57c6f8cfa2
Merge branch 'master' into cdc_ch34x_support
...
# Conflicts:
# src/class/cdc/cdc_host.c
2024-01-16 12:00:28 +07:00
Ha Thach
938cae818f
Merge pull request #2417 from hathach/serialhost-change-ftdi-cp210x-pid-list
...
change serila host FTDI/CP210X pid list to vid/pid list
2024-01-16 01:45:41 +07:00
hathach
aa58cdcfa6
change CFG_TUH_CDC_FTDI/CP210X_PID_LIST to CFG_TUH_CDC_FTDI/CP210X_VID_PID_LIST which contains both vid and pid.
2024-01-16 01:28:29 +07:00
hathach
1f2901e8b1
fix conflict of BIT() macro
2024-01-15 19:02:02 +07:00
hathach
d192868d62
fix sign-conversion warning
2024-01-15 18:25:15 +07:00
hathach
d92eb38c21
change code style
2024-01-15 16:56:18 +07:00
hathach
a67ee4f01b
Merge branch 'master' into cdc_ch34x_support
2024-01-15 16:17:42 +07:00
Ha Thach
4b3b401ce3
Merge pull request #2401 from Ryzee119/ohci_more_dev
...
[OHCI] Allow more than 16 devices
2024-01-12 17:48:01 +07:00
Ha Thach
39f397e25c
Merge pull request #2412 from hathach/change-weak-event-hook-style
...
change tuh_event_hook_cb, tud_event_hook_cb to weak default implementation
2024-01-12 16:22:09 +07:00
hathach
8eca596fa6
style changes
2024-01-12 16:05:35 +07:00
hathach
290f4bea91
- change tuh_event_hook_cb, tud_event_hook_cb to weak default implementation
...
- change code style
2024-01-12 15:47:08 +07:00
Ha Thach
858077483d
Merge pull request #2239 from XelaRellum/bugfix_stm32_fsdev_keil
...
Fixes #1018 the weak dcd_edpt0_status_complete for Keil Compiler
2024-01-12 15:26:02 +07:00
Ha Thach
71ce4b8be6
Merge pull request #2402 from Okarss/master
...
[STM32 FSDEV] Fix ISR race conditions
2024-01-12 10:26:52 +07:00
Okarss
2d3d148912
[STM32 FSDEV] Align names for consistency
2024-01-11 21:02:14 +02:00
Ha Thach
5002ce8798
Merge pull request #2382 from YixingShen/master
...
fixed device/video_capture/src/images.h,main.c CFG_EXAMPLE_VIDEO_DISA…
2024-01-12 00:58:32 +07:00
hathach
ab7538d93a
fix build with f1 without uart
2024-01-11 23:56:04 +07:00
Ha Thach
7db9119ef3
Merge pull request #2411 from IngHK/cdch_vendor_class
...
[cdch] replaced vendor specific bInterfaceClass number by define
2024-01-11 22:53:21 +07:00
hathach
e68c6658c9
move gtd extra out of control struct to save sram
...
also rename gtd_data to gtd_extra
2024-01-11 17:35:05 +07:00
hathach
3349e40276
add cmake support for lpc17
2024-01-11 17:32:21 +07:00
IngHK
c619a86141
bInterfaceClass number replaced by define
2024-01-11 08:53:47 +01:00
Ha Thach
f2f40c0965
Merge pull request #2400 from Ryzee119/hub_fix
...
[HUB] Fix double status xfer
2024-01-11 12:39:18 +07:00
Ha Thach
b7581f0995
Merge pull request #2404 from Ryzee119/patch-2
...
[HUB] Prevent status request to invalid ep_num
2024-01-11 12:34:54 +07:00
Ha Thach
b5d5ae9b18
Merge pull request #2408 from leptun/fix_tickless_ulpi_gating
...
Disable ULPI clock during sleep on stm32f7 when using internal phy
2024-01-11 11:40:44 +07:00
Okarss
545821399b
[STM32 FSDEV] Introduce a typedef for bus access width
2024-01-11 00:59:39 +02:00
Alex Voinea
3bf6826451
Disable ULPI clock during sleep on stm32f7 when using internal phy
2024-01-10 10:27:21 +01:00
Ryzee119
e7e19f5627
[OHCI] Allow more than 16 devices
2024-01-10 16:03:43 +10:30
Okarss
0d4b24e56c
[STM32 FSDEV] Fix ISR race conditions
2024-01-10 05:43:20 +02:00
Ha Thach
cf306ed913
Merge pull request #2406 from IngHK/move_acm_open
...
[CDC] host: moved acm_open to other acm prototypes
2024-01-09 18:30:44 +07:00
IngHK
91f65a36bf
[CDC] host: moved acm_open to other acm prototypes
2024-01-09 09:53:54 +01:00
Ryzee119
d39d06e6d9
[HUB] Prevent status request to invalid ep_num
2024-01-09 16:36:32 +10:30
Ryzee119
a4aa454a7a
[HUB] Fix double status xfer
2024-01-07 08:34:18 +10:30