Commit Graph

7800 Commits

Author SHA1 Message Date
hathach d52909ec5c
remove the use of descriptor template for video capture example 2024-01-29 18:02:57 +07:00
hathach 2da8f763d7
update example to work with iso streaming 2024-01-26 23:50:58 +07:00
hathach 0daf8ec51b
update example to work bulk mjpeg 2024-01-26 23:23:38 +07:00
hathach b5cd673330
rename and add more video descriptors
use struct to define uvc descriptor for video_capture since uvc is
rather too complicated to use macro templates
2024-01-26 22:55:55 +07:00
YixingShen 2f2d2bcf3e Merge branch 'master' of https://github.com/YixingShen/tinyusb 2024-01-26 09:09:44 +08:00
YixingShen 4c9f462423 add "set tx_busy 1" into video_capture's video_tas for "if (tx_busy) return" 2024-01-26 09:09:18 +08:00
沈玴興 b713493436
Merge branch 'hathach:master' into master 2024-01-26 02:49:52 +08:00
YixingShen 19130440cc Revert "Merge branch 'master' of https://github.com/YixingShen/tinyusb"
This reverts commit 611f9d948b, reversing
changes made to a7de4ac9b7.
2024-01-26 02:46:53 +08:00
YixingShen 611f9d948b Merge branch 'master' of https://github.com/YixingShen/tinyusb 2024-01-26 02:41:34 +08:00
YixingShen a7de4ac9b7 Correct VIDEO_CS_VS_INTERFACE_FRAME_MJPEG to VIDEO_CS_ITF_VS_FRAME_MJPEG for #define TUD_VIDEO_DESC_CS_VS_FRM_MJPEG_DISC 2024-01-26 02:37:15 +08:00
Ha Thach bd3c4fbe1e
Merge pull request #2427 from hathach/setup-python@v5
bump up to actions/setup-python@v5
2024-01-26 01:32:46 +07:00
hathach 14d44171b5
bump up to actions/setup-python@v5 2024-01-25 19:13:11 +07:00
Ha Thach 5aaa1aa63e
Merge pull request #2426 from hathach/cleanup-uvc-example
house keeping uvc example
2024-01-25 18:00:18 +07:00
hathach 0b8b8af83d
minor update to video capture example 2024-01-25 17:25:48 +07:00
hathach de1266699d
clean up video example for readability 2024-01-24 13:13:49 +07:00
Ha Thach 09ae91700c
Merge pull request #2424 from hathach/retry-hil-s3
Retry hil s3
2024-01-24 13:13:02 +07:00
hathach 9d0df8ebc5
add message when flashing failed 2024-01-24 12:10:17 +07:00
hathach 64f86ef8e7
build workflow with hil-test when test/hil changes 2024-01-24 11:32:28 +07:00
Jerry Palacios 17cd5e0952 Bunny brain board created, but not modified yet
Bunny brain board created, but not modified yet
2024-01-23 17:55:19 -06:00
Jerry Palacios 2fadc06412 BOARD_InitPins pinlist modification
BOARD_InitPins pinlist modification
2024-01-23 17:53:09 -06:00
Jerry Palacios fca0b44fa1 Update pin_mux.c 2024-01-23 17:10:21 -06:00
Jerry Palacios b3ce3e25eb Led pin configurations changed from P3_4 to P0_10 2024-01-23 17:09:19 -06:00
Jerry Palacios e819a28a8b frdm-mcxn947 folder created
frdm-mcxn947 folder created.
Led and button pin modified compared to mcxn947brk board
2024-01-23 16:49:44 -06:00
hathach 82218c8d68
retry flashih a few time due to random failed by s3 2024-01-24 00:43:23 +07:00
HiFiPhile f92c2c2758
Merge pull request #2422 from kasjer/kasjer/audio_device-fix-unused-param-warning
audio_device: Fix unused variable warning
2024-01-23 15:09:25 +01:00
Jerzy Kasenberg 1c9a839401 audio_device: Fix unused variable warning
In some configurations local variable p_desc_parse_for_params
is declared and never used resulting in warning that can
be escalated to build error (for mynewt)

Now variable is surrounded with same preprocessor condition
as function that uses it audiod_parse_for_AS_params()
2024-01-23 13:51:10 +01:00
Ha Thach 57bbf3ad2b
Merge pull request #2391 from IngHK/cdc_ch34x_support
initial support of CH34x CDC device
2024-01-22 23:08:16 +07:00
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