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,097
17.02.2021 23:04:19
-3,600
6cb9a6ebb15c2bfacc15c7e4e6e13ec333067693
Add (void *) for pointer cast.
[ { "change_type": "MODIFY", "old_path": "src/portable/st/stm32_fsdev/dcd_stm32_fsdev.c", "new_path": "src/portable/st/stm32_fsdev/dcd_stm32_fsdev.c", "diff": "@@ -1004,7 +1004,7 @@ static bool dcd_write_packet_memory_ff(tu_fifo_t * ff, uint16_t dst, uint16_t wN\n{\n// Since PMA can accessed only 16 b...
C
MIT License
hathach/tinyusb
Add (void *) for pointer cast.
281,045
17.02.2021 18:22:24
18,000
27f4b6f5a4e122ba0413315472ff663e5b8417be
Included size check for ISO buffers
[ { "change_type": "MODIFY", "old_path": "src/portable/raspberrypi/rp2040/rp2040_usb.c", "new_path": "src/portable/raspberrypi/rp2040/rp2040_usb.c", "diff": "@@ -156,13 +156,12 @@ void _hw_endpoint_xfer_start(struct hw_endpoint *ep, uint8_t *buffer, uint16_t t\n// FIXME: What if low speed\nif(ep->tran...
C
MIT License
hathach/tinyusb
Included size check for ISO buffers
281,097
18.02.2021 11:12:16
-3,600
681cfd0bf21cc0e977cb3e5294c7a1edbb4f0928
Correct for wrong pointer type in audio_device.c
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.c", "new_path": "src/class/audio/audio_device.c", "diff": "@@ -864,7 +864,7 @@ static bool audiod_set_interface(uint8_t rhport, tusb_control_request_t const *\n// Prepare for incoming data\n#if USE_EVADE_BUFFER\n- TU_VERIFY(usbd_ed...
C
MIT License
hathach/tinyusb
Correct for wrong pointer type in audio_device.c
281,079
18.02.2021 08:25:04
18,000
ac87a4547d520fd41815ccb5155ed6680de46ce0
Change to using tu_min32 This was a github edit, not tested
[ { "change_type": "MODIFY", "old_path": "src/portable/raspberrypi/rp2040/rp2040_usb.c", "new_path": "src/portable/raspberrypi/rp2040/rp2040_usb.c", "diff": "@@ -156,11 +156,11 @@ void _hw_endpoint_xfer_start(struct hw_endpoint *ep, uint8_t *buffer, uint16_t t\n// FIXME: What if low speed\nif(ep->tran...
C
MIT License
hathach/tinyusb
Change to using tu_min32 This was a github edit, not tested
281,097
18.02.2021 19:25:08
-3,600
c098da9803a091c4b2402057ece370975850ef53
Implement left and right justifications for 24 to 32 bit PCM encoding
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.c", "new_path": "src/class/audio/audio_device.c", "diff": "@@ -366,11 +366,15 @@ static bool audiod_decode_type_I_pcm(uint8_t rhport, audiod_interface_t* audio)\n// If this aborts then the target buffer is full\nTU_VERIFY(tu_fifo_r...
C
MIT License
hathach/tinyusb
Implement left and right justifications for 24 to 32 bit PCM encoding
281,139
18.02.2021 13:26:03
18,000
21f1cd4ec7e2104ac88b26be5c06e81e385cd660
Implement requested PR changes Removes CFG_TUSB_ALT_BIT_PACKING_ALIGNMENT, and makes the manual padding behavior standard. Replaced unused variable name with TU_RESERVED.
[ { "change_type": "MODIFY", "old_path": "src/class/cdc/cdc.h", "new_path": "src/class/cdc/cdc.h", "diff": "@@ -277,11 +277,7 @@ typedef struct TU_ATTR_PACKED\nstruct {\nuint8_t handle_call : 1; ///< 0 - Device sends/receives call management information only over the Communications Class interface. 1 ...
C
MIT License
hathach/tinyusb
Implement requested PR changes Removes CFG_TUSB_ALT_BIT_PACKING_ALIGNMENT, and makes the manual padding behavior standard. Replaced unused variable name with TU_RESERVED.
281,097
18.02.2021 20:52:57
-3,600
8904874f76ba4a476aefcbadfe74d70a6bfb692a
Exclude #include "osal/osal.h" for OPT_OS_NONE
[ { "change_type": "MODIFY", "old_path": "src/common/tusb_fifo.h", "new_path": "src/common/tusb_fifo.h", "diff": "#include <stdint.h>\n#include <stdbool.h>\n-#include \"osal/osal.h\"\n#ifdef __cplusplus\nextern \"C\" {\n#endif\n#if CFG_FIFO_MUTEX\n+#include \"osal/osal.h\"\n#define tu_fifo_mutex_t osa...
C
MIT License
hathach/tinyusb
Exclude #include "osal/osal.h" for OPT_OS_NONE
281,097
18.02.2021 21:22:11
-3,600
fff6283bf751ecf8e2ef33745e03d45eb13b354e
Update .non_used_index_space = UINT16_MAX - (2*_depth-1) in osal_none.h
[ { "change_type": "MODIFY", "old_path": "src/osal/osal_none.h", "new_path": "src/osal/osal_none.h", "diff": "@@ -140,7 +140,7 @@ typedef osal_queue_def_t* osal_queue_t;\n.item_size = sizeof(_type), \\\n.overwritable = false, \\\n.max_pointer_idx = (2*(_depth))-1, \\\n- .non_used_index_space = 0xFFFF-...
C
MIT License
hathach/tinyusb
Update .non_used_index_space = UINT16_MAX - (2*_depth-1) in osal_none.h
281,079
19.02.2021 08:33:06
18,000
cb5b9eb2f671a6d1a00205e0df01b0d68725ec60
Remove stray. commented out line
[ { "change_type": "MODIFY", "old_path": "src/portable/raspberrypi/rp2040/rp2040_usb.c", "new_path": "src/portable/raspberrypi/rp2040/rp2040_usb.c", "diff": "@@ -239,7 +239,6 @@ bool _hw_endpoint_xfer_continue(struct hw_endpoint *ep)\n// Now we have synced our state with the hardware. Is there more da...
C
MIT License
hathach/tinyusb
Remove stray. commented out line
281,058
20.02.2021 14:38:08
-3,600
16c8f75637ab593b3eea5b5d11af9be1436b13fd
Adds support for Microchip SAM E54 Xplained Pro
[ { "change_type": "MODIFY", "old_path": "docs/boards.md", "new_path": "docs/boards.md", "diff": "@@ -41,6 +41,7 @@ This code base already had supported for a handful of following boards (sorted a\n- [Adafruit PyPortal](https://www.adafruit.com/product/4116)\n- [Adafruit Metro M4 Express](https://www....
C
MIT License
hathach/tinyusb
Adds support for Microchip SAM E54 Xplained Pro
281,099
22.02.2021 11:24:16
-3,600
b591a66b3d38bc199aaa5ac1b32d0a1221b8b983
Pass the correct speed on Spresense
[ { "change_type": "MODIFY", "old_path": "src/portable/sony/cxd56/dcd_cxd56.c", "new_path": "src/portable/sony/cxd56/dcd_cxd56.c", "diff": "@@ -155,7 +155,24 @@ static void _dcd_disconnect(FAR struct usbdevclass_driver_s *driver, FAR struct\n{\n(void) driver;\n- tusb_speed_t speed = (dev->speed == 3) ...
C
MIT License
hathach/tinyusb
Pass the correct speed on Spresense
281,095
22.02.2021 20:53:16
21,600
592d047936544af03e7704ad7a88acef88fd6aee
rp2040: correctly size variables to reduce RAM usage
[ { "change_type": "MODIFY", "old_path": "src/portable/raspberrypi/rp2040/dcd_rp2040.c", "new_path": "src/portable/raspberrypi/rp2040/dcd_rp2040.c", "diff": "// Init these in dcd_init\nstatic uint8_t *next_buffer_ptr;\n-// Endpoints 0-15, direction 0 for out and 1 for in.\n-static struct hw_endpoint h...
C
MIT License
hathach/tinyusb
rp2040: correctly size variables to reduce RAM usage
281,095
23.02.2021 10:08:38
21,600
5a8ae31316ed30937e910e376dc6f62e8e4e3433
rp2040: leverage existing macro for capping endpoints in pico-sdk
[ { "change_type": "MODIFY", "old_path": "src/portable/raspberrypi/rp2040/dcd_rp2040.c", "new_path": "src/portable/raspberrypi/rp2040/dcd_rp2040.c", "diff": "// Init these in dcd_init\nstatic uint8_t *next_buffer_ptr;\n-// Endpoints 0-TUD_OPT_RP2040_USB_MAX_ENDPOINTS, direction 0 for out and 1 for in....
C
MIT License
hathach/tinyusb
rp2040: leverage existing macro for capping endpoints in pico-sdk
281,095
23.02.2021 12:06:41
21,600
c5422a5c48984f4ea2a5fb6b22f6778183002f68
rp2040: use TU endpoint conventions and remove redundant variables
[ { "change_type": "MODIFY", "old_path": "src/portable/raspberrypi/rp2040/dcd_rp2040.c", "new_path": "src/portable/raspberrypi/rp2040/dcd_rp2040.c", "diff": "// Init these in dcd_init\nstatic uint8_t *next_buffer_ptr;\n-// Endpoints 0-15, direction 0 for out and 1 for in.\n+// Endpoints 0-15, directio...
C
MIT License
hathach/tinyusb
rp2040: use TU endpoint conventions and remove redundant variables
281,097
23.02.2021 19:41:21
-3,600
313dd1439db037e676429d11646008f143e6bdb9
Implement dcd_edpt_iso_xfer() for dcd_da146xx.c BUT WITHOUT DMA SUPPORT
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.c", "new_path": "src/class/audio/audio_device.c", "diff": "@@ -135,7 +135,6 @@ typedef struct\nCFG_TUSB_MCU == OPT_MCU_RP2040 || /* Don't want to change driver */ \\\nCFG_TUSB_MCU == OPT_MCU_VALENTYUSB_EPTRI || /* Intermediate soft...
C
MIT License
hathach/tinyusb
Implement dcd_edpt_iso_xfer() for dcd_da146xx.c BUT WITHOUT DMA SUPPORT
281,097
23.02.2021 19:50:54
-3,600
c76e04f83584c55719a178b8308b3b2d0141b064
Add dcd_edpt_iso_xfer() to dcd_template.c
[ { "change_type": "MODIFY", "old_path": "src/portable/template/dcd_template.c", "new_path": "src/portable/template/dcd_template.c", "diff": "*/\n#include \"tusb_option.h\"\n+#include \"common/tusb_fifo.h\"\n#if CFG_TUSB_MCU == OPT_MCU_NONE\n@@ -104,6 +105,16 @@ bool dcd_edpt_xfer (uint8_t rhport, uin...
C
MIT License
hathach/tinyusb
Add dcd_edpt_iso_xfer() to dcd_template.c
281,097
23.02.2021 19:52:31
-3,600
387bf1478efb89b5df12801dd904f93c374649b1
Fix missing , in tusb_fifo.h
[ { "change_type": "MODIFY", "old_path": "src/common/tusb_fifo.h", "new_path": "src/common/tusb_fifo.h", "diff": "@@ -98,7 +98,7 @@ typedef struct\n.item_size = sizeof(_type), \\\n.overwritable = _overwritable, \\\n.max_pointer_idx = 2*(_depth)-1, \\\n- .non_used_index_space = UINT16_MAX - (2*(_depth)...
C
MIT License
hathach/tinyusb
Fix missing , in tusb_fifo.h
281,097
23.02.2021 20:23:26
-3,600
00248de15a7f95f563503595099d68cd0c08cff5
Fix shadowing declartion in dcd_da146xx.c
[ { "change_type": "MODIFY", "old_path": "src/portable/dialog/da146xx/dcd_da146xx.c", "new_path": "src/portable/dialog/da146xx/dcd_da146xx.c", "diff": "@@ -290,7 +290,6 @@ void tusb_vbus_changed(bool present)\nstatic void fill_tx_fifo(xfer_ctl_t * xfer)\n{\nint left_to_send;\n- uint8_t const *src;\nEP...
C
MIT License
hathach/tinyusb
Fix shadowing declartion in dcd_da146xx.c
281,095
23.02.2021 14:04:56
21,600
e00178a1afefc9b0b2d4fc440a6db536a4bb7afe
rp2040: don't compile in host code when in device mode
[ { "change_type": "MODIFY", "old_path": "src/portable/raspberrypi/rp2040/rp2040_usb.c", "new_path": "src/portable/raspberrypi/rp2040/rp2040_usb.c", "diff": "@@ -44,10 +44,12 @@ static inline void _hw_endpoint_lock_update(struct hw_endpoint *ep, int delta) {\n// sense to have worker and IRQ on same co...
C
MIT License
hathach/tinyusb
rp2040: don't compile in host code when in device mode
281,099
24.02.2021 17:39:16
-3,600
448dcdc4cf6ff20a96840fc23944167fc4e88501
spresense: fix setup processed flag
[ { "change_type": "MODIFY", "old_path": "src/portable/sony/cxd56/dcd_cxd56.c", "new_path": "src/portable/sony/cxd56/dcd_cxd56.c", "diff": "@@ -329,6 +329,7 @@ bool dcd_edpt_xfer(uint8_t rhport, uint8_t ep_addr, uint8_t *buffer, uint16_t to\n{\nif (total_bytes == 0)\n{\n+ usbdcd_driver.setup_processed...
C
MIT License
hathach/tinyusb
spresense: fix setup processed flag
281,095
25.02.2021 07:58:54
21,600
762f262be76480717227a6f32bd4a190a9d263ea
rp2040: requested change from TU_MIN to tu_min16
[ { "change_type": "MODIFY", "old_path": "src/portable/raspberrypi/rp2040/dcd_rp2040.c", "new_path": "src/portable/raspberrypi/rp2040/dcd_rp2040.c", "diff": "@@ -64,7 +64,7 @@ static struct hw_endpoint *hw_endpoint_get_by_addr(uint8_t ep_addr)\n}\nstatic void _hw_endpoint_alloc(struct hw_endpoint *ep)...
C
MIT License
hathach/tinyusb
rp2040: requested change from TU_MIN to tu_min16
281,095
25.02.2021 08:45:47
21,600
999ef227d0151bae5db09da7a9b3ed3be20ef891
rp2040: requested code mode in rp2040_usb.h
[ { "change_type": "MODIFY", "old_path": "src/portable/raspberrypi/rp2040/rp2040_usb.h", "new_path": "src/portable/raspberrypi/rp2040/rp2040_usb.h", "diff": "@@ -71,13 +71,6 @@ struct hw_endpoint\nuint len;\n// Amount of data with the hardware\nuint transfer_size;\n-#ifdef RP2040_USB_HOST_MODE\n- // O...
C
MIT License
hathach/tinyusb
rp2040: requested code mode in rp2040_usb.h
281,166
25.02.2021 15:48:19
0
e6e7c73f6e5ff53e3b4869fdc9abfd809d1e50a8
Update RP2040 hcd_init to have rhport argument.
[ { "change_type": "MODIFY", "old_path": "src/portable/raspberrypi/rp2040/hcd_rp2040.c", "new_path": "src/portable/raspberrypi/rp2040/hcd_rp2040.c", "diff": "@@ -363,9 +363,10 @@ static void hw_endpoint_init(uint8_t dev_addr, const tusb_desc_endpoint_t *ep_de\n//---------------------------------------...
C
MIT License
hathach/tinyusb
Update RP2040 hcd_init to have rhport argument.
281,084
25.02.2021 23:01:21
-19,080
07a04255da4442fb0790130ac65c648d0884255a
initial break request handling
[ { "change_type": "MODIFY", "old_path": "src/class/cdc/cdc_device.c", "new_path": "src/class/cdc/cdc_device.c", "diff": "@@ -396,6 +396,17 @@ bool cdcd_control_xfer_cb(uint8_t rhport, uint8_t stage, tusb_control_request_t\nif ( tud_cdc_line_state_cb ) tud_cdc_line_state_cb(itf, dtr, rts);\n}\nbreak;\...
C
MIT License
hathach/tinyusb
initial break request handling
281,111
26.02.2021 10:48:34
-19,080
55a46a5c3b7ad3afb70a995954baa6148381b3a5
Update cdc_device.h Minor api callback change as requested
[ { "change_type": "MODIFY", "old_path": "src/class/cdc/cdc_device.h", "new_path": "src/class/cdc/cdc_device.h", "diff": "@@ -133,9 +133,6 @@ static inline bool tud_cdc_write_clear (void);\n// Invoked when received new data\nTU_ATTR_WEAK void tud_cdc_rx_cb(uint8_t itf);\n-// Invoked when received send...
C
MIT License
hathach/tinyusb
Update cdc_device.h Minor api callback change as requested
281,095
26.02.2021 11:07:34
21,600
eb44b6f7db33e89c0d1dc369d914f18388deff53
rp2040: improve _hw_endpoint_init()
[ { "change_type": "MODIFY", "old_path": "src/portable/raspberrypi/rp2040/dcd_rp2040.c", "new_path": "src/portable/raspberrypi/rp2040/dcd_rp2040.c", "diff": "@@ -102,8 +102,8 @@ static void _hw_endpoint_alloc(struct hw_endpoint *ep)\nstatic void _hw_endpoint_init(struct hw_endpoint *ep, uint8_t ep_add...
C
MIT License
hathach/tinyusb
rp2040: improve _hw_endpoint_init()
281,058
28.02.2021 06:19:25
-3,600
d2575009a16fdf63e9b3fcb78139a37aab133b31
SAM 54 Xplained Pro: fix inverted logic for board led
[ { "change_type": "MODIFY", "old_path": "hw/bsp/same54xplainedpro/same54xplainedpro.c", "new_path": "hw/bsp/same54xplainedpro/same54xplainedpro.c", "diff": "@@ -166,15 +166,16 @@ void board_init(void)\n#endif\n// LED0 init\n+ gpio_set_pin_function(BUTTON_PIN, GPIO_PIN_FUNCTION_OFF);\ngpio_set_pin_dir...
C
MIT License
hathach/tinyusb
SAM 54 Xplained Pro: fix inverted logic for board led
281,058
28.02.2021 08:14:17
-3,600
7d9cddccd209874b2cf104f8c22176d3fe26979e
SAM E54 Xplained Pro: applies reviewer feedback
[ { "change_type": "MODIFY", "old_path": "hw/bsp/same54xplainedpro/same54xplainedpro.c", "new_path": "hw/bsp/same54xplainedpro/same54xplainedpro.c", "diff": "@@ -166,9 +166,9 @@ void board_init(void)\n#endif\n// LED0 init\n- gpio_set_pin_function(BUTTON_PIN, GPIO_PIN_FUNCTION_OFF);\n+ gpio_set_pin_fun...
C
MIT License
hathach/tinyusb
SAM E54 Xplained Pro: applies reviewer feedback
281,138
28.02.2021 22:18:35
-28,800
72c1066ed152916cb99dee5e5749b78916d4ba76
Fix Endpoint descriptor for MIDI Device Endpoint descriptor should be 9 bytes in length (not 7) and have two extra bytes at the end: bRefresh and bSynchAddress According to MIDI USB specification 1.0 (6.2.1 Standard MS Bulk Data Endpoint Descriptor)
[ { "change_type": "MODIFY", "old_path": "src/device/usbd.h", "new_path": "src/device/usbd.h", "diff": "@@ -289,10 +289,10 @@ TU_ATTR_WEAK bool tud_vendor_control_xfer_cb(uint8_t rhport, uint8_t stage, tusb\n/* MS Out Jack (External), connected to In Jack Embedded */\\\n9, TUSB_DESC_CS_INTERFACE, MIDI...
C
MIT License
hathach/tinyusb
Fix Endpoint descriptor for MIDI Device Endpoint descriptor should be 9 bytes in length (not 7) and have two extra bytes at the end: bRefresh and bSynchAddress According to MIDI USB specification 1.0 (6.2.1 Standard MS Bulk Data Endpoint Descriptor)
281,097
01.03.2021 09:09:15
-3,600
8ec99694d228d31ee0b4033346498238c6605967
audio_decive clean up and bootstrapping of linear (formerly evade) buff.
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.c", "new_path": "src/class/audio/audio_device.c", "diff": "*\n* In case you need more alternate interfaces, you need to define additional defines for this specific alternate interface. Just define them and set them in the set_inter...
C
MIT License
hathach/tinyusb
audio_decive clean up and bootstrapping of linear (formerly evade) buff.
281,097
02.03.2021 17:24:58
-3,600
fc35b3f72dc2f73ecd9df3e14484ef493803fd7b
Switch back OPT_MCU_DA1469X to use linear buffers
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.c", "new_path": "src/class/audio/audio_device.c", "diff": "// Linear buffer in case target MCU is not capable of handling a ring buffer FIFO e.g. no hardware buffer is available or driver is would need to be changed dramatically\n#...
C
MIT License
hathach/tinyusb
Switch back OPT_MCU_DA1469X to use linear buffers
281,097
02.03.2021 20:00:39
-3,600
7b8a08d2e1519afba6045e2a77898afecb1943e1
Rename dcd_edpt_iso_xfer() to dcd_edpt_xfer_fifo()
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.c", "new_path": "src/class/audio/audio_device.c", "diff": "*\n* 1. Input data -> SW-FIFO -> MCU USB\n*\n- * The most easiest version, available in case the target MCU can handle the software FIFO (SW-FIFO) and if it is implemented ...
C
MIT License
hathach/tinyusb
Rename dcd_edpt_iso_xfer() to dcd_edpt_xfer_fifo()
281,097
02.03.2021 21:41:51
-3,600
bd2bab7aff4f0e1dc34cace24c90a7755c00d369
Remove set_copy_modes(), implement: tu_fifo_read_n_const_addr(), tu_fifo_write_n_const_addr()
[ { "change_type": "MODIFY", "old_path": "src/common/tusb_fifo.c", "new_path": "src/common/tusb_fifo.c", "diff": "@@ -62,6 +62,15 @@ static void tu_fifo_unlock(tu_fifo_t *f)\n#endif\n+/** \\enum tu_fifo_copy_mode_t\n+ * \\brief Write modes intended to allow special read and write functions to be able ...
C
MIT License
hathach/tinyusb
Remove set_copy_modes(), implement: tu_fifo_read_n_const_addr(), tu_fifo_write_n_const_addr()
281,097
02.03.2021 21:42:24
-3,600
3cdb82c21c7425c8fb6ba88b2a85a6238edb777a
Change for copy modes in dcd_synopsis.c
[ { "change_type": "MODIFY", "old_path": "src/portable/st/synopsys/dcd_synopsys.c", "new_path": "src/portable/st/synopsys/dcd_synopsys.c", "diff": "@@ -688,16 +688,6 @@ bool dcd_edpt_xfer_fifo (uint8_t rhport, uint8_t ep_addr, tu_fifo_t * ff, uint16\nxfer->ff = ff;\nxfer->total_len = total_bytes;\n- /...
C
MIT License
hathach/tinyusb
Change for copy modes in dcd_synopsis.c
281,097
02.03.2021 21:52:42
-3,600
a1b07ae14c7133a012c48346923304e5d4062ecd
Change copy modes for new read/write functions in tusb_fifo.c
[ { "change_type": "MODIFY", "old_path": "src/portable/espressif/esp32s2/dcd_esp32s2.c", "new_path": "src/portable/espressif/esp32s2/dcd_esp32s2.c", "diff": "@@ -382,16 +382,6 @@ bool dcd_edpt_xfer_fifo (uint8_t rhport, uint8_t ep_addr, tu_fifo_t * ff, uint16\nnum_packets++;\n}\n- // Set copy mode to ...
C
MIT License
hathach/tinyusb
Change copy modes for new read/write functions in tusb_fifo.c
281,097
03.03.2021 08:18:57
-3,600
848e403e3744eda8091330db1e6f23f86871ffaa
Fix unused parameter in _ff_push_copy_fct() and _ff_pull_copy_fct
[ { "change_type": "MODIFY", "old_path": "src/common/tusb_fifo.c", "new_path": "src/common/tusb_fifo.c", "diff": "@@ -167,7 +167,7 @@ static inline void _ff_push(tu_fifo_t* f, void const * data, uint16_t wRel)\nmemcpy(f->buffer + (wRel * f->item_size), data, f->item_size);\n}\n-static inline void _ff_...
C
MIT License
hathach/tinyusb
Fix unused parameter in _ff_push_copy_fct() and _ff_pull_copy_fct
281,100
03.03.2021 20:34:32
-25,200
04e595dbdaf419683ea0b4afa5d45b612e97fcb5
Delete porting.md
[ { "change_type": "DELETE", "old_path": ".github/ISSUE_TEMPLATE/porting.md", "new_path": null, "diff": "----\n-name: Porting\n-about: Adding a new port for this project\n-title: ''\n-labels: Porting\n-assignees: ''\n-\n----\n-\n-**Description**\n-Describe which API you want to port (DCD/HCD/OSAL/BSP)...
C
MIT License
hathach/tinyusb
Delete porting.md
281,097
04.03.2021 13:52:14
-3,600
7e56f46957452c21a5f6228d0aff2d5544c04b9f
Extend FIFO mutex to use separate write and read mutexes. Adjust all USB drivers using FIFO and mutexes.
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.c", "new_path": "src/class/audio/audio_device.c", "diff": "@@ -133,7 +133,7 @@ typedef struct\ntu_fifo_t ep_out_ff;\n#if CFG_FIFO_MUTEX\n- osal_mutex_def_t ep_out_ff_mutex;\n+ osal_mutex_def_t ep_out_ff_mutex_rd; // No need for wri...
C
MIT License
hathach/tinyusb
Extend FIFO mutex to use separate write and read mutexes. Adjust all USB drivers using FIFO and mutexes.
281,097
04.03.2021 18:20:22
-3,600
2e28861cf83dd735485b1f27552716da5d4043e8
Remove TODOs done.
[ { "change_type": "MODIFY", "old_path": "src/common/tusb_fifo.c", "new_path": "src/common/tusb_fifo.c", "diff": "@@ -438,7 +438,7 @@ static uint16_t _tu_fifo_write_n(tu_fifo_t* f, const void * data, uint16_t n, tu\nstatic uint16_t _tu_fifo_read_n(tu_fifo_t* f, void * buffer, uint16_t n, tu_fifo_copy_...
C
MIT License
hathach/tinyusb
Remove TODOs done.
281,097
04.03.2021 19:52:48
-3,600
de1f36f2b02b00d8012748be304186e1eb78c728
Adapt mutexes in fifo.c
[ { "change_type": "MODIFY", "old_path": "src/common/tusb_fifo.c", "new_path": "src/common/tusb_fifo.c", "diff": "// implement mutex lock and unlock\n#if CFG_FIFO_MUTEX\n-static void tu_fifo_lock_wr(tu_fifo_t *f)\n+static void tu_fifo_lock(tu_fifo_mutex_t mutex)\n{\n- if (f->mutex_wr)\n+ if (mutex)\n{...
C
MIT License
hathach/tinyusb
Adapt mutexes in fifo.c
281,100
10.03.2021 13:26:14
-25,200
1cdd1b02098be05b511571457165fa66a27af7bc
Update pico sdk 1.1.0 * update pico-sdk to 1.1.0 also correct fetch_submodule_if_empty behavior
[ { "change_type": "MODIFY", "old_path": "examples/make.mk", "new_path": "examples/make.mk", "diff": "@@ -45,16 +45,10 @@ else\nSRC_C += $(subst $(TOP)/,,$(wildcard $(TOP)/$(FAMILY_PATH)/*.c))\nendif\n-#TODO $(call fetch_submodule_if_empty,lib/sct_neopixel)\n-\n# Fetch submodules depended by family\n-...
C
MIT License
hathach/tinyusb
Update pico sdk 1.1.0 (#712) * update pico-sdk to 1.1.0 also correct fetch_submodule_if_empty behavior
281,039
10.03.2021 10:19:45
-3,600
7fc99a9e1104703566945ace1b2e1ed59819ba48
Call One time tu_fifo_write_n on cdcd_xfer_cb
[ { "change_type": "MODIFY", "old_path": "src/class/cdc/cdc_device.c", "new_path": "src/class/cdc/cdc_device.c", "diff": "@@ -432,17 +432,17 @@ bool cdcd_xfer_cb(uint8_t rhport, uint8_t ep_addr, xfer_result_t result, uint32_\n// Received new data\nif ( ep_addr == p_cdc->ep_out )\n{\n- // TODO search f...
C
MIT License
hathach/tinyusb
Call One time tu_fifo_write_n on cdcd_xfer_cb Signed-off-by: HiFiPhile <admin@hifiphile.com>
281,039
11.03.2021 20:36:46
-3,600
5caad485f199ab6acfa237d84bf3d84cf41dcfdd
Add fifo empty check.
[ { "change_type": "MODIFY", "old_path": "src/class/cdc/cdc_device.c", "new_path": "src/class/cdc/cdc_device.c", "diff": "@@ -434,11 +434,10 @@ bool cdcd_xfer_cb(uint8_t rhport, uint8_t ep_addr, xfer_result_t result, uint32_\n{\ntu_fifo_write_n(&p_cdc->rx_ff, &p_cdc->epout_buf, xferred_bytes);\n- // T...
C
MIT License
hathach/tinyusb
Add fifo empty check. Signed-off-by: HiFiPhile <admin@hifiphile.com>
281,097
13.03.2021 11:37:38
-3,600
de3c03af76ebb4f092f798a390a463fe78cc27f0
Add python script to plot audio sample data.
[ { "change_type": "ADD", "old_path": null, "new_path": "examples/device/audio_test/src/plot_audio_samples.py", "diff": "+import sounddevice as sd\n+import matplotlib.pyplot as plt\n+import numpy as np\n+\n+if __name__ == '__main__':\n+\n+ # devList = sd.query_devices()\n+ # print(devList)\n+\n+ fs = ...
C
MIT License
hathach/tinyusb
Add python script to plot audio sample data.
281,058
11.03.2021 18:19:08
-3,600
bcf9c8cb27d223e2b0078daf7e3311db3bb4bd82
SAM E54 XPlained Pro: free up DPLL1 for application
[ { "change_type": "MODIFY", "old_path": "hw/bsp/same54xplainedpro/board.mk", "new_path": "hw/bsp/same54xplainedpro/board.mk", "diff": "@@ -13,11 +13,10 @@ CFLAGS += \\\n-D__SAME54P20A__ \\\n-DCONF_CPU_FREQUENCY=$(CONF_CPU_FREQUENCY) \\\n-DCFG_TUSB_MCU=OPT_MCU_SAME5X \\\n+ -DSAME54XPLAINEDPRO=1 \\\n+ ...
C
MIT License
hathach/tinyusb
SAM E54 XPlained Pro: free up DPLL1 for application
281,152
16.03.2021 10:48:42
14,400
62d4652f86516e1fdd7fa79a29535cf39b2ab2f1
Update usbtmc_device.c Fix buffer alignment in TMC device class
[ { "change_type": "MODIFY", "old_path": "src/class/usbtmc/usbtmc_device.c", "new_path": "src/class/usbtmc/usbtmc_device.c", "diff": "@@ -131,9 +131,9 @@ typedef struct\nuint8_t ep_int_in;\n// IN buffer is only used for first packet, not the remainder\n// in order to deal with prepending header\n- uin...
C
MIT License
hathach/tinyusb
Update usbtmc_device.c Fix buffer alignment in TMC device class
281,139
16.03.2021 17:04:40
14,400
dc2f00cca157dc2279f917f59f9607fcd17b3fdb
Add Linux support to tmc example Replaces visa include with pyvisa, as visa use with PyVISA is being deprecated.
[ { "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 as visa\nimport time\nimport sys\n@@ -142,8 +142,16 @@ def test_stall_ep0():\nassert (inst.read_stb() == 0)\n...
C
MIT License
hathach/tinyusb
Add Linux support to tmc example Replaces visa include with pyvisa, as visa use with PyVISA is being deprecated.
281,139
17.03.2021 09:25:01
14,400
ec08dcf61a86686da101f480565c6fae2acc3359
Implement requested changes for PR724
[ { "change_type": "MODIFY", "old_path": "src/class/usbtmc/usbtmc_device.c", "new_path": "src/class/usbtmc/usbtmc_device.c", "diff": "@@ -145,7 +145,7 @@ typedef struct\nusbtmc_capabilities_specific_t const * capabilities;\n} usbtmc_interface_state_t;\n-static usbtmc_interface_state_t usbtmc_state =\n...
C
MIT License
hathach/tinyusb
Implement requested changes for PR724
281,105
19.03.2021 10:57:58
25,200
aa54135087b396c563c08a528a829f622e1a4fce
Initial commit; copied from stmf072-disco and modified for -EVAL board
[ { "change_type": "ADD", "old_path": null, "new_path": "hw/bsp/stm32f072eval/STM32F072VBTX_FLASH.ld", "diff": "+/**\n+ ******************************************************************************\n+ * @file LinkerScript.ld\n+ * @author Auto-generated by STM32CubeIDE\n+ * Abstract : Linker script fo...
C
MIT License
hathach/tinyusb
Initial commit; copied from stmf072-disco and modified for -EVAL board
281,058
21.03.2021 09:38:02
-3,600
a2006ce21466d50e92c62f85a3802262938e3b84
SAM 54 Xplained Pro: remove board specific define
[ { "change_type": "MODIFY", "old_path": "hw/bsp/same54xplainedpro/board.mk", "new_path": "hw/bsp/same54xplainedpro/board.mk", "diff": "@@ -13,7 +13,6 @@ CFLAGS += \\\n-D__SAME54P20A__ \\\n-DCONF_CPU_FREQUENCY=$(CONF_CPU_FREQUENCY) \\\n-DCFG_TUSB_MCU=OPT_MCU_SAME5X \\\n- -DSAME54XPLAINEDPRO=1 \\\n-DBO...
C
MIT License
hathach/tinyusb
SAM 54 Xplained Pro: remove board specific define
281,058
21.03.2021 09:43:29
-3,600
1a5a1136559aa8a78ec42cd49e3a7c28e55b711c
SAM54 Xplained Pro: reduce board setup code for maintenance The board now runs off the internal oscillator at 48 MHz. This is sufficient to run the TinyUSB examples. A better performing clock setup is keep in the file as init_clock_xtal() as an example.
[ { "change_type": "MODIFY", "old_path": "hw/bsp/same54xplainedpro/board.mk", "new_path": "hw/bsp/same54xplainedpro/board.mk", "diff": "DEPS_SUBMODULES = hw/mcu/microchip\n-CONF_CPU_FREQUENCY ?= 120000000\n+CONF_CPU_FREQUENCY ?= 48000000\nCFLAGS += \\\n-mthumb \\\n" }, { "change_type": "MODIFY...
C
MIT License
hathach/tinyusb
SAM54 Xplained Pro: reduce board setup code for maintenance The board now runs off the internal oscillator at 48 MHz. This is sufficient to run the TinyUSB examples. A better performing clock setup is keep in the file as init_clock_xtal() as an example.
281,058
21.03.2021 09:48:49
-3,600
1f9b7b0c4832a2d740bbfe9b437065ea3d24407a
SAM54 Xplained Pro: update board setup documentation
[ { "change_type": "MODIFY", "old_path": "hw/bsp/same54xplainedpro/same54xplainedpro.c", "new_path": "hw/bsp/same54xplainedpro/same54xplainedpro.c", "diff": "@@ -180,7 +180,7 @@ static inline void uart_send_str(const char* text)\nvoid board_init(void)\n{\n- // Uncomment this line to run off the XTAL\n...
C
MIT License
hathach/tinyusb
SAM54 Xplained Pro: update board setup documentation
281,097
23.03.2021 19:33:04
-3,600
a60bd0c8ac374e9d96fd7248503cf822306547d8
Fix bug in writing to constant src/dst address. Copying has to be conduct in full words (at least for STM32). Renamed copy function to tu_fifo_write_n_const_addr_full_words()
[ { "change_type": "MODIFY", "old_path": "src/common/tusb_fifo.c", "new_path": "src/common/tusb_fifo.c", "diff": "@@ -68,7 +68,7 @@ static void tu_fifo_unlock(tu_fifo_mutex_t mutex)\ntypedef enum\n{\nTU_FIFO_COPY_INC, ///< Copy from/to an increasing source/destination address - default mode\n- TU_FIFO...
C
MIT License
hathach/tinyusb
Fix bug in writing to constant src/dst address. Copying has to be conduct in full words (at least for STM32). Renamed copy function to tu_fifo_write_n_const_addr_full_words()
281,051
04.03.2021 23:00:48
0
143582870c8a4175706109e238f4cfa814ae90bc
add efm32gg12 family
[ { "change_type": "MODIFY", "old_path": "hw/bsp/board_mcu.h", "new_path": "hw/bsp/board_mcu.h", "diff": "#elif CFG_TUSB_MCU == OPT_MCU_RP2040\n#include \"pico.h\"\n+#elif CFG_TUSB_MCU == OPT_MCU_EFM32GG || CFG_TUSB_MCU == OPT_MCU_EFM32GG11 || CFG_TUSB_MCU == OPT_MCU_EFM32GG12\n+ #include \"em_device....
C
MIT License
hathach/tinyusb
add efm32gg12 family Signed-off-by: Rafael Silva <silvagracarafael@gmail.com>
281,051
04.03.2021 23:20:24
0
fb661a99bd0668044004278cd9473e0a9e07ff04
added efm32gg12 family cmsis
[ { "change_type": "MODIFY", "old_path": ".gitmodules", "new_path": ".gitmodules", "diff": "[submodule \"lib/CMSIS_5\"]\npath = lib/CMSIS_5\nurl = https://github.com/ARM-software/CMSIS_5.git\n+[submodule \"hw/mcu/silabs/cmsis-dfp-efm32gg12b\"]\n+ path = hw/mcu/silabs/cmsis-dfp-efm32gg12b\n+ url = http...
C
MIT License
hathach/tinyusb
added efm32gg12 family cmsis Signed-off-by: Rafael Silva <silvagracarafael@gmail.com>
281,097
25.03.2021 13:53:26
-3,600
1e4e87de51e67bc6439b463bf30c1f1b7302d510
Rework to copy wrapped word bytes by byte in copy_to_cont_dst etc.
[ { "change_type": "MODIFY", "old_path": "src/common/tusb_fifo.c", "new_path": "src/common/tusb_fifo.c", "diff": "@@ -215,7 +215,9 @@ static void _ff_push_n(tu_fifo_t* f, void const * data, uint16_t n, uint16_t wRe\n// Write full words of linear part to buffer\nuint16_t full_words = nLin >> 2;\n- for(...
C
MIT License
hathach/tinyusb
Rework to copy wrapped word bytes by byte in copy_to_cont_dst etc.
281,097
25.03.2021 14:28:59
-3,600
bfddfbadc72eb389f88e045f68a4219149397a46
Implement unaligned word copy.
[ { "change_type": "MODIFY", "old_path": "src/common/tusb_fifo.c", "new_path": "src/common/tusb_fifo.c", "diff": "@@ -107,30 +107,33 @@ static inline uint16_t _ff_mod(uint16_t idx, uint16_t depth)\n// TODO generalize with configurable 1 byte or 4 byte each read\nstatic void _tu_fifo_read_from_const_sr...
C
MIT License
hathach/tinyusb
Implement unaligned word copy.
281,097
25.03.2021 14:38:55
-3,600
994dddc231c3b7d52e16e5b42d8c42a84e664622
Fix shadowing parameter in fifo.c
[ { "change_type": "MODIFY", "old_path": "src/common/tusb_fifo.c", "new_path": "src/common/tusb_fifo.c", "diff": "@@ -129,11 +129,11 @@ static void _tu_fifo_read_from_const_src_ptr_in_full_words(void * dst, const voi\nif(bytes_rem != 0) {\nuint8_t * dst_u8 = (uint8_t *)dst_una;\nuint32_t tmp = *rx_fif...
C
MIT License
hathach/tinyusb
Fix shadowing parameter in fifo.c
281,158
05.03.2021 01:38:49
-32,400
18be454011eb29652b9e740f33b5b5677d50e7b7
added board files
[ { "change_type": "ADD", "old_path": null, "new_path": "hw/bsp/gr_citrus/board.mk", "diff": "+CFLAGS += \\\n+ -nostartfiles \\\n+ -nostdinc \\\n+ -ffunction-sections \\\n+ -fdata-sections \\\n+ -mcpu=rx610 \\\n+ -misa=v1 \\\n+ -mlittle-endian-data \\\n+ -DCFG_TUSB_MCU=OPT_MCU_RX63X\n+\n+# Cross Compi...
C
MIT License
hathach/tinyusb
added board files
281,158
07.03.2021 14:53:21
-32,400
13735eb21de8d21a88871e69859f69db02af93c6
added dcd for Renesas USBa
[ { "change_type": "ADD", "old_path": null, "new_path": "src/portable/renesas/usba/dcd_usba.c", "diff": "+/*\n+ * The MIT License (MIT)\n+ *\n+ * Copyright (c) 2020 Koji Kitayama\n+ *\n+ * Permission is hereby granted, free of charge, to any person obtaining a copy\n+ * of this software and associated...
C
MIT License
hathach/tinyusb
added dcd for Renesas USBa
281,158
24.03.2021 00:53:55
-32,400
f8cf88f918e09179137b77fc86ded0f648209746
update for gr_citurs
[ { "change_type": "MODIFY", "old_path": "hw/bsp/gr_citrus/board.mk", "new_path": "hw/bsp/gr_citrus/board.mk", "diff": "@@ -28,6 +28,7 @@ MCU_DIR = hw/mcu/renesas/rx63n\nLD_FILE = hw/bsp/$(BOARD)/r5f5631fd.ld\nSRC_C += \\\n+ src/portable/renesas/usba/dcd_usba.c \\\n$(MCU_DIR)/vects.c\nINC += \\\n@@ -3...
C
MIT License
hathach/tinyusb
update for gr_citurs
281,158
27.03.2021 14:42:19
-32,400
e010ea30e57e0f8561f8aa7b66afefb01a9bc42d
using BRDY interruption for handling IN transfers.
[ { "change_type": "MODIFY", "old_path": "src/portable/renesas/usba/dcd_usba.c", "new_path": "src/portable/renesas/usba/dcd_usba.c", "diff": "@@ -200,9 +200,9 @@ static volatile uint16_t* ep_addr_to_pipectr(uint8_t rhport, unsigned ep_addr)\n{\n(void)rhport;\nvolatile uint16_t *ctr = NULL;\n- const un...
C
MIT License
hathach/tinyusb
using BRDY interruption for handling IN transfers.
281,158
27.03.2021 16:00:56
-32,400
e48b2c681e9d7eaf07f3e1d4125ab24872645f32
fixed definitions for stack areas
[ { "change_type": "MODIFY", "old_path": "hw/bsp/gr_citrus/r5f5631fd.ld", "new_path": "hw/bsp/gr_citrus/r5f5631fd.ld", "diff": "__USTACK_SIZE = 0x00000200;\n-__ISTACK_SIZE = 0x00000100;\n+__ISTACK_SIZE = 0x00000200;\nMEMORY\n{\n@@ -112,13 +112,13 @@ SECTIONS\n_ebss = .;\n_end = .;\n} > RAM\n- .ustack ...
C
MIT License
hathach/tinyusb
fixed definitions for stack areas
281,158
27.03.2021 16:03:04
-32,400
a1f1941c3f965483e274993e43d18a9ede5e1f09
fixed a OUT transfer did not completed multiple of the max packet size
[ { "change_type": "MODIFY", "old_path": "src/portable/renesas/usba/dcd_usba.c", "new_path": "src/portable/renesas/usba/dcd_usba.c", "diff": "@@ -261,7 +261,7 @@ static int write_fifo(volatile void *fifo, pipe_state_t* pipe, unsigned mps)\nreturn 0;\n}\n-/* 1 if the number of bytes read is less than 6...
C
MIT License
hathach/tinyusb
fixed a OUT transfer did not completed multiple of the max packet size
281,158
27.03.2021 19:12:34
-32,400
eab214e07c53d84d33a74c5a73fe40c152e3b987
added settings for LWIP and FreeRTOS
[ { "change_type": "MODIFY", "old_path": "hw/bsp/gr_citrus/board.mk", "new_path": "hw/bsp/gr_citrus/board.mk", "diff": "CFLAGS += \\\n-nostartfiles \\\n- -nostdinc \\\n-ffunction-sections \\\n-fdata-sections \\\n-mcpu=rx610 \\\n@@ -17,10 +16,17 @@ else\nOPTLIBINC=$(shell dirname `which rx-elf-gcc`)../...
C
MIT License
hathach/tinyusb
added settings for LWIP and FreeRTOS
281,158
27.03.2021 20:22:32
-32,400
86dab3f7e9ce5880eb7f5eb340110735e8ace54f
added configurations for RX63X
[ { "change_type": "MODIFY", "old_path": "examples/device/cdc_msc_freertos/src/FreeRTOSConfig.h", "new_path": "examples/device/cdc_msc_freertos/src/FreeRTOSConfig.h", "diff": "@@ -132,6 +132,16 @@ extern uint32_t SystemCoreClock;\n#define configASSERT( x )\n#endif\n+#ifdef __RX__\n+/* Renesas RX serie...
C
MIT License
hathach/tinyusb
added configurations for RX63X
281,158
27.03.2021 22:20:15
-32,400
4c832a9195cfca5a2d840c30efc010da75f71b4b
Set newlib as the default library
[ { "change_type": "MODIFY", "old_path": "hw/bsp/gr_citrus/board.mk", "new_path": "hw/bsp/gr_citrus/board.mk", "diff": "@@ -10,22 +10,23 @@ CFLAGS += \\\n# Cross Compiler for RX\nCROSS_COMPILE = rx-elf-\n+RX_NEWLIB ?= 1\n+\nifeq ($(CMDEXE),1)\nOPTLIBINC=\"$(shell for /F \"usebackq delims=\" %%i in (`w...
C
MIT License
hathach/tinyusb
Set newlib as the default library
281,158
28.03.2021 00:34:29
-32,400
0b76a2da88d01f5defcc22c25d3d8bb4068dbf8d
added a setting for RX63X
[ { "change_type": "MODIFY", "old_path": "hw/bsp/board_mcu.h", "new_path": "hw/bsp/board_mcu.h", "diff": "#elif CFG_TUSB_MCU == OPT_MCU_EFM32GG || CFG_TUSB_MCU == OPT_MCU_EFM32GG11 || CFG_TUSB_MCU == OPT_MCU_EFM32GG12\n#include \"em_device.h\"\n+#elif CFG_TUSB_MCU == OPT_MCU_RX63X\n+ // no header need...
C
MIT License
hathach/tinyusb
added a setting for RX63X
281,158
28.03.2021 00:46:08
-32,400
0e0f9a8da30780c9db711e08371465343247604e
added a submodule for RX63N
[ { "change_type": "MODIFY", "old_path": ".gitmodules", "new_path": ".gitmodules", "diff": "[submodule \"hw/mcu/silabs/cmsis-dfp-efm32gg12b\"]\npath = hw/mcu/silabs/cmsis-dfp-efm32gg12b\nurl = https://github.com/cmsis-packs/cmsis-dfp-efm32gg12b\n+[submodule \"hw/mcu/renesas\"]\n+ path = hw/mcu/renesas...
C
MIT License
hathach/tinyusb
added a submodule for RX63N
281,131
29.03.2021 11:06:03
-7,200
d8efef94611f5744b7e141f424f02b907accd5b7
Add releases to Mynewt repository.yml This makes it possible to setup Mynewt project which checkouts specified version of tinyusb.
[ { "change_type": "MODIFY", "old_path": "repository.yml", "new_path": "repository.yml", "diff": "repo.name: tinyusb\nrepo.versions:\n\"0.0.0\": \"master\"\n+ \"0.5.0\": \"0.5.0\"\n+ \"0.6.0\": \"0.6.0\"\n+ \"0.7.0\": \"0.7.0\"\n+ \"0.8.0\": \"0.8.0\"\n+ \"0.9.0\": \"0.9.0\"\n+\n+ \"0-dev\": \"0.0.0\"...
C
MIT License
hathach/tinyusb
Add releases to Mynewt repository.yml This makes it possible to setup Mynewt project which checkouts specified version of tinyusb.
281,158
31.03.2021 21:50:53
-32,400
74c8887c8eb22c7bc457dc7e4381061241d2fa84
removed a submodule for Renesas
[ { "change_type": "MODIFY", "old_path": ".gitmodules", "new_path": ".gitmodules", "diff": "[submodule \"hw/mcu/silabs/cmsis-dfp-efm32gg12b\"]\npath = hw/mcu/silabs/cmsis-dfp-efm32gg12b\nurl = https://github.com/cmsis-packs/cmsis-dfp-efm32gg12b\n-[submodule \"hw/mcu/renesas\"]\n- path = hw/mcu/renesas...
C
MIT License
hathach/tinyusb
removed a submodule for Renesas
281,158
31.03.2021 21:53:15
-32,400
25057022e3bb74097849e86c90f0eb4b35b90394
add a submodule of Renesas RX family to `hw/mcu/renesas/rx`
[ { "change_type": "MODIFY", "old_path": ".gitmodules", "new_path": ".gitmodules", "diff": "[submodule \"hw/mcu/silabs/cmsis-dfp-efm32gg12b\"]\npath = hw/mcu/silabs/cmsis-dfp-efm32gg12b\nurl = https://github.com/cmsis-packs/cmsis-dfp-efm32gg12b\n+[submodule \"hw/mcu/renesas/rx\"]\n+ path = hw/mcu/rene...
C
MIT License
hathach/tinyusb
add a submodule of Renesas RX family to `hw/mcu/renesas/rx`
281,158
31.03.2021 22:15:03
-32,400
ff2978d95fe80ec7abcabbc6c5a451f6b998dae2
added comments for JLink connection work.
[ { "change_type": "MODIFY", "old_path": "hw/bsp/rx63n/boards/gr_citrus/gr_citrus.c", "new_path": "hw/bsp/rx63n/boards/gr_citrus/gr_citrus.c", "diff": "* This file is part of the TinyUSB stack.\n*/\n+/* How to connect JLink and GR-CITRUS\n+ *\n+ * GR-CITRUS needs to solder some pads to enable JTAG int...
C
MIT License
hathach/tinyusb
added comments for JLink connection work.
281,051
23.03.2021 21:40:53
0
65a04f02b6cae39e87c350ffe4894918050dfe8d
add sltb009a bsp
[ { "change_type": "ADD", "old_path": null, "new_path": "hw/bsp/sltb009a/board.mk", "diff": "+CFLAGS += \\\n+ -flto \\\n+ -mthumb \\\n+ -mcpu=cortex-m4 \\\n+ -mfloat-abi=hard \\\n+ -mfpu=fpv4-sp-d16 \\\n+ -nostdlib -nostartfiles \\\n+ -D__STARTUP_CLEAR_BSS \\\n+ -D__START=main \\\n+ -DEFM32GG12B810F10...
C
MIT License
hathach/tinyusb
add sltb009a bsp Signed-off-by: Rafael Silva <silvagracarafael@gmail.com>
281,100
02.04.2021 16:32:48
-25,200
ab4d30fd6bca02c73eb9b4ff82db0b2b0f403344
update readme and contributors for renesas rx63n and silabs efm32gg12 port * update readme and contributors for renesas rx63n and silabs efm32gg12 port also add some doc for changelog * typo * update more boards * more typo * typo 3
[ { "change_type": "MODIFY", "old_path": "CONTRIBUTORS.md", "new_path": "CONTRIBUTORS.md", "diff": "- **[Koji KITAYAMA](https://github.com/kkitayam)**\n- Add new DCD port for **NXP Kinetis KL25**\n+ - Add new DCD port for **Renesas RX63n** with GR-CITRUS board\n- **[Nathan Conrad](https://github.com/p...
C
MIT License
hathach/tinyusb
update readme and contributors for renesas rx63n and silabs efm32gg12 port (#767) * update readme and contributors for renesas rx63n and silabs efm32gg12 port also add some doc for changelog * typo * update more boards * more typo * typo 3
281,097
03.04.2021 15:24:38
-7,200
8b90c08b357ce04aebe093856b954e02624ff0fe
Fix #define errors in audio_device.h
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.h", "new_path": "src/class/audio/audio_device.h", "diff": "#error EP software buffer size MUST BE at least as big as maximum EP size\n#endif\n+#if CFG_TUD_AUDIO > 1\n#if CFG_TUD_AUDIO_FUNC_2_EP_IN_SW_BUF_SZ < CFG_TUD_AUDIO_FUNC_2_E...
C
MIT License
hathach/tinyusb
Fix #define errors in audio_device.h
281,097
03.04.2021 15:48:09
-7,200
fcb97bd4e90346d0bfb21f4eda4fc0426b6b74c3
Fix #define in audio_test
[ { "change_type": "MODIFY", "old_path": "examples/device/audio_test/src/main.c", "new_path": "examples/device/audio_test/src/main.c", "diff": "@@ -379,7 +379,7 @@ bool tud_audio_tx_done_pre_load_cb(uint8_t rhport, uint8_t itf, uint8_t ep_in, u\n(void) ep_in;\n(void) cur_alt_setting;\n- tud_audio_writ...
C
MIT License
hathach/tinyusb
Fix #define in audio_test
281,097
03.04.2021 15:58:41
-7,200
fc65f39ff224cdfe3c486c95e0c04f1f979fa1b2
Fix error in #defines in uac2_headset
[ { "change_type": "MODIFY", "old_path": "examples/device/uac2_headset/src/tusb_config.h", "new_path": "examples/device/uac2_headset/src/tusb_config.h", "diff": "@@ -94,6 +94,8 @@ extern \"C\" {\n#define CFG_TUD_AUDIO_IN_PATH (CFG_TUD_AUDIO)\n#define CFG_TUD_AUDIO_OUT_PATH (CFG_TUD_AUDIO)\n+#define CF...
C
MIT License
hathach/tinyusb
Fix error in #defines in uac2_headset
281,097
03.04.2021 16:10:46
-7,200
475badd0873dda58b507d3dfe5ab74957fcaa3c0
Add missing #defines in uac2_headset example
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.c", "new_path": "src/class/audio/audio_device.c", "diff": "@@ -949,7 +949,7 @@ static uint16_t audiod_encode_type_I_pcm(uint8_t rhport, audiod_interface_t* aud\nnBytesPerFFToSend = tu_min16(nBytesPerFFToSend, capPerFF);\n// Round t...
C
MIT License
hathach/tinyusb
Add missing #defines in uac2_headset example
281,097
03.04.2021 16:22:35
-7,200
c57369ee8349ec0a11d769a704568e4f7c51a3b2
Fix old defines in uac2_headset
[ { "change_type": "MODIFY", "old_path": "examples/device/uac2_headset/src/main.c", "new_path": "examples/device/uac2_headset/src/main.c", "diff": "@@ -72,8 +72,8 @@ static uint32_t blink_interval_ms = BLINK_NOT_MOUNTED;\n// Audio controls\n// Current states\n-int8_t mute[CFG_TUD_AUDIO_N_CHANNELS_TX +...
C
MIT License
hathach/tinyusb
Fix old defines in uac2_headset
281,097
03.04.2021 16:29:44
-7,200
955979633774b5421f73c70fc524ef058af676b7
Fix typo in uac2_headset
[ { "change_type": "MODIFY", "old_path": "examples/device/uac2_headset/src/tusb_config.h", "new_path": "examples/device/uac2_headset/src/tusb_config.h", "diff": "@@ -113,7 +113,7 @@ extern \"C\" {\n#define CFG_TUD_AUDIO_ENABLE_EP_OUT 1\n#define CFG_TUD_AUDIO_EP_OUT_SZ (CFG_TUD_AUDIO_OUT_PATH * ((48 + ...
C
MIT License
hathach/tinyusb
Fix typo in uac2_headset
281,097
03.04.2021 16:53:29
-7,200
4af5189492f850615581d3310e20c98f69cf6138
Fix potential bug in support FIFO sizes
[ { "change_type": "MODIFY", "old_path": "examples/device/uac2_headset/src/tusb_config.h", "new_path": "examples/device/uac2_headset/src/tusb_config.h", "diff": "@@ -94,8 +94,6 @@ extern \"C\" {\n#define CFG_TUD_AUDIO_IN_PATH (CFG_TUD_AUDIO)\n#define CFG_TUD_AUDIO_OUT_PATH (CFG_TUD_AUDIO)\n-#define CF...
C
MIT License
hathach/tinyusb
Fix potential bug in support FIFO sizes
281,097
03.04.2021 16:58:05
-7,200
6f2f5320f26f131e56fba21c079d007d22cafa37
Fix uac2_headset example
[ { "change_type": "MODIFY", "old_path": "examples/device/uac2_headset/src/tusb_config.h", "new_path": "examples/device/uac2_headset/src/tusb_config.h", "diff": "extern \"C\" {\n#endif\n+#include \"usb_descriptors.h\"\n+\n//--------------------------------------------------------------------\n// COMMO...
C
MIT License
hathach/tinyusb
Fix uac2_headset example
281,097
03.04.2021 17:50:30
-7,200
f6ba58e370cd67b78dcd1758aa9fe010035f13bc
Fix wrong pointer type in audio_device.c
[ { "change_type": "MODIFY", "old_path": "examples/device/uac2_headset/src/usb_descriptors.c", "new_path": "examples/device/uac2_headset/src/usb_descriptors.c", "diff": "@@ -87,8 +87,6 @@ uint8_t const * tud_descriptor_device_cb(void)\n#define EPNUM_AUDIO 0x01\n#endif\n-#define CFG_TUD_AUDIO_FUNC_1_DE...
C
MIT License
hathach/tinyusb
Fix wrong pointer type in audio_device.c
281,097
03.04.2021 18:07:18
-7,200
e0cb4159542cf41c5ca502106dec66cbbf88f268
Fix uac2_headset include hassle be declaring value by hand
[ { "change_type": "MODIFY", "old_path": "examples/device/uac2_headset/src/tusb_config.h", "new_path": "examples/device/uac2_headset/src/tusb_config.h", "diff": "@@ -94,7 +94,7 @@ extern \"C\" {\n#define CFG_TUD_AUDIO_IN_PATH (CFG_TUD_AUDIO)\n#define CFG_TUD_AUDIO_OUT_PATH (CFG_TUD_AUDIO)\n-#define CF...
C
MIT License
hathach/tinyusb
Fix uac2_headset include hassle be declaring value by hand
281,097
03.04.2021 18:22:19
-7,200
1ac9e7e3a70b48e73f150d1e7494eaecd2d34822
Fix wrong read mutexes in audio_device.c
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.c", "new_path": "src/class/audio/audio_device.c", "diff": "@@ -1061,7 +1061,7 @@ void audiod_init(void)\ncase 0:\ntu_fifo_config(&audio->ep_in_ff, audio_ep_in_sw_buf_1, CFG_TUD_AUDIO_FUNC_1_EP_IN_SW_BUF_SZ, 1, true);\n#if CFG_FIFO_...
C
MIT License
hathach/tinyusb
Fix wrong read mutexes in audio_device.c
281,139
05.04.2021 11:13:42
14,400
164d3e82e32e1039ba8e471fbc949699c396c9fe
Fix incorrect DNLOAD request len passed to app Fixes bug where the app callback was getting the length of the status request transfer rather than the length of the data stage payload. TODO: Right now this returns the expected length, when it really should be returning the transfer length.
[ { "change_type": "MODIFY", "old_path": "src/class/dfu/dfu_rt_device.c", "new_path": "src/class/dfu/dfu_rt_device.c", "diff": "@@ -46,8 +46,9 @@ typedef struct TU_ATTR_PACKED\nbool blk_transfer_in_proc;\nuint8_t itf_num;\n- CFG_TUSB_MEM_ALIGN uint8_t epin_buf[CFG_TUD_DFU_TRANSFER_BUFFER_SIZE];\n- CFG...
C
MIT License
hathach/tinyusb
Fix incorrect DNLOAD request len passed to app Fixes bug where the app callback was getting the length of the status request transfer rather than the length of the data stage payload. TODO: Right now this returns the expected length, when it really should be returning the transfer length.
281,139
05.04.2021 16:48:09
14,400
fdc91f8d2c3364a9a5cea2b0efff2167c9bf4786
Fix bug during initialization of DFU Mode
[ { "change_type": "MODIFY", "old_path": "src/class/dfu/dfu_mode_device.c", "new_path": "src/class/dfu/dfu_mode_device.c", "diff": "@@ -67,7 +67,7 @@ static bool dfu_mode_state_machine(uint8_t rhport, tusb_control_request_t const\n//--------------------------------------------------------------------+...
C
MIT License
hathach/tinyusb
Fix bug during initialization of DFU Mode
281,139
05.04.2021 17:06:27
14,400
bc2cb99780a0bc0359195a4be8e556f71da5a70b
Remove unreachable callback
[ { "change_type": "MODIFY", "old_path": "src/class/dfu/dfu_mode_device.c", "new_path": "src/class/dfu/dfu_mode_device.c", "diff": "@@ -590,14 +590,4 @@ static bool dfu_mode_state_machine(uint8_t rhport, tusb_control_request_t const\n}\n-bool dfu_mode_xfer_cb(uint8_t rhport, uint8_t ep_addr, xfer_resu...
C
MIT License
hathach/tinyusb
Remove unreachable callback
281,097
07.04.2021 20:07:28
-7,200
8eacdffebdcc10a6fffdc248ef6086b223f3edf3
Optimize encode/decode - refactor unnecessary repetitive division
[ { "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\naudio_data_format_type_I_t format_type_I_rx;\nuint8_t n_bytes_per_sampe_rx;\nuint8_t n_channels_per_ff_rx;\n+ uint8_t n_ff_used_rx;\n#en...
C
MIT License
hathach/tinyusb
Optimize encode/decode - refactor unnecessary repetitive division
281,139
07.04.2021 17:15:26
14,400
ae851bba31781eacfadc7e69b414cd1da6960314
Resolve gcc warnings for no parameter functions
[ { "change_type": "MODIFY", "old_path": "src/class/dfu/dfu_mode_device.h", "new_path": "src/class/dfu/dfu_mode_device.h", "diff": "// Application Callback API (weak is optional)\n//--------------------------------------------------------------------+\n// Invoked when a reset is received to check if f...
C
MIT License
hathach/tinyusb
Resolve gcc warnings for no parameter functions
281,097
08.04.2021 19:56:26
-7,200
930eca0748f047c0130bcf28039c34a1d489b89e
Add 4 channel microphone audio example using software encoding
[ { "change_type": "ADD", "old_path": "examples/device/audio_4_channel_mic/.skip.MCU_SAMD11", "new_path": "examples/device/audio_4_channel_mic/.skip.MCU_SAMD11", "diff": "" }, { "change_type": "ADD", "old_path": "examples/device/audio_4_channel_mic/.skip.MCU_SAME5X", "new_path": "examp...
C
MIT License
hathach/tinyusb
Add 4 channel microphone audio example using software encoding
281,097
08.04.2021 20:11:51
-7,200
4bebb9ca49bc6fc7ae281d284e009afe276a2948
Remove depracted defines in audio_device.c
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.c", "new_path": "src/class/audio/audio_device.c", "diff": "@@ -762,13 +762,8 @@ static bool audiod_tx_done_cb(uint8_t rhport, audiod_interface_t * audio)\nuint8_t idxDriver, idxItf;\nuint8_t const *dummy2;\n-#if CFG_TUD_AUDIO_ENABL...
C
MIT License
hathach/tinyusb
Remove depracted defines in audio_device.c
281,097
08.04.2021 20:15:08
-7,200
97d1609c7260f6690a3be119750769a633e46611
Ensure half word alignment in audio 4 channel example
[ { "change_type": "MODIFY", "old_path": "examples/device/audio_4_channel_mic/src/main.c", "new_path": "examples/device/audio_4_channel_mic/src/main.c", "diff": "@@ -63,7 +63,7 @@ audio_control_range_2_n_t(1) volumeRng[CFG_TUD_AUDIO_FUNC_1_N_CHANNELS_TX+1];\naudio_control_range_4_n_t(1) sampleFreqRng;...
C
MIT License
hathach/tinyusb
Ensure half word alignment in audio 4 channel example
281,097
08.04.2021 21:48:36
-7,200
2134c1a875d57c79cd431a982d67420101d3c656
Fix defines in audio_device.c
[ { "change_type": "MODIFY", "old_path": "examples/device/audio_4_channel_mic/src/main.c", "new_path": "examples/device/audio_4_channel_mic/src/main.c", "diff": "@@ -429,7 +429,6 @@ bool tud_audio_set_itf_close_EP_cb(uint8_t rhport, tusb_control_request_t const\n{\n(void) rhport;\n(void) p_request;\n-...
C
MIT License
hathach/tinyusb
Fix defines in audio_device.c
281,101
05.04.2021 00:02:51
14,400
7c8b4991f17809ec924e86914868a3043d13d34d
Add support for SAM L22 family
[ { "change_type": "MODIFY", "old_path": "hw/bsp/board_mcu.h", "new_path": "hw/bsp/board_mcu.h", "diff": "#include \"nrf.h\"\n#elif CFG_TUSB_MCU == OPT_MCU_SAMD11 || CFG_TUSB_MCU == OPT_MCU_SAMD21 || \\\n- CFG_TUSB_MCU == OPT_MCU_SAMD51 || CFG_TUSB_MCU == OPT_MCU_SAME5X\n+ CFG_TUSB_MCU == OPT_MCU_SAMD...
C
MIT License
hathach/tinyusb
Add support for SAM L22 family
281,101
10.04.2021 17:02:59
14,400
13e474997cea3feb8fa8dddedfb31c663bcaee1d
Update boards.md with SAM L22 boards
[ { "change_type": "MODIFY", "old_path": "docs/boards.md", "new_path": "docs/boards.md", "diff": "@@ -47,6 +47,11 @@ This code base already had supported for a handful of following boards (sorted a\n- [Microchip SAMG55 Xplained Pro](https://www.microchip.com/DevelopmentTools/ProductDetails/PartNO/ATSA...
C
MIT License
hathach/tinyusb
Update boards.md with SAM L22 boards
281,139
12.04.2021 11:17:01
14,400
7b45b38fe4b7d2ebd197463cf12f091a6f68ac91
Remove DFU mode and rt
[ { "change_type": "MODIFY", "old_path": "src/class/dfu/dfu_mode_device.c", "new_path": "src/class/dfu/dfu_mode_device.c", "diff": "#include \"tusb_option.h\"\n-#if (TUSB_OPT_DEVICE_ENABLED && CFG_TUD_DFU_MODE) || (TUSB_OPT_DEVICE_ENABLED && CFG_TUD_DFU_RUNTIME_AND_MODE)\n+#if (TUSB_OPT_DEVICE_ENABLED...
C
MIT License
hathach/tinyusb
Remove DFU mode and rt
281,097
14.04.2021 21:52:54
-7,200
8d9f60ca5e1b095fd8ab5541bf3190a2035eaf6f
Improve user feedback in case of wrong configuration of audio driver
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.c", "new_path": "src/class/audio/audio_device.c", "diff": "@@ -182,9 +182,7 @@ CFG_TUSB_MEM_ALIGN uint8_t ctrl_buf_3[CFG_TUD_AUDIO_FUNC_3_CTRL_BUF_SZ];\n#endif\n// Active alternate setting of interfaces\n-#if CFG_TUD_AUDIO_FUNC_1_N...
C
MIT License
hathach/tinyusb
Improve user feedback in case of wrong configuration of audio driver
281,097
15.04.2021 17:04:25
-7,200
fa0d71f2cf26419d01a78227e7689ecb8771e785
Try to resolve include hassle in uac2_headset
[ { "change_type": "MODIFY", "old_path": "examples/device/uac2_headset/src/tusb_config.h", "new_path": "examples/device/uac2_headset/src/tusb_config.h", "diff": "@@ -35,6 +35,8 @@ extern \"C\" {\n// COMMON CONFIGURATION\n//--------------------------------------------------------------------\n+#include...
C
MIT License
hathach/tinyusb
Try to resolve include hassle in uac2_headset