author
int64
658
755k
date
stringlengths
19
19
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
list
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
281,158
27.01.2022 22:26:51
-32,400
d7cbfaaa0a83570c5094ae84262ee9ce83856aae
Add hcd into source list
[ { "change_type": "MODIFY", "old_path": "hw/bsp/frdm_kl25z/board.mk", "new_path": "hw/bsp/frdm_kl25z/board.mk", "diff": "@@ -23,6 +23,7 @@ LD_FILE = $(MCU_DIR)/gcc/MKL25Z128xxx4_flash.ld\nSRC_C += \\\nsrc/portable/nxp/khci/dcd_khci.c \\\n+ src/portable/nxp/khci/hcd_khci.c \\\n$(MCU_DIR)/system_MKL25Z...
C
MIT License
hathach/tinyusb
Add hcd into source list
281,158
27.01.2022 23:38:19
-32,400
03d2e32dc15adf9ee28772dfaecc52fac940f0d9
Fix handling for pending transfers
[ { "change_type": "MODIFY", "old_path": "src/portable/nxp/khci/hcd_khci.c", "new_path": "src/portable/nxp/khci/hcd_khci.c", "diff": "@@ -269,7 +269,8 @@ static void suspend_transfer(int pipenum, buffer_descriptor_t *bd)\npipe_state_t *pipe = &_hcd.pipe[pipenum];\npipe->buffer = bd->addr;\npipe->data ...
C
MIT License
hathach/tinyusb
Fix handling for pending transfers
281,069
01.02.2022 23:45:52
-3,600
e1f0c484c628fd9f2b66ef517a2fda9ace75dce0
Modifications for CCRX toolchain
[ { "change_type": "MODIFY", "old_path": "src/common/tusb_compiler.h", "new_path": "src/common/tusb_compiler.h", "diff": "* Nth position is the same as the number of arguments\n* - ##__VA_ARGS__ is used to deal with 0 paramerter (swallows comma)\n*------------------------------------------------------...
C
MIT License
hathach/tinyusb
Modifications for CCRX toolchain
281,116
09.02.2022 08:19:01
28,800
2df57d2be0ad5e42ab0fbdb132d1921ca190632c
Nit spelling correction
[ { "change_type": "MODIFY", "old_path": "hw/bsp/family_support.cmake", "new_path": "hw/bsp/family_support.cmake", "diff": "@@ -2,7 +2,7 @@ if (NOT TARGET _family_support_marker)\nadd_library(_family_support_marker INTERFACE)\nif (NOT FAMILY)\n- message(FATAL_ERROR \"You must set a FAMILY variable for...
C
MIT License
hathach/tinyusb
Nit spelling correction
281,074
16.02.2022 08:29:20
21,600
a72d0245fa33e05a4b3fc44efd5e6bf2560722c6
Fix link to supported boards It used to point to `boards.md`, which doesn't exist.
[ { "change_type": "MODIFY", "old_path": "docs/reference/getting_started.rst", "new_path": "docs/reference/getting_started.rst", "diff": "@@ -37,7 +37,7 @@ It is relatively simple to incorporate tinyusb to your (existing) project\nExamples\n--------\n-For your convenience, TinyUSB contains a handful o...
C
MIT License
hathach/tinyusb
Fix link to supported boards It used to point to `boards.md`, which doesn't exist.
281,075
23.02.2022 18:27:52
-3,600
81e33477ea2d2a4f056d8d9c4cacfbbd7a4bc8e8
Fix CPP compilation with IAR IAR defines __STDC_VERSION__ in cpp as well. Which causes TU_VERIFY_STATIC to be defined as _Static_assert instead of cpp's static_assert. This reorders __cplusplus__ to be first, then to fallback to __STDC_VERSION__ if not CPP.
[ { "change_type": "MODIFY", "old_path": "src/common/tusb_compiler.h", "new_path": "src/common/tusb_compiler.h", "diff": "#endif\n// Compile-time Assert\n-#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L\n- #define TU_VERIFY_STATIC _Static_assert\n-#elif defined (__cplusplus) && __cpluspl...
C
MIT License
hathach/tinyusb
Fix CPP compilation with IAR IAR defines __STDC_VERSION__ in cpp as well. Which causes TU_VERIFY_STATIC to be defined as _Static_assert instead of cpp's static_assert. This reorders __cplusplus__ to be first, then to fallback to __STDC_VERSION__ if not CPP.
281,144
25.02.2022 05:54:41
-7,200
8eeda60bd0e81fb3fe7211014ab672b23dc847a3
Set the standard inquiry response additional length field. * The standard inquiry response additional length field needs to be set to the length in bytes of the remaining standard inquiry data (i.e. N - 5), otherwise the kernel driver issues a warning about short inquiry response..
[ { "change_type": "MODIFY", "old_path": "src/class/msc/msc_device.c", "new_path": "src/class/msc/msc_device.c", "diff": "@@ -753,6 +753,7 @@ static int32_t proc_builtin_scsi(uint8_t lun, uint8_t const scsi_cmd[16], uint8_\n.is_removable = 1,\n.version = 2,\n.response_data_format = 2,\n+ .additional_l...
C
MIT License
hathach/tinyusb
Set the standard inquiry response additional length field. * The standard inquiry response additional length field needs to be set to the length in bytes of the remaining standard inquiry data (i.e. N - 5), otherwise the kernel driver issues a warning about short inquiry response..
281,161
01.03.2022 17:24:28
28,800
1b338b288c3e1b91f8b2b77ef3305142188f922e
in TUD_AUDIO_HEADSET_STEREO_DESCRIPTOR, _nitfs should be 3. I believe that there is a mistake in the definition of TUD_AUDIO_HEADSET_STEREO_DESCRIPTOR. The nitfs in the audio descriptor is always 3 regardless of ITF_NUM_TOTAL.
[ { "change_type": "MODIFY", "old_path": "examples/device/uac2_headset/src/usb_descriptors.h", "new_path": "examples/device/uac2_headset/src/usb_descriptors.h", "diff": "@@ -86,7 +86,7 @@ enum\n#define TUD_AUDIO_HEADSET_STEREO_DESCRIPTOR(_stridx, _epout, _epin) \\\n/* Standard Interface Association De...
C
MIT License
hathach/tinyusb
in TUD_AUDIO_HEADSET_STEREO_DESCRIPTOR, _nitfs should be 3. I believe that there is a mistake in the definition of TUD_AUDIO_HEADSET_STEREO_DESCRIPTOR. The nitfs in the audio descriptor is always 3 regardless of ITF_NUM_TOTAL.
281,102
05.03.2022 17:07:04
-3,600
2bef4410f9ca71e60ce4072cca02ca6b544c0caa
Add stm32wb cmsis and hal driver submodules from ST
[ { "change_type": "MODIFY", "old_path": ".gitmodules", "new_path": ".gitmodules", "diff": "[submodule \"hw/mcu/st/stm32l5xx_hal_driver\"]\npath = hw/mcu/st/stm32l5xx_hal_driver\nurl = https://github.com/STMicroelectronics/stm32l5xx_hal_driver.git\n+[submodule \"hw/mcu/st/cmsis_device_wb\"]\n+ path = ...
C
MIT License
hathach/tinyusb
Add stm32wb cmsis and hal driver submodules from ST
281,091
07.03.2022 08:04:49
0
65bf5ddb1bfe87719fc612d1eae44087b87e682a
Modify the wrong macro definition code
[ { "change_type": "MODIFY", "old_path": "src/portable/synopsys/dwc2/dwc2_type.h", "new_path": "src/portable/synopsys/dwc2/dwc2_type.h", "diff": "@@ -986,16 +986,16 @@ TU_VERIFY_STATIC(offsetof(dwc2_regs_t, fifo ) == 0x1000, \"incorrect size\");\n/******************** Bit definition for OTG register *...
C
MIT License
hathach/tinyusb
Modify the wrong macro definition code
281,102
05.03.2022 17:09:04
-3,600
a18ac842298d3742dc7044bd0db5c2351a4219a8
Add support for STM32WB mcu
[ { "change_type": "MODIFY", "old_path": "src/common/tusb_mcu.h", "new_path": "src/common/tusb_mcu.h", "diff": "#define TUP_DCD_ENDPOINT_MAX 8\n#endif\n+#elif TU_CHECK_MCU(OPT_MCU_STM32WB)\n+#define TUP_DCD_ENDPOINT_MAX 8\n+\n//------------- Sony -------------//\n#elif TU_CHECK_MCU(OPT_MCU_CXD56)\n#de...
C
MIT License
hathach/tinyusb
Add support for STM32WB mcu
281,102
05.03.2022 17:12:01
-3,600
76c8d4d95b78ae479ce21e8780c50c733ac18829
Add support for nucleo-wb55rg
[ { "change_type": "ADD", "old_path": null, "new_path": "hw/bsp/stm32wb/boards/stm32wb55nucleo/board.h", "diff": "+/*\n+ * The MIT License (MIT)\n+ *\n+ * Copyright (c) 2022, Jerzy Kasenberg\n+ *\n+ * Permission is hereby granted, free of charge, to any person obtaining a copy\n+ * of this software an...
C
MIT License
hathach/tinyusb
Add support for nucleo-wb55rg
281,131
07.03.2022 15:33:27
-3,600
61615203fde586211854e531a5c6a88da5c8ea4a
Add missing releases to Mynewt repository.yml This make it possible to setup Mynewt project with latest releases.
[ { "change_type": "MODIFY", "old_path": "repository.yml", "new_path": "repository.yml", "diff": "@@ -9,7 +9,9 @@ repo.versions:\n\"0.10.0\": \"0.10.0\"\n\"0.10.1\": \"0.10.1\"\n\"0.11.0\": \"0.11.0\"\n+ \"0.12.0\": \"0.12.0\"\n+ \"0.13.0\": \"0.13.0\"\n\"0-dev\": \"0.0.0\" # master\n- \"0-latest\": \...
C
MIT License
hathach/tinyusb
Add missing releases to Mynewt repository.yml This make it possible to setup Mynewt project with latest releases.
281,097
14.03.2022 20:40:33
-3,600
f212899b54740479eff225d89432d88f0a14f17e
Add SOF callback function for feedback value determination in uac - wip!
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.c", "new_path": "src/class/audio/audio_device.c", "diff": "@@ -306,6 +306,13 @@ typedef struct\n#if CFG_TUD_AUDIO_ENABLE_FEEDBACK_EP\nuint32_t fb_val; // Feedback value for asynchronous mode (in 16.16 format).\n+\n+#if CFG_TUD_AUDI...
C
MIT License
hathach/tinyusb
Add SOF callback function for feedback value determination in uac - wip!
281,097
15.03.2022 20:30:31
-3,600
c9b444e771e138ee50ed8cbff67d895722b46008
Implement 16.16 fixed point feedback value calculation
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.c", "new_path": "src/class/audio/audio_device.c", "diff": "@@ -310,7 +310,8 @@ typedef struct\n#if CFG_TUD_AUDIO_ENABLE_FEEDBACK_DETERMINATION_WITHIN_SOF_ISR\nuint8_t n_frames; // Number of (micro)frames used to estimate feedback v...
C
MIT License
hathach/tinyusb
Implement 16.16 fixed point feedback value calculation
281,097
15.03.2022 20:45:06
-3,600
90502739c34b8cbcf37229031eb4f575c33311fa
Fix cycle count calculation
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.c", "new_path": "src/class/audio/audio_device.c", "diff": "@@ -310,6 +310,7 @@ typedef struct\n#if CFG_TUD_AUDIO_ENABLE_FEEDBACK_DETERMINATION_WITHIN_SOF_ISR\nuint8_t n_frames; // Number of (micro)frames used to estimate feedback v...
C
MIT License
hathach/tinyusb
Fix cycle count calculation
281,097
16.03.2022 07:13:38
-3,600
92ac041869b79aba6948e6440bbfc51ba77130ac
Add todos and comments
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.c", "new_path": "src/class/audio/audio_device.c", "diff": "@@ -2047,6 +2047,8 @@ void audiod_sof (uint8_t rhport, uint32_t frame_count)\nuint32_t n_cylces = tud_audio_n_get_fm_n_cycles_cb(rhport, audio->ep_fb);\nuint32_t feedback =...
C
MIT License
hathach/tinyusb
Add todos and comments
281,097
16.03.2022 07:53:47
-3,600
9fde8f2d9e311afc6ea3707f1ac3b245e0816a4c
Fix DSTS_FNSOF in dwc2.c
[ { "change_type": "MODIFY", "old_path": "src/portable/synopsys/dwc2/dcd_dwc2.c", "new_path": "src/portable/synopsys/dwc2/dcd_dwc2.c", "diff": "@@ -1276,7 +1276,7 @@ void dcd_int_handler(uint8_t rhport)\nif (_sof_en)\n{\n- uint32_t frame = (dwc2->dsts & (USB_OTG_DSTS_FNSOF)) >> 8;\n+ uint32_t frame = ...
C
MIT License
hathach/tinyusb
Fix DSTS_FNSOF in dwc2.c
281,097
16.03.2022 08:05:31
-3,600
ceac9d64c07b95d2c34263386e212e5480cda97c
Disable CFG_TUD_AUDIO_ENABLE_FEEDBACK_DETERMINATION_WITHIN_SOF_ISR By default disable CFG_TUD_AUDIO_ENABLE_FEEDBACK_DETERMINATION_WITHIN_SOF_ISR such that current examples still work.
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.c", "new_path": "src/class/audio/audio_device.c", "diff": "@@ -430,7 +430,7 @@ static inline uint8_t tu_desc_subtype(void const* desc)\n}\n#endif\n-#if CFG_TUD_AUDIO_ENABLE_FEEDBACK_DETERMINATION_WITHIN_SOF_ISR\n+#if CFG_TUD_AUDIO_...
C
MIT License
hathach/tinyusb
Disable CFG_TUD_AUDIO_ENABLE_FEEDBACK_DETERMINATION_WITHIN_SOF_ISR By default disable CFG_TUD_AUDIO_ENABLE_FEEDBACK_DETERMINATION_WITHIN_SOF_ISR such that current examples still work.
281,097
19.03.2022 13:37:54
-3,600
fdfde8883ff6d929f44706d1fd3ee3cec8702bac
Implement power of two, shift, and float calculation
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.c", "new_path": "src/class/audio/audio_device.c", "diff": "@@ -311,8 +311,12 @@ typedef struct\nuint8_t n_frames; // Number of (micro)frames used to estimate feedback value\nuint8_t n_frames_current; // Current (micro)frame number\...
C
MIT License
hathach/tinyusb
Implement power of two, shift, and float calculation
281,097
20.03.2022 11:21:33
-3,600
ff2dc0a5471c3166a1995cc2abb5f42a8a9ab035
Streamline feedback calc, find fb interval from descriptors, inc. checks
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.c", "new_path": "src/class/audio/audio_device.c", "diff": "@@ -305,18 +305,29 @@ typedef struct\n#endif\n#if CFG_TUD_AUDIO_ENABLE_FEEDBACK_EP\n+#if !CFG_TUD_AUDIO_ENABLE_FEEDBACK_DETERMINATION_WITHIN_SOF_ISR\nuint32_t fb_val; // Fe...
C
MIT License
hathach/tinyusb
Streamline feedback calc, find fb interval from descriptors, inc. checks
281,097
20.03.2022 12:04:10
-3,600
5aba4642707e8885b9d10837ac60fb0724d3503f
Add magic checks
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.c", "new_path": "src/class/audio/audio_device.c", "diff": "@@ -2116,6 +2116,16 @@ void audiod_sof (uint8_t rhport, uint32_t frame_count)\nfeedback = ((n_cylces - audio->fb_n_cycles_old) << 3) * audio->fb_param_factor_N / audio->fb_...
C
MIT License
hathach/tinyusb
Add magic checks
281,097
20.03.2022 12:08:27
-3,600
8ffdbfebce56c709b1c2c2396498e9fc32555a77
Streamline call of tud_audio_set_itf_cb() within audiod_set_interface()
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.c", "new_path": "src/class/audio/audio_device.c", "diff": "@@ -1631,7 +1631,7 @@ static bool audiod_set_interface(uint8_t rhport, tusb_control_request_t const *\n#endif\n// Invoke callback - can be used to trigger data sampling if ...
C
MIT License
hathach/tinyusb
Streamline call of tud_audio_set_itf_cb() within audiod_set_interface()
281,097
20.03.2022 12:57:53
-3,600
5cd67baf15aa24c5f5eae18b9f9615e3af807704
Disable SOF ISR feedback calcuation by default s.t. examples still work
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.h", "new_path": "src/class/audio/audio_device.h", "diff": "// Determine feedback value within SOF ISR within audio driver - if disabled the user has to call tud_audio_n_fb_set() with a suitable feedback value on its own. If done wi...
C
MIT License
hathach/tinyusb
Disable SOF ISR feedback calcuation by default s.t. examples still work
281,141
22.03.2022 15:51:53
-37,080
1d254be1a48264f906c5bbc50c4eca56eea063df
Increase stack size to 4096 bytes
[ { "change_type": "ADD", "old_path": null, "new_path": "hw/bsp/ch32v307/Link.ld", "diff": "+ENTRY( _start )\n+\n+__stack_size = 4096;\n+\n+PROVIDE( _stack_size = __stack_size );\n+\n+\n+MEMORY\n+{\n+ FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 288K\n+ RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 32K\n+}\...
C
MIT License
hathach/tinyusb
Increase stack size to 4096 bytes
281,141
22.03.2022 23:17:09
-37,080
d828d203fcdc9f6839330e1007a331f740224ab8
Skip freertos for ch32v307
[ { "change_type": "MODIFY", "old_path": "examples/device/cdc_msc_freertos/skip.txt", "new_path": "examples/device/cdc_msc_freertos/skip.txt", "diff": "@@ -6,5 +6,6 @@ mcu:MKL25ZXX\nmcu:RP2040\nmcu:SAMX7X\nmcu:GD32VF103\n+mcu:CH32V307\nfamily:broadcom_64bit\nfamily:broadcom_32bit\n\\ No newline at end...
C
MIT License
hathach/tinyusb
Skip freertos for ch32v307
281,141
22.03.2022 23:48:06
-37,080
cdb8a1a2a1dd863f35fd91d58c18ec83115f9326
Clean up driver
[ { "change_type": "MODIFY", "old_path": "src/common/tusb_mcu.h", "new_path": "src/common/tusb_mcu.h", "diff": "//------------- WCH -------------//\n#elif TU_CHECK_MCU(OPT_MCU_CH32V307)\n- #define TUP_DCD_ENDPOINT_MAX 8\n+ #define TUP_DCD_ENDPOINT_MAX 16\n#endif\n" }, { "change_type": "MODIFY"...
C
MIT License
hathach/tinyusb
Clean up driver
281,097
09.04.2022 16:36:26
-7,200
7094ff7125b6961d52eaca0e3b8d42f3b57a1ee9
Introduce 3 fb calc options: NO_SOF_BY_USER, SOF_BY_AUDIO_D, SOF_BY_USER
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.c", "new_path": "src/class/audio/audio_device.c", "diff": "@@ -305,11 +305,12 @@ typedef struct\n#endif\n#if CFG_TUD_AUDIO_ENABLE_FEEDBACK_EP\n-#if !CFG_TUD_AUDIO_ENABLE_FEEDBACK_DETERMINATION_WITHIN_SOF_ISR\n+#if CFG_TUD_AUDIO_ENA...
C
MIT License
hathach/tinyusb
Introduce 3 fb calc options: NO_SOF_BY_USER, SOF_BY_AUDIO_D, SOF_BY_USER
281,097
16.04.2022 14:47:42
-7,200
11f0ffd9a833f4ea9b28fd12f4dff03e9bb99331
Generalize feedback value min and max
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.c", "new_path": "src/class/audio/audio_device.c", "diff": "@@ -312,6 +312,8 @@ typedef struct\n#if CFG_TUD_AUDIO_ENABLE_FEEDBACK_DETERMINATION_OPTION == CFG_TUD_AUDIO_ENABLE_FEEDBACK_DETERMINATION_OPTION_SOF_BY_AUDIO_DRIVER\nvolati...
C
MIT License
hathach/tinyusb
Generalize feedback value min and max
281,163
17.04.2022 01:16:49
-3,600
16c13bc110fb0959e704b417706dd303afc69981
tusb_types: Added descriptive strings for edpt_dir and edpt_type
[ { "change_type": "MODIFY", "old_path": "src/common/tusb_types.h", "new_path": "src/common/tusb_types.h", "diff": "@@ -513,6 +513,16 @@ static inline uint16_t tu_edpt_packet_size(tusb_desc_endpoint_t const* desc_ep)\nreturn tu_le16toh(desc_ep->wMaxPacketSize) & TU_GENMASK(10, 0);\n}\n+static inline c...
C
MIT License
hathach/tinyusb
tusb_types: Added descriptive strings for edpt_dir and edpt_type
281,163
17.04.2022 01:30:03
-3,600
35668fc523c7c972bf91f32dbb3b50ad8b4f3c74
hcd_rp2040: Add bulk in/out+interrupt out support. Added support for allocating hw_endpoints for non-interrupt endpoints. Allow endpoints to be used in either direction by updating bit checks.
[ { "change_type": "MODIFY", "old_path": "src/portable/raspberrypi/rp2040/hcd_rp2040.c", "new_path": "src/portable/raspberrypi/rp2040/hcd_rp2040.c", "diff": "@@ -139,18 +139,22 @@ static void hw_handle_buff_status(void)\nfor (uint i = 1; i <= USB_HOST_INTERRUPT_ENDPOINTS && remaining_buffers; i++)\n{\...
C
MIT License
hathach/tinyusb
hcd_rp2040: Add bulk in/out+interrupt out support. Added support for allocating hw_endpoints for non-interrupt endpoints. Allow endpoints to be used in either direction by updating bit checks.
281,150
19.04.2022 21:53:00
-7,200
52190e7308c723df952c8bfced25f70d333e22fe
Update dwc2_stm32.h Support STM32H7 with only 1 USB port: H72x / H73x / H7Ax / H7Bx
[ { "change_type": "MODIFY", "old_path": "src/portable/synopsys/dwc2/dwc2_stm32.h", "new_path": "src/portable/synopsys/dwc2/dwc2_stm32.h", "diff": "#define EP_FIFO_SIZE_FS 4096\n#define EP_MAX_HS 9\n#define EP_FIFO_SIZE_HS 4096\n+ #if (! defined USB2_OTG_FS)\n+ // H7 with only 1 USB port: H72x / H73x ...
C
MIT License
hathach/tinyusb
Update dwc2_stm32.h Support STM32H7 with only 1 USB port: H72x / H73x / H7Ax / H7Bx
281,150
20.04.2022 11:29:03
-7,200
c422b9ef419d4abc52b8c1e95ba4577ac6ae6a8c
Update dwc2_stm32.h Add missing #endif
[ { "change_type": "MODIFY", "old_path": "src/portable/synopsys/dwc2/dwc2_stm32.h", "new_path": "src/portable/synopsys/dwc2/dwc2_stm32.h", "diff": "// USB_OTG_FS_PERIPH_BASE and OTG_FS_IRQn not defined\n#define USB_OTG_FS_PERIPH_BASE USB1_OTG_HS_PERIPH_BASE\n#define OTG_FS_IRQn OTG_HS_IRQn\n+ #endif\n...
C
MIT License
hathach/tinyusb
Update dwc2_stm32.h Add missing #endif
281,049
24.04.2022 16:49:29
-3,600
35d1a71ed7d3b3ea42b4d38c7cdc85233b815348
GH Update to actions/checkout@v3
[ { "change_type": "MODIFY", "old_path": ".github/workflows/build_aarch64.yml", "new_path": ".github/workflows/build_aarch64.yml", "diff": "@@ -24,13 +24,13 @@ jobs:\nuses: actions/setup-python@v2\n- name: Checkout TinyUSB\n- uses: actions/checkout@v2\n+ uses: actions/checkout@v3\n- name: Checkout com...
C
MIT License
hathach/tinyusb
GH Update to actions/checkout@v3
281,150
25.04.2022 14:06:15
-7,200
15c01f20ecdb3b9ff184f2311e65e95e4cd8e5cd
Update tusb_option.h Makes ISO compiler happy
[ { "change_type": "MODIFY", "old_path": "src/tusb_option.h", "new_path": "src/tusb_option.h", "diff": "#ifndef _TUSB_OPTION_H_\n#define _TUSB_OPTION_H_\n+// To avoid GCC compiler warnings when -pedantic option is used (strict ISO C)\n+typedef int make_iso_compilers_happy ;\n+\n#include \"common/tusb_...
C
MIT License
hathach/tinyusb
Update tusb_option.h Makes ISO compiler happy
281,102
01.05.2022 14:04:36
-7,200
d51743a21cb23f7e0c81844f12bba08420a52a29
Add TU_BREAKPOINT for mips architecture _mips is provided by xc32-gcc
[ { "change_type": "MODIFY", "old_path": "src/common/tusb_verify.h", "new_path": "src/common/tusb_verify.h", "diff": "#elif defined(__riscv)\n#define TU_BREAKPOINT() do { __asm(\"ebreak\\n\"); } while(0)\n+#elif defined(_mips)\n+ #define TU_BREAKPOINT() do { __asm(\"sdbbp 0\"); } while (0)\n+\n#else\n...
C
MIT License
hathach/tinyusb
Add TU_BREAKPOINT for mips architecture _mips is provided by xc32-gcc
281,102
01.05.2022 14:14:42
-7,200
c145777e0eb6b9add414504dd8cf4ec7da6cc61a
dcd_pic32: Add asserts transfer sanity check TU_ASSERTS added to detect transfer inconsistency.
[ { "change_type": "MODIFY", "old_path": "src/portable/microchip/pic32mz/dcd_pic32mz.c", "new_path": "src/portable/microchip/pic32mz/dcd_pic32mz.c", "diff": "@@ -530,6 +530,7 @@ static void ep0_handle_rx(void)\ntransferred = rx_fifo_read(0, xfer->buffer + xfer->transferred);\nxfer->transferred += tran...
C
MIT License
hathach/tinyusb
dcd_pic32: Add asserts transfer sanity check TU_ASSERTS added to detect transfer inconsistency.
281,092
03.05.2022 09:52:10
-7,200
f452ab745ef953d74704bc5429ff16a80a5b325a
overwrite grstctl on edpt_disable
[ { "change_type": "MODIFY", "old_path": "src/portable/synopsys/dwc2/dcd_dwc2.c", "new_path": "src/portable/synopsys/dwc2/dcd_dwc2.c", "diff": "@@ -796,7 +796,7 @@ static void dcd_edpt_disable (uint8_t rhport, uint8_t ep_addr, bool stall)\n}\n// Flush the FIFO, and wait until we have confirmed it clea...
C
MIT License
hathach/tinyusb
overwrite grstctl on edpt_disable
281,161
05.05.2022 14:36:02
25,200
f19d913b5d67ecf1b4f4d84c9d9a5880376f5a21
set irq priority for freertos
[ { "change_type": "MODIFY", "old_path": "hw/bsp/imxrt/family.c", "new_path": "hw/bsp/imxrt/family.c", "diff": "@@ -51,7 +51,10 @@ void board_init(void)\nSysTick_Config(SystemCoreClock / 1000);\n#elif CFG_TUSB_OS == OPT_OS_FREERTOS\n// If freeRTOS is used, IRQ priority is limit by max syscall ( smalle...
C
MIT License
hathach/tinyusb
set irq priority for freertos
281,119
24.05.2022 21:45:35
-7,200
16c0eb0d2f2e2afe551d7bd239cb8092df7b2128
fix links in docs changed markdown formatting to rst formatting
[ { "change_type": "MODIFY", "old_path": "docs/reference/index.rst", "new_path": "docs/reference/index.rst", "diff": "@@ -25,7 +25,7 @@ Supports multiple device configurations by dynamically changing usb descriptors.\n- Vendor-specific class support with generic In & Out endpoints. Can be used with MS...
C
MIT License
hathach/tinyusb
fix links in docs changed markdown formatting to rst formatting
281,107
28.05.2022 19:48:20
-7,200
a87ccee74392922761a0d6379b91ef50098aab01
Fix printf long int compiler error
[ { "change_type": "MODIFY", "old_path": "examples/device/uac2_headset/src/main.c", "new_path": "examples/device/uac2_headset/src/main.c", "diff": "@@ -156,7 +156,7 @@ static bool tud_audio_clock_get_request(uint8_t rhport, audio_control_request_t\n{\nif (request->bRequest == AUDIO_CS_REQ_CUR)\n{\n- T...
C
MIT License
hathach/tinyusb
Fix printf long int compiler error
281,108
29.05.2022 13:46:10
-33,480
688a3a0cc2ba23c671df453257fdf3e601934588
Fix non-trivial designated initializers compile error
[ { "change_type": "MODIFY", "old_path": "src/host/hcd.h", "new_path": "src/host/hcd.h", "diff": "@@ -204,13 +204,11 @@ void hcd_event_xfer_complete(uint8_t dev_addr, uint8_t ep_addr, uint32_t xferred\n.rhport = 0, // TODO correct rhport\n.event_id = HCD_EVENT_XFER_COMPLETE,\n.dev_addr = dev_addr,\n- ...
C
MIT License
hathach/tinyusb
Fix non-trivial designated initializers compile error
281,108
29.05.2022 13:46:50
-33,480
9e30ec4f160e4816e3c43a0590e6c58832a66cac
Hub: Retry port status transfer if failed
[ { "change_type": "MODIFY", "old_path": "src/host/hub.c", "new_path": "src/host/hub.c", "diff": "@@ -169,7 +169,7 @@ bool hub_port_get_status(uint8_t hub_addr, uint8_t hub_port, void* resp,\n};\nTU_LOG2(\"HUB Get Port Status: addr = %u port = %u\\r\\n\", hub_addr, hub_port);\n- TU_ASSERT( tuh_control...
C
MIT License
hathach/tinyusb
Hub: Retry port status transfer if failed
281,108
29.05.2022 13:48:36
-33,480
b7c8cb3c41ba0fc7f9c0db9379d5c65871f6374d
Hub: Unplug downstream devices on non-root hub disconnect
[ { "change_type": "MODIFY", "old_path": "src/host/usbh.c", "new_path": "src/host/usbh.c", "diff": "@@ -1107,6 +1107,12 @@ static void process_device_unplugged(uint8_t rhport, uint8_t hub_addr, uint8_t h\n{\nTU_LOG2(\" Address = %u\\r\\n\", dev_addr);\n+ // If the device itself is a usb hub, unplug do...
C
MIT License
hathach/tinyusb
Hub: Unplug downstream devices on non-root hub disconnect
281,108
29.05.2022 13:49:24
-33,480
7df7590f7f96f0647e3164c7c7b368decffc87a2
Hub: Remove multi-level hub bypass
[ { "change_type": "MODIFY", "old_path": "src/host/usbh.c", "new_path": "src/host/usbh.c", "diff": "@@ -1513,14 +1513,6 @@ static bool _parse_configuration_descriptor(uint8_t dev_addr, tusb_desc_configur\nuint16_t const drv_len = tu_desc_get_interface_total_len(desc_itf, assoc_itf_count, desc_end-p_de...
C
MIT License
hathach/tinyusb
Hub: Remove multi-level hub bypass
281,166
13.01.2022 11:17:08
0
19d054f7892beda36c7f6fe5f07d84a13db7df16
hcd_rp2040 improvements: - Stall now has priority over other interrupt responses - Delete eunused hcd_edpt_busy - Assert !ep->active when trying to start a new xfer - Assert !ep->active when handling buff_status bits - Set ep->xferred_len to 8 once a setup packet is finished so the data structure is accurate
[ { "change_type": "MODIFY", "old_path": "src/portable/raspberrypi/rp2040/hcd_rp2040.c", "new_path": "src/portable/raspberrypi/rp2040/hcd_rp2040.c", "diff": "@@ -104,6 +104,8 @@ static void __no_inline_not_in_flash_func(hw_xfer_complete)(struct hw_endpoint *\nstatic void __no_inline_not_in_flash_func(...
C
MIT License
hathach/tinyusb
hcd_rp2040 improvements: - Stall now has priority over other interrupt responses - Delete eunused hcd_edpt_busy - Assert !ep->active when trying to start a new xfer - Assert !ep->active when handling buff_status bits - Set ep->xferred_len to 8 once a setup packet is finished so the data structure is accurate
281,035
16.06.2022 11:03:53
18,000
c5ba4af25babbf7fc6ee97d0f6ec06079e5f1b0f
rp2040: make moving 1K of code into RAM optional - and off by default
[ { "change_type": "MODIFY", "old_path": "src/portable/raspberrypi/rp2040/dcd_rp2040.c", "new_path": "src/portable/raspberrypi/rp2040/dcd_rp2040.c", "diff": "@@ -185,7 +185,7 @@ static void hw_endpoint_xfer(uint8_t ep_addr, uint8_t *buffer, uint16_t total_by\nhw_endpoint_xfer_start(ep, buffer, total_b...
C
MIT License
hathach/tinyusb
rp2040: make moving 1K of code into RAM optional - and off by default
281,124
16.06.2022 16:22:55
25,200
e9089b993f32a5437614008ec14458ad577cc28f
Fix typo in audiod_rx_done_cb in audio_device.c
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.c", "new_path": "src/class/audio/audio_device.c", "diff": "@@ -562,7 +562,7 @@ static bool audiod_rx_done_cb(uint8_t rhport, audiod_function_t* audio, uint16_t\ncase AUDIO_FORMAT_TYPE_I:\n- switch (audio->format_type_I_tx)\n+ switc...
C
MIT License
hathach/tinyusb
Fix typo in audiod_rx_done_cb in audio_device.c
281,041
16.06.2022 16:57:20
25,200
05fc2fa7a64c32aa748c8c0f1fe119f417fed074
Stub out dcd_edpt_close for samd Not having this prevents the device from finishing the mounting process. Tested on a SAMD51 and didn't seem to need to actually do anything in the close function.
[ { "change_type": "MODIFY", "old_path": "src/portable/microchip/samd/dcd_samd.c", "new_path": "src/portable/microchip/samd/dcd_samd.c", "diff": "@@ -250,6 +250,13 @@ bool dcd_edpt_open (uint8_t rhport, tusb_desc_endpoint_t const * desc_edpt)\nreturn true;\n}\n+void dcd_edpt_close (uint8_t rhport, uin...
C
MIT License
hathach/tinyusb
Stub out dcd_edpt_close for samd Not having this prevents the device from finishing the mounting process. Tested on a SAMD51 and didn't seem to need to actually do anything in the close function.
281,130
17.06.2022 16:50:24
-28,800
1001d2da401bc9abb98207d8f4be239ac62d5c33
Fix typo for log format
[ { "change_type": "MODIFY", "old_path": "src/portable/raspberrypi/rp2040/rp2040_usb.c", "new_path": "src/portable/raspberrypi/rp2040/rp2040_usb.c", "diff": "@@ -174,7 +174,7 @@ static void __tusb_irq_path_func(_hw_endpoint_start_next_buffer)(struct hw_endpo\n*ep->endpoint_control = ep_ctrl;\n- TU_LOG...
C
MIT License
hathach/tinyusb
Fix typo for log format
281,035
17.06.2022 09:13:40
18,000
c45118dacf176b232e22c49ed68acf8c95a1dfc6
rp2040: use shared IRQ handlers, so user can also hook the USB IRQ
[ { "change_type": "MODIFY", "old_path": "src/portable/raspberrypi/rp2040/dcd_rp2040.c", "new_path": "src/portable/raspberrypi/rp2040/dcd_rp2040.c", "diff": "@@ -363,7 +363,7 @@ void dcd_init (uint8_t rhport)\nusb_hw->pwr = USB_USB_PWR_VBUS_DETECT_BITS | USB_USB_PWR_VBUS_DETECT_OVERRIDE_EN_BITS;\n#end...
C
MIT License
hathach/tinyusb
rp2040: use shared IRQ handlers, so user can also hook the USB IRQ
281,035
17.06.2022 12:54:28
18,000
2f7f3e604eb2641dd87a524ab282939bda6b3348
Re-add some warning suppression for rp2040
[ { "change_type": "MODIFY", "old_path": "hw/bsp/rp2040/family.cmake", "new_path": "hw/bsp/rp2040/family.cmake", "diff": "@@ -232,6 +232,25 @@ if (NOT TARGET _rp2040_family_inclusion_marker)\n# This method must be called from the project scope to suppress known warnings in TinyUSB source files\nfuncti...
C
MIT License
hathach/tinyusb
Re-add some warning suppression for rp2040
281,041
17.06.2022 16:07:32
25,200
2cc2a90215f94692f18e0a402470c58366bfca47
Allow more endpoint packet sizes for SAMD Tested on SAMD51 - we can allow more packet sizes by checking that the set size value is greater than the requested packet size instead of exactly the same.
[ { "change_type": "MODIFY", "old_path": "src/portable/microchip/samd/dcd_samd.c", "new_path": "src/portable/microchip/samd/dcd_samd.c", "diff": "@@ -222,14 +222,14 @@ bool dcd_edpt_open (uint8_t rhport, tusb_desc_endpoint_t const * desc_edpt)\nUsbDeviceDescBank* bank = &sram_registers[epnum][dir];\nu...
C
MIT License
hathach/tinyusb
Allow more endpoint packet sizes for SAMD Tested on SAMD51 - we can allow more packet sizes by checking that the set size value is greater than the requested packet size instead of exactly the same.
281,161
21.06.2022 11:12:39
25,200
742b99f6894ae2b4643c96790e51726e4ba9dc58
Added The Teensy 4.1 board The Teensy 4.1 board has an 8MB W25Q64JV as opposed to the 2MB flash on the Teensy 4.0. This largely doensn't matter for TinyUsb, except when you attempt to access any memory in the flash above the 2MB boundary, when it fails with a hard fault.
[ { "change_type": "ADD", "old_path": null, "new_path": "hw/bsp/imxrt/boards/teensy_41/board.h", "diff": "+/*\n+ * The MIT License (MIT)\n+ *\n+ * Copyright (c) 2019, Ha Thach (tinyusb.org)\n+ *\n+ * Permission is hereby granted, free of charge, to any person obtaining a copy\n+ * of this software and...
C
MIT License
hathach/tinyusb
Added The Teensy 4.1 board The Teensy 4.1 board has an 8MB W25Q64JV as opposed to the 2MB flash on the Teensy 4.0. This largely doensn't matter for TinyUsb, except when you attempt to access any memory in the flash above the 2MB boundary, when it fails with a hard fault.
281,042
21.06.2022 21:27:52
14,400
e9c29e6a2d42f931ededbc3ad1467cdd5dc1ea33
Update USBTMC driver to support dynamic packet sizes (based on descriptor).
[ { "change_type": "MODIFY", "old_path": "src/class/usbtmc/usbtmc_device.c", "new_path": "src/class/usbtmc/usbtmc_device.c", "diff": "// USBTMC 3.2.2 error conditions not strictly followed\n// No local lock-out, REN, or GTL.\n// Clear message available status byte at the correct time? (488 4.3.1.3)\n-...
C
MIT License
hathach/tinyusb
Update USBTMC driver to support dynamic packet sizes (based on descriptor).
281,042
21.06.2022 22:31:09
14,400
4a9fe813a807a32bf41ba2ec266a59a443b35d6f
Update USBTMC descriptors to support high speed, set USB version to 2.0.0 for all cases.
[ { "change_type": "MODIFY", "old_path": "examples/device/usbtmc/src/usb_descriptors.c", "new_path": "examples/device/usbtmc/src/usb_descriptors.c", "diff": "#define USB_PID (0x4000 | _PID_MAP(CDC, 0) | _PID_MAP(MSC, 1) | _PID_MAP(HID, 2) | \\\n_PID_MAP(MIDI, 3) | _PID_MAP(VENDOR, 4) )\n+#define USB_V...
C
MIT License
hathach/tinyusb
Update USBTMC descriptors to support high speed, set USB version to 2.0.0 for all cases.
281,042
21.06.2022 23:17:50
14,400
3d4d37375bbfb0bc88127be3aa79930e865f35b5
USBTMC: Update test python code to use the new pyvisa namespace, and other misc fixes
[ { "change_type": "MODIFY", "old_path": "examples/device/usbtmc/visaQuery.py", "new_path": "examples/device/usbtmc/visaQuery.py", "diff": "#!/usr/bin/env python3\n-import visa\n+import pyvisa\nimport time\nimport sys\n@@ -54,9 +54,9 @@ def test_srq():\nassert (inst.read_stb() == 0)\ninst.write(\"123\...
C
MIT License
hathach/tinyusb
USBTMC: Update test python code to use the new pyvisa namespace, and other misc fixes
281,042
24.06.2022 23:06:32
14,400
239b5d52790051949c281e60ba96ac674669f026
USBTMC: Manually stall and unstall EP when clear(ENDPOINT_HALT) is received.
[ { "change_type": "MODIFY", "old_path": "src/class/usbtmc/usbtmc_device.c", "new_path": "src/class/usbtmc/usbtmc_device.c", "diff": "@@ -597,16 +597,29 @@ bool usbtmcd_control_xfer_cb(uint8_t rhport, uint8_t stage, tusb_control_request\n{\nuint32_t ep_addr = (request->wIndex);\n+ // At this point, a ...
C
MIT License
hathach/tinyusb
USBTMC: Manually stall and unstall EP when clear(ENDPOINT_HALT) is received.
281,042
26.06.2022 14:34:34
14,400
c675debfb2dcff1697cb6643afb60c26309bdfcf
USBTMC: Handle busy interrupt in.
[ { "change_type": "MODIFY", "old_path": "src/class/usbtmc/usbtmc.h", "new_path": "src/class/usbtmc/usbtmc.h", "diff": "@@ -189,7 +189,10 @@ typedef enum {\nUSBTMC_STATUS_FAILED = 0x80,\nUSBTMC_STATUS_TRANSFER_NOT_IN_PROGRESS = 0x81,\nUSBTMC_STATUS_SPLIT_NOT_IN_PROGRESS = 0x82,\n- USBTMC_STATUS_SPLIT_...
C
MIT License
hathach/tinyusb
USBTMC: Handle busy interrupt in.
281,133
27.06.2022 20:31:44
-7,200
bc4da2047bf73f81cfcd6daa9bd07901dcdff3c9
samd: Fix a lock-up situation at high traffic. This PR fixes a transmit lock-up, which happens, when data is received and sent at the sime time at moderate to high speeds, like code which just echoes incoming data. In my case, an issue was reported here:
[ { "change_type": "MODIFY", "old_path": "src/portable/microchip/samd/dcd_samd.c", "new_path": "src/portable/microchip/samd/dcd_samd.c", "diff": "@@ -286,14 +286,14 @@ bool dcd_edpt_xfer (uint8_t rhport, uint8_t ep_addr, uint8_t * buffer, uint16_t\n{\nbank->PCKSIZE.bit.MULTI_PACKET_SIZE = total_bytes;...
C
MIT License
hathach/tinyusb
samd: Fix a lock-up situation at high traffic. This PR fixes a transmit lock-up, which happens, when data is received and sent at the sime time at moderate to high speeds, like code which just echoes incoming data. In my case, an issue was reported here: https://github.com/micropython/micropython/issues/8521
281,035
29.06.2022 07:28:35
-3,600
b12863d27ca528c6d9545f98d9664d2a342fc4d6
Fix actual compiler warning on gcc 10.3.1
[ { "change_type": "MODIFY", "old_path": "src/tusb.c", "new_path": "src/tusb.c", "diff": "@@ -295,7 +295,7 @@ void tu_print_mem(void const *buf, uint32_t count, uint8_t indent)\n// fill up last row to 16 for printing ascii\nconst uint32_t remain = count%16;\n- uint8_t nback = (remain ? remain : 16);\n...
C
MIT License
hathach/tinyusb
Fix actual compiler warning on gcc 10.3.1
281,167
29.06.2022 20:28:22
-3,600
023191be23f736ccebd5eddd75d388ee1edb9e4b
Let to define CFG_BOARD_UART_BAUDRATE in CMake
[ { "change_type": "MODIFY", "old_path": "hw/bsp/board.h", "new_path": "hw/bsp/board.h", "diff": "#include \"ansi_escape.h\"\n#include \"tusb.h\"\n-#define CFG_BOARD_UART_BAUDRATE 115200\n+// Define the default baudrate\n+#ifndef CFG_BOARD_UART_BAUDRATE\n+#define CFG_BOARD_UART_BAUDRATE 115200 ///< De...
C
MIT License
hathach/tinyusb
Let to define CFG_BOARD_UART_BAUDRATE in CMake
281,133
30.06.2022 22:18:23
-7,200
60c1750a9bd79e46385680b35e12f116808894f7
mimxrt: Add/change definitions for MIMXRT11XX boards. These are mostly identical to the MIMXRT10XX, with one tiny difference.
[ { "change_type": "MODIFY", "old_path": "hw/bsp/board_mcu.h", "new_path": "hw/bsp/board_mcu.h", "diff": "#elif CFG_TUSB_MCU == OPT_MCU_VALENTYUSB_EPTRI\n// no header needed\n-#elif CFG_TUSB_MCU == OPT_MCU_MIMXRT10XX\n+#elif CFG_TUSB_MCU == OPT_MCU_MIMXRT10XX || CFG_TUSB_MCU == OPT_MCU_MIMXRT11XX\n#in...
C
MIT License
hathach/tinyusb
mimxrt: Add/change definitions for MIMXRT11XX boards. These are mostly identical to the MIMXRT10XX, with one tiny difference.
281,133
01.07.2022 08:42:46
-7,200
ec6f56768a03fcc43158b0d429e8b826825d02f7
mimxrt: Change OPT_MCU_MIMXRT1xXX to OPT_MCU_MIMXRT. Which fits both MIMXRT10XX and MIMXRT11XX.
[ { "change_type": "MODIFY", "old_path": "hw/bsp/board_mcu.h", "new_path": "hw/bsp/board_mcu.h", "diff": "#elif CFG_TUSB_MCU == OPT_MCU_VALENTYUSB_EPTRI\n// no header needed\n-#elif CFG_TUSB_MCU == OPT_MCU_MIMXRT10XX || CFG_TUSB_MCU == OPT_MCU_MIMXRT11XX\n+#elif CFG_TUSB_MCU == OPT_MCU_MIMXRT\n#includ...
C
MIT License
hathach/tinyusb
mimxrt: Change OPT_MCU_MIMXRT1xXX to OPT_MCU_MIMXRT. Which fits both MIMXRT10XX and MIMXRT11XX.
281,042
09.07.2022 17:50:17
14,400
54250d7dd5b22dee07138b925a4ad218a6defcc8
USBTMC: explicit type conversions fix
[ { "change_type": "MODIFY", "old_path": "src/class/usbtmc/usbtmc_device.c", "new_path": "src/class/usbtmc/usbtmc_device.c", "diff": "@@ -603,23 +603,23 @@ bool usbtmcd_control_xfer_cb(uint8_t rhport, uint8_t stage, tusb_control_request\nif(ep_addr == usbtmc_state.ep_bulk_out)\n{\ncriticalEnter();\n- ...
C
MIT License
hathach/tinyusb
USBTMC: explicit type conversions fix
281,035
12.07.2022 13:29:47
18,000
4bd47bcb99eef7a71ba2d45842af43e6269c30d4
disable bad gcc 6 warning
[ { "change_type": "MODIFY", "old_path": "hw/bsp/family_support.cmake", "new_path": "hw/bsp/family_support.cmake", "diff": "@@ -113,6 +113,11 @@ if (NOT TARGET _family_support_marker)\nif (CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL 8.0)\ntarget_compile_options(${TARGET} PUBLIC -Wcast-function-type...
C
MIT License
hathach/tinyusb
disable bad gcc 6 warning
281,095
03.08.2022 12:28:50
18,000
d1c61e33a617439258605555947a1ffc78519674
add 'stm32l052dap52' (STM32L052K8 MCU) board target 'dap52' is Olimex's name of their STM32L052-based fork of 'dap42'
[ { "change_type": "MODIFY", "old_path": "examples/device/uac2_headset/skip.txt", "new_path": "examples/device/uac2_headset/skip.txt", "diff": "@@ -4,3 +4,4 @@ mcu:NUC121\nmcu:SAMD11\nmcu:SAME5X\nmcu:SAMG\n+board:stm32l052dap52\n" }, { "change_type": "ADD", "old_path": null, "new_path"...
C
MIT License
hathach/tinyusb
add 'stm32l052dap52' (STM32L052K8 MCU) board target 'dap52' is Olimex's name of their STM32L052-based fork of 'dap42'
281,108
15.08.2022 17:22:13
-33,480
5efef4393c2f67773843c4ccc0a50f07dac6ece9
Hub: Expand hub helpers to handle device events
[ { "change_type": "MODIFY", "old_path": "src/host/hub.c", "new_path": "src/host/hub.c", "diff": "@@ -85,7 +85,7 @@ bool hub_port_clear_feature(uint8_t hub_addr, uint8_t hub_port, uint8_t feature,\n{\n.bmRequestType_bit =\n{\n- .recipient = TUSB_REQ_RCPT_OTHER,\n+ .recipient = (hub_port == 0) ? TUSB_R...
C
MIT License
hathach/tinyusb
Hub: Expand hub helpers to handle device events
281,108
15.08.2022 17:24:45
-33,480
aafea8ef5d6f329d66c6c1e903b8a6b33d769ad5
Hub: Rename port status callback to be more generic
[ { "change_type": "MODIFY", "old_path": "src/host/hub.c", "new_path": "src/host/hub.c", "diff": "@@ -313,7 +313,7 @@ static void config_port_power_complete (tuh_xfer_t* xfer)\n// Connection Changes\n//--------------------------------------------------------------------+\n-static void connection_get_s...
C
MIT License
hathach/tinyusb
Hub: Rename port status callback to be more generic
281,108
15.08.2022 17:27:32
-33,480
3c7b5dcaffb9ccc81e700d5b0b212e897b4b9b0d
Hub: Handle hub device status change interrupt
[ { "change_type": "MODIFY", "old_path": "src/host/hub.c", "new_path": "src/host/hub.c", "diff": "@@ -44,6 +44,7 @@ typedef struct\nuint8_t status_change; // data from status change interrupt endpoint\nhub_port_status_response_t port_status;\n+ hub_status_response_t hub_status;\n} hub_interface_t;\nCF...
C
MIT License
hathach/tinyusb
Hub: Handle hub device status change interrupt
281,108
15.08.2022 17:28:59
-33,480
2b2354d3021202f0b88d17b9356ff924cb01e45f
Hub: Clear other port feature changes
[ { "change_type": "MODIFY", "old_path": "src/host/hub.c", "new_path": "src/host/hub.c", "diff": "@@ -408,7 +408,24 @@ static void hub_port_get_status_complete (tuh_xfer_t* xfer)\nhub_port_clear_feature(daddr, port_num, HUB_FEATURE_PORT_CONNECTION_CHANGE, connection_clear_conn_change_complete, 0);\n}e...
C
MIT License
hathach/tinyusb
Hub: Clear other port feature changes
281,071
23.08.2022 17:18:32
-7,200
8a537a0092a5bea5540e238c9ff2726204879f77
Remove Hardcoded interface numbers from video descriptors Removing the Hardcoded interface numbers from the video descriptors allow the user to add other interfaces before or after the Video Control Interface and Video Streaming Interface
[ { "change_type": "MODIFY", "old_path": "examples/device/video_capture/src/usb_descriptors.h", "new_path": "examples/device/video_capture/src/usb_descriptors.h", "diff": "#define FRAME_RATE 10\nenum {\n- ITF_NUM_VIDEO_CONTROL = 0,\n+ ITF_NUM_VIDEO_CONTROL,\nITF_NUM_VIDEO_STREAMING,\nITF_NUM_TOTAL\n};...
C
MIT License
hathach/tinyusb
Remove Hardcoded interface numbers from video descriptors Removing the Hardcoded interface numbers from the video descriptors allow the user to add other interfaces before or after the Video Control Interface and Video Streaming Interface
281,137
03.09.2022 05:18:29
-28,800
c5992edc7de6f54d5fdab801c46e964bc0f18542
Initial PIC32MM/MX & PIC24 support
[ { "change_type": "ADD", "old_path": null, "new_path": "src/portable/microchip/pic/dcd_pic.c", "diff": "+/*\n+ * The MIT License (MIT)\n+ *\n+ * Copyright (c) 2020 Koji Kitayama\n+ * Copyright (c) 2022 Reimu NotMoe <reimu@sudomaker.com>\n+ *\n+ * Permission is hereby granted, free of charge, to any p...
C
MIT License
hathach/tinyusb
Initial PIC32MM/MX & PIC24 support
281,036
07.09.2022 15:10:44
18,000
0931b52b66864ab680f1e5b52eb0c20d028f5558
Fix bug by preventing shared irq slots for filling up
[ { "change_type": "MODIFY", "old_path": "src/portable/raspberrypi/rp2040/hcd_rp2040.c", "new_path": "src/portable/raspberrypi/rp2040/hcd_rp2040.c", "diff": "@@ -380,6 +380,9 @@ bool hcd_init(uint8_t rhport)\n// Force VBUS detect to always present, for now we assume vbus is always provided (without us...
C
MIT License
hathach/tinyusb
Fix bug #1628 by preventing shared irq slots for filling up
281,146
17.09.2022 21:27:04
-10,800
6c3c2df82343e1947a7be3c5f0e72a116c1b634e
audio_device: prototype added for function referenced before use
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.c", "new_path": "src/class/audio/audio_device.c", "diff": "@@ -447,6 +447,10 @@ static inline uint8_t tu_desc_subtype(void const* desc)\n}\n#endif\n+#if CFG_TUD_AUDIO_ENABLE_EP_OUT && CFG_TUD_AUDIO_ENABLE_FEEDBACK_EP\n+static bool ...
C
MIT License
hathach/tinyusb
audio_device: prototype added for function referenced before use
281,158
03.10.2022 21:41:58
-32,400
ee832e4e37a0ea35d9c2751ee3600ae7a600cb12
Fix descriptor searching
[ { "change_type": "MODIFY", "old_path": "src/class/video/video_device.c", "new_path": "src/class/video/video_device.c", "diff": "#if (CFG_TUD_ENABLED && CFG_TUD_VIDEO && CFG_TUD_VIDEO_STREAMING)\n-#include <stdarg.h>\n-\n#include \"device/usbd.h\"\n#include \"device/usbd_pvt.h\"\n@@ -194,72 +192,6 @@...
C
MIT License
hathach/tinyusb
Fix descriptor searching
281,130
05.10.2022 21:26:22
-28,800
988eeb50c6c962279360b457803859956a0d38e4
Fix typo for log in dcd_rp2040.c
[ { "change_type": "MODIFY", "old_path": "src/portable/raspberrypi/rp2040/dcd_rp2040.c", "new_path": "src/portable/raspberrypi/rp2040/dcd_rp2040.c", "diff": "@@ -88,7 +88,7 @@ static void _hw_endpoint_alloc(struct hw_endpoint *ep, uint8_t transfer_type)\nuint dpram_offset = hw_data_offset(ep->hw_data_...
C
MIT License
hathach/tinyusb
Fix typo for log in dcd_rp2040.c
281,137
06.10.2022 03:45:51
-28,800
8096afc6dea975e95e0b50dc4b55926236b90b62
Microchip PIC24/dsPIC33 device mode support
[ { "change_type": "MODIFY", "old_path": "src/common/tusb_mcu.h", "new_path": "src/common/tusb_mcu.h", "diff": "#define TUP_DCD_ENDPOINT_MAX 8\n#define TUP_DCD_ENDPOINT_EXCLUSIVE_NUMBER\n+#elif TU_CHECK_MCU(OPT_MCU_PIC32MX, OPT_MCU_PIC32MM, OPT_MCU_PIC32MK) || \\\n+ TU_CHECK_MCU(OPT_MCU_PIC24, OPT_MCU...
C
MIT License
hathach/tinyusb
Microchip PIC24/dsPIC33 device mode support
281,158
07.10.2022 21:30:03
-32,400
4be7ffd63f972e241325355d239c44e472dc56dc
Fix max payload size to clip at 1023
[ { "change_type": "MODIFY", "old_path": "src/class/video/video_device.c", "new_path": "src/class/video/video_device.c", "diff": "@@ -419,6 +419,8 @@ static bool _update_streaming_parameters(videod_streaming_interface_t const *stm\nuint_fast32_t interval_ms = interval / 10000;\nTU_ASSERT(interval_ms);...
C
MIT License
hathach/tinyusb
Fix max payload size to clip at 1023
281,158
08.10.2022 21:53:32
-32,400
aed8051f50dfb72187ba3c9a496d6ad2a57da9f8
Add motion jpeg
[ { "change_type": "MODIFY", "old_path": "examples/device/video_capture/CMakeLists.txt", "new_path": "examples/device/video_capture/CMakeLists.txt", "diff": "@@ -12,6 +12,12 @@ family_initialize_project(${PROJECT} ${CMAKE_CURRENT_LIST_DIR})\nadd_executable(${PROJECT})\n+if (FORCE_READONLY)\n+target_co...
C
MIT License
hathach/tinyusb
Add motion jpeg
281,109
11.10.2022 13:50:07
-28,800
8a89365bb2b83f9d84e2308e7809ac7d6f94b4a1
Add stm32u5xx offical driver.
[ { "change_type": "MODIFY", "old_path": ".gitmodules", "new_path": ".gitmodules", "diff": "[submodule \"hw/mcu/raspberry_pi/Pico-PIO-USB\"]\npath = hw/mcu/raspberry_pi/Pico-PIO-USB\nurl = https://github.com/sekigon-gonnoc/Pico-PIO-USB.git\n+[submodule \"/home/ubuntu/tinyusb/hw/mcu/st/cmsis_device_u5\...
C
MIT License
hathach/tinyusb
Add stm32u5xx offical driver.
281,067
11.10.2022 09:59:28
14,400
16f1554a03a89c51cd033b6a06cb758668f32fda
lpc55s69 isochronous, dummy address for endpoint buffers to prevent accidental writes
[ { "change_type": "MODIFY", "old_path": "src/portable/nxp/lpc_ip3511/dcd_lpc_ip3511.c", "new_path": "src/portable/nxp/lpc_ip3511/dcd_lpc_ip3511.c", "diff": "@@ -78,8 +78,9 @@ typedef struct {\n// Max nbytes for each control/bulk/interrupt transfer\nenum {\n- NBYTES_CBI_FULLSPEED_MAX = 64,\n- NBYTES_C...
C
MIT License
hathach/tinyusb
lpc55s69 isochronous, dummy address for endpoint buffers to prevent accidental writes
281,158
12.10.2022 20:07:22
-32,400
2c9b5ddff096b6c734346099b5cd4162db8735c9
Rename descriptor macros for consistency
[ { "change_type": "MODIFY", "old_path": "examples/device/video_capture/Makefile", "new_path": "examples/device/video_capture/Makefile", "diff": "include ../../../tools/top.mk\ninclude ../../make.mk\n-ifeq ($(DISABLE_MJPG),1)\n-CFLAGS += -DCFG_EXAMPLE_VIDEO_DISABLE_MJPG\n+ifeq ($(DISABLE_MJPEG),1)\n+C...
C
MIT License
hathach/tinyusb
Rename descriptor macros for consistency
281,158
12.10.2022 20:41:03
-32,400
53dc9d55b57faa3199711fe82b47195d0369c1d8
Fix pointer type to calculate streaming parameter
[ { "change_type": "MODIFY", "old_path": "src/class/video/video_device.c", "new_path": "src/class/video/video_device.c", "diff": "@@ -78,6 +78,9 @@ typedef union {\nuint8_t bDescriptorType;\nuint8_t bDescriptorSubType;\nuint8_t bFrameIndex;\n+ uint8_t bmCapabilities;\n+ uint16_t wWidth;\n+ uint16_t wH...
C
MIT License
hathach/tinyusb
Fix pointer type to calculate streaming parameter
281,067
12.10.2022 11:16:35
14,400
930c68278c3825bce91ef324090d25c392844558
double cast of pointer to remove error
[ { "change_type": "MODIFY", "old_path": "src/portable/nxp/lpc_ip3511/dcd_lpc_ip3511.c", "new_path": "src/portable/nxp/lpc_ip3511/dcd_lpc_ip3511.c", "diff": "@@ -241,7 +241,7 @@ static void prepare_setup_packet(uint8_t rhport)\nstatic void edpt_reset(uint8_t rhport, uint8_t ep_id)\n{\n- const uint32_t...
C
MIT License
hathach/tinyusb
double cast of pointer to remove error
281,067
13.10.2022 11:48:30
14,400
2c1ff2673baaeefc6520d25e87d5ca5e6b2093db
(void) rhport for unused parameter
[ { "change_type": "MODIFY", "old_path": "src/portable/nxp/lpc_ip3511/dcd_lpc_ip3511.c", "new_path": "src/portable/nxp/lpc_ip3511/dcd_lpc_ip3511.c", "diff": "@@ -375,6 +375,8 @@ void dcd_edpt_close_all (uint8_t rhport)\nvoid dcd_edpt_close(uint8_t rhport, uint8_t ep_addr)\n{\n+ (void) rhport;\n+\nuint...
C
MIT License
hathach/tinyusb
(void) rhport for unused parameter
281,160
25.05.2022 09:51:58
-28,800
2a520fb921fceb2a8e6182bff073c4a98504127f
hid: add fido hid descriptor templates
[ { "change_type": "MODIFY", "old_path": "src/class/hid/hid.h", "new_path": "src/class/hid/hid.h", "diff": "@@ -708,6 +708,7 @@ enum {\nHID_USAGE_PAGE_MSR = 0x8e,\nHID_USAGE_PAGE_CAMERA = 0x90,\nHID_USAGE_PAGE_ARCADE = 0x91,\n+ HID_USAGE_PAGE_FIDO_ALLIANCE = 0xF1D0,\nHID_USAGE_PAGE_VENDOR = 0xFF00 // ...
C
MIT License
hathach/tinyusb
hid: add fido hid descriptor templates
281,160
15.10.2022 19:22:21
-28,800
3846d5f38c465d673442db1085c69f3602e21470
hid: add configurable report size for fido
[ { "change_type": "MODIFY", "old_path": "src/class/hid/hid_device.h", "new_path": "src/class/hid/hid_device.h", "diff": "@@ -353,7 +353,9 @@ static inline bool tud_hid_gamepad_report(uint8_t report_id, int8_t x, int8_t y\nHID_COLLECTION_END \\\n// FIDO U2F Authenticator Descriptor Template\n-#define ...
C
MIT License
hathach/tinyusb
hid: add configurable report size for fido
281,168
18.10.2022 08:05:13
-7,200
a49ca795afc9008085d905e6fb43f511dca7be7c
esp: Fix Isochronous transfers On ESP32-S2/S3 ISO transfers must be configured for even or odd frame. Closes
[ { "change_type": "MODIFY", "old_path": "src/portable/espressif/esp32sx/dcd_esp32sx.c", "new_path": "src/portable/espressif/esp32sx/dcd_esp32sx.c", "diff": "@@ -59,6 +59,7 @@ typedef struct {\nuint16_t queued_len;\nuint16_t max_size;\nbool short_packet;\n+ uint8_t interval;\n} xfer_ctl_t;\nstatic con...
C
MIT License
hathach/tinyusb
esp: Fix Isochronous transfers On ESP32-S2/S3 ISO transfers must be configured for even or odd frame. Closes https://github.com/hathach/tinyusb/issues/1382
281,087
18.10.2022 15:14:45
-7,200
8f88ff559eb930b26233d19ae9df75f3a5c6a786
Fix typo in getting_started guide Fixes: ("add get-deps target")
[ { "change_type": "MODIFY", "old_path": "docs/reference/getting_started.rst", "new_path": "docs/reference/getting_started.rst", "diff": "@@ -61,7 +61,7 @@ To build example, first change directory to an example folder.\n$ cd examples/device/cdc_msc\n-Before building, we need to download MCU driver sub...
C
MIT License
hathach/tinyusb
Fix typo in getting_started guide Fixes: 1234111 ("add get-deps target")
281,067
20.10.2022 11:02:57
14,400
fe4278554b04c3446b30f28fdb6aaad908f8fa48
dummy buffer only on EP0 OUT ZLPs
[ { "change_type": "MODIFY", "old_path": "src/portable/nxp/lpc_ip3511/dcd_lpc_ip3511.c", "new_path": "src/portable/nxp/lpc_ip3511/dcd_lpc_ip3511.c", "diff": "@@ -178,7 +178,7 @@ typedef struct\n// For example: LPC55s69 port1 Highspeed must be USB_RAM (0x40100000)\n// Use CFG_TUSB_MEM_SECTION to place ...
C
MIT License
hathach/tinyusb
dummy buffer only on EP0 OUT ZLPs
281,146
20.10.2022 22:45:58
-10,800
4ec1643bdbca34d0e6d575646ed556087bac5d6e
do not apply storage attributes to member of struct
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.c", "new_path": "src/class/audio/audio_device.c", "diff": "@@ -341,7 +341,7 @@ typedef struct\n// Audio control interrupt buffer - no FIFO - 6 Bytes according to UAC 2 specification (p. 74)\n#if CFG_TUD_AUDIO_INT_CTR_EPSIZE_IN\n- C...
C
MIT License
hathach/tinyusb
do not apply storage attributes to member of struct
281,067
21.10.2022 15:06:30
14,400
35e1a27c950c4b25106c074d0b66220d099e54a7
unused (void) cast
[ { "change_type": "MODIFY", "old_path": "src/portable/nxp/lpc_ip3511/dcd_lpc_ip3511.c", "new_path": "src/portable/nxp/lpc_ip3511/dcd_lpc_ip3511.c", "diff": "@@ -244,6 +244,7 @@ static void prepare_setup_packet(uint8_t rhport)\nstatic void edpt_reset(uint8_t rhport, uint8_t ep_id)\n{\n+ (void) rhport;...
C
MIT License
hathach/tinyusb
unused (void) cast
281,146
24.10.2022 20:36:45
-10,800
815c2cc9959cc9a127d4ff64f65743d4ac8713ce
keep alignment spec
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.c", "new_path": "src/class/audio/audio_device.c", "diff": "@@ -341,7 +341,7 @@ typedef struct\n// Audio control interrupt buffer - no FIFO - 6 Bytes according to UAC 2 specification (p. 74)\n#if CFG_TUD_AUDIO_INT_CTR_EPSIZE_IN\n- u...
C
MIT License
hathach/tinyusb
keep alignment spec
281,145
01.11.2022 23:42:58
-3,600
3f3f6eee1c1b1bec43933488b27772a9f848c529
dhserver: Support DHCP clients that don't send the MESSAGETYPE as first option
[ { "change_type": "MODIFY", "old_path": "lib/networking/dhserver.c", "new_path": "lib/networking/dhserver.c", "diff": "@@ -240,7 +240,11 @@ static void udp_recv_proc(void *arg, struct udp_pcb *upcb, struct pbuf *p, const\nunsigned n = p->len;\nif (n > sizeof(dhcp_data)) n = sizeof(dhcp_data);\nmemcpy...
C
MIT License
hathach/tinyusb
dhserver: Support DHCP clients that don't send the MESSAGETYPE as first option Signed-off-by: Jannis Achstetter <kripton@kripserver.net>
281,039
07.11.2022 12:32:36
-3,600
1eae139aa94130a63ecc4725852cb69c02566c82
Add support for STM32L412.
[ { "change_type": "ADD", "old_path": null, "new_path": "hw/bsp/stm32l4/boards/stm32l412nucleo/STM32L412KBUx_FLASH.ld", "diff": "+/*\n+*****************************************************************************\n+**\n+\n+** File : LinkerScript.ld\n+**\n+** Abstract : Linker script for STM32L412KBTx ...
C
MIT License
hathach/tinyusb
Add support for STM32L412.
281,039
07.11.2022 12:58:23
-3,600
f3f3739073b46bc7609e4c55f50accbfb08e1807
Fix DCD build.
[ { "change_type": "MODIFY", "old_path": "hw/bsp/stm32l4/family.mk", "new_path": "hw/bsp/stm32l4/family.mk", "diff": "@@ -22,6 +22,7 @@ CFLAGS += -Wno-error=maybe-uninitialized -Wno-error=cast-align\n#src/portable/st/synopsys/dcd_synopsys.c\nSRC_C += \\\nsrc/portable/synopsys/dwc2/dcd_dwc2.c \\\n+ src...
C
MIT License
hathach/tinyusb
Fix DCD build.
281,039
08.11.2022 21:58:51
-3,600
da1589f116ede03dfe6a12968934640ebb4cd94a
Fix FREERTOS USB IRQ priority.
[ { "change_type": "MODIFY", "old_path": "hw/bsp/stm32l4/family.c", "new_path": "hw/bsp/stm32l4/family.c", "diff": "@@ -74,7 +74,11 @@ void board_init(void)\nSysTick_Config(SystemCoreClock / 1000);\n#elif CFG_TUSB_OS == OPT_OS_FREERTOS\n// If freeRTOS is used, IRQ priority is limit by max syscall ( sm...
C
MIT License
hathach/tinyusb
Fix FREERTOS USB IRQ priority.
281,140
11.11.2022 22:47:48
-3,600
abfcdf2cfb2f19a20d606ca906e2d75f599b2ed8
MIDI: support port name strings This allows to set custom descriptive names for virtual MIDI ports/cables. A MIDI port offers different functionality on the same physical USB device. The names make it easier to distinguish one from the other.
[ { "change_type": "MODIFY", "old_path": "src/device/usbd.h", "new_path": "src/device/usbd.h", "diff": "@@ -308,15 +308,16 @@ TU_ATTR_WEAK bool tud_vendor_control_xfer_cb(uint8_t rhport, uint8_t stage, tusb\n(uint8_t)(((_cablenum) - 1) * 4 + 4)\n#define TUD_MIDI_DESC_JACK_LEN (6 + 6 + 9 + 9)\n-#define...
C
MIT License
hathach/tinyusb
MIDI: support port name strings This allows to set custom descriptive names for virtual MIDI ports/cables. A MIDI port offers different functionality on the same physical USB device. The names make it easier to distinguish one from the other.
281,038
23.11.2022 13:12:31
28,800
9825fbe9ac69cea94942361ac47080b7f5a0a1cd
Fix RP2040 Issue 1721
[ { "change_type": "MODIFY", "old_path": "src/portable/raspberrypi/rp2040/rp2040_usb.c", "new_path": "src/portable/raspberrypi/rp2040/rp2040_usb.c", "diff": "@@ -155,7 +155,9 @@ static void __tusb_irq_path_func(_hw_endpoint_start_next_buffer)(struct hw_endpo\n// For now: skip double buffered for Devic...
C
MIT License
hathach/tinyusb
Fix RP2040 Issue 1721