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,039 | 08.07.2021 01:10:02 | -7,200 | 2147a31f25e6e848d9ec690d8324a6fa2d1d3127 | Fix wrong blocknum and length | [
{
"change_type": "MODIFY",
"old_path": "src/class/dfu/dfu_device.c",
"new_path": "src/class/dfu/dfu_device.c",
"diff": "@@ -50,6 +50,8 @@ typedef struct TU_ATTR_PACKED\nbool blk_transfer_in_proc;\nuint8_t alt;\nuint8_t intf;\n+ uint16_t block;\n+ uint16_t length;\nCFG_TUSB_MEM_ALIGN uint8_t transfer... | C | MIT License | hathach/tinyusb | Fix wrong blocknum and length |
281,158 | 08.07.2021 21:57:28 | -32,400 | 2e0d7e87d07346dc1abeeac279c7e7003630ce5a | add settings for Renesas RX family | [
{
"change_type": "MODIFY",
"old_path": "examples/device/uac2_headset/src/main.c",
"new_path": "examples/device/uac2_headset/src/main.c",
"diff": "//--------------------------------------------------------------------+\n// List of supported sample rates\n+#if defined(__RX__)\n+const uint32_t sample_r... | C | MIT License | hathach/tinyusb | add settings for Renesas RX family |
281,039 | 17.07.2021 12:08:42 | -7,200 | 475742984f4d0f2b95c9c78dfff71814117feb90 | Change OPT_MCU_SAMX7X value. | [
{
"change_type": "MODIFY",
"old_path": "src/tusb_option.h",
"new_path": "src/tusb_option.h",
"diff": "#define OPT_MCU_SAME5X 203 ///< MicroChip SAM E5x\n#define OPT_MCU_SAMD11 204 ///< MicroChip SAMD11\n#define OPT_MCU_SAML22 205 ///< MicroChip SAML22\n-#define OPT_MCU_SAMX7X 206 ///< MicroChip SAME... | C | MIT License | hathach/tinyusb | Change OPT_MCU_SAMX7X value. |
281,039 | 17.07.2021 13:48:21 | -7,200 | 7e3e41952fe4c83a182dfe39e5bab89e65120485 | Fix ISO support. | [
{
"change_type": "MODIFY",
"old_path": "examples/device/uac2_headset/src/usb_descriptors.c",
"new_path": "examples/device/uac2_headset/src/usb_descriptors.c",
"diff": "@@ -79,12 +79,20 @@ uint8_t const * tud_descriptor_device_cb(void)\n#if CFG_TUSB_MCU == OPT_MCU_LPC175X_6X || CFG_TUSB_MCU == OPT_MC... | C | MIT License | hathach/tinyusb | Fix ISO support. |
281,039 | 18.07.2021 22:03:45 | -7,200 | d0dd3c77ff7cffddbcc177d0ed48acd7a70f74a8 | Use USBHS_Handler | [
{
"change_type": "MODIFY",
"old_path": "hw/bsp/same70_xplained/same70_xplained.c",
"new_path": "hw/bsp/same70_xplained/same70_xplained.c",
"diff": "@@ -109,7 +109,7 @@ void board_init(void)\n//--------------------------------------------------------------------+\n// USB Interrupt Handler\n//--------... | C | MIT License | hathach/tinyusb | Use USBHS_Handler |
281,039 | 19.07.2021 01:07:33 | -7,200 | 8cae17bfc87f49c814827b0a31a4b6b6e8314f69 | Fixing NAKed OUT xfer | [
{
"change_type": "MODIFY",
"old_path": "src/portable/microchip/samx7x/dcd_samx7x.c",
"new_path": "src/portable/microchip/samx7x/dcd_samx7x.c",
"diff": "#define EP_GET_FIFO_PTR(ep, scale) (((TU_XSTRCAT(TU_STRCAT(uint, scale),_t) (*)[0x8000 / ((scale) / 8)])USBHS_RAM_ADDR)[(ep)])\n// Errata: The DMA f... | C | MIT License | hathach/tinyusb | Fixing NAKed OUT xfer |
281,043 | 19.07.2021 17:45:12 | -36,000 | cee980c598ce3ff83f2980280d53c906b7bf1b19 | Fix for dcd_synopsys driver integer overflow in HS mode (issue | [
{
"change_type": "MODIFY",
"old_path": "src/portable/st/synopsys/dcd_synopsys.c",
"new_path": "src/portable/st/synopsys/dcd_synopsys.c",
"diff": "@@ -656,7 +656,7 @@ bool dcd_edpt_xfer (uint8_t rhport, uint8_t ep_addr, uint8_t * buffer, uint16_t\n}\nuint16_t num_packets = (total_bytes / xfer->max_si... | C | MIT License | hathach/tinyusb | Fix for dcd_synopsys driver integer overflow in HS mode (issue #968). |
281,039 | 19.07.2021 22:03:47 | -7,200 | 75f61328ea8aaffa0e666c56def4efdafcb63a12 | Remove clock init. | [
{
"change_type": "MODIFY",
"old_path": "src/portable/microchip/samx7x/dcd_samx7x.c",
"new_path": "src/portable/microchip/samx7x/dcd_samx7x.c",
"diff": "@@ -102,14 +102,14 @@ static const tusb_desc_endpoint_t ep0_desc =\n// Initialize controller to device mode\nvoid dcd_init (uint8_t rhport)\n{\n- //... | C | MIT License | hathach/tinyusb | Remove clock init. |
281,039 | 20.07.2021 13:24:39 | -7,200 | fa9a327a7134a53a0a2b1d7c449083110f9a7d37 | Workaround of EP0 issue, clean up. | [
{
"change_type": "MODIFY",
"old_path": "src/portable/microchip/samx7x/dcd_samx7x.c",
"new_path": "src/portable/microchip/samx7x/dcd_samx7x.c",
"diff": "#define EP_GET_FIFO_PTR(ep, scale) (((TU_XSTRCAT(TU_STRCAT(uint, scale),_t) (*)[0x8000 / ((scale) / 8)])USBHS_RAM_ADDR)[(ep)])\n// Errata: The DMA f... | C | MIT License | hathach/tinyusb | Workaround of EP0 issue, clean up. |
281,039 | 21.07.2021 00:14:28 | -7,200 | eec927ea959d6d972c62d60fa634df227e196b36 | Fix EP0 issue (again) | [
{
"change_type": "MODIFY",
"old_path": "src/portable/microchip/samx7x/dcd_samx7x.c",
"new_path": "src/portable/microchip/samx7x/dcd_samx7x.c",
"diff": "@@ -86,7 +86,7 @@ static void dcd_transmit_packet(xfer_ctl_t * xfer, uint8_t ep_ix);\n// DMA descriptors shouldn't be placed in ITCM !\nCFG_TUSB_MEM... | C | MIT License | hathach/tinyusb | Fix EP0 issue (again) |
281,039 | 21.07.2021 09:42:26 | -7,200 | 9c26c0c01e244310dc0e90573f39be7dc7250ead | Remove redundant TX irq. | [
{
"change_type": "MODIFY",
"old_path": "src/portable/microchip/samx7x/dcd_samx7x.c",
"new_path": "src/portable/microchip/samx7x/dcd_samx7x.c",
"diff": "@@ -530,13 +530,6 @@ bool dcd_edpt_open (uint8_t rhport, tusb_desc_endpoint_t const * ep_desc)\nif (USBHS_DEVEPTISR_CFGOK == (USBHS->USBHS_DEVEPTISR... | C | MIT License | hathach/tinyusb | Remove redundant TX irq. |
281,039 | 21.07.2021 10:29:47 | -7,200 | 5492d9148cbd09d19137b992f9ee51def9bd076f | Re-enable SETUP irq on EP0 stall. | [
{
"change_type": "MODIFY",
"old_path": "src/portable/microchip/samx7x/dcd_samx7x.c",
"new_path": "src/portable/microchip/samx7x/dcd_samx7x.c",
"diff": "@@ -728,6 +728,11 @@ void dcd_edpt_stall (uint8_t rhport, uint8_t ep_addr)\n(void) rhport;\nuint8_t const epnum = tu_edpt_number(ep_addr);\nUSBHS->U... | C | MIT License | hathach/tinyusb | Re-enable SETUP irq on EP0 stall. |
281,039 | 21.07.2021 10:50:07 | -7,200 | 8c6cd5396c1276aed12fd3a74825debe136d3ded | Fix non-DMA IN irq. | [
{
"change_type": "MODIFY",
"old_path": "src/portable/microchip/samx7x/dcd_samx7x.c",
"new_path": "src/portable/microchip/samx7x/dcd_samx7x.c",
"diff": "@@ -326,6 +326,8 @@ static void dcd_ep_handler(uint8_t ep_ix)\n{\n// TX complete\ndcd_event_xfer_complete(0, 0x80 + ep_ix, xfer->total_len, XFER_RES... | C | MIT License | hathach/tinyusb | Fix non-DMA IN irq. |
281,039 | 21.07.2021 14:18:47 | -7,200 | b192dc0738f0c1d820326127ba0496b54f752414 | Update EPNUM in usb_descriptors.c | [
{
"change_type": "MODIFY",
"old_path": "examples/device/net_lwip_webserver/src/usb_descriptors.c",
"new_path": "examples/device/net_lwip_webserver/src/usb_descriptors.c",
"diff": "@@ -107,8 +107,8 @@ uint8_t const * tud_descriptor_device_cb(void)\n#define EPNUM_NET_OUT 0x02\n#define EPNUM_NET_IN 0x8... | C | MIT License | hathach/tinyusb | Update EPNUM in usb_descriptors.c |
281,039 | 23.07.2021 11:21:51 | -7,200 | ef63037f1ae10680532367c98f30382c173108d6 | Update README.md
Use SAME7x | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -32,7 +32,7 @@ The stack supports the following MCUs:\n- **Dialog:** DA1469x\n- **Espressif:** ESP32-S2, ESP32-S3\n-- **MicroChip:** SAMD11, SAMD21, SAMD51, SAME5x, SAMG55, SAML21, SAML22, SAMx7x\n+- **MicroChip... | C | MIT License | hathach/tinyusb | Update README.md
Use SAME7x |
281,043 | 27.07.2021 12:02:13 | -36,000 | d058645f977bfa1358fb4aeae2890f4a371fb66c | Updated docs to add Wavehsare OpenH743I-C to STM32 boards list. | [
{
"change_type": "MODIFY",
"old_path": "docs/boards.md",
"new_path": "docs/boards.md",
"diff": "@@ -170,6 +170,7 @@ This code base already had supported for a handful of following boards (sorted a\n- [STM32 H743zi Nucleo](https://www.st.com/en/evaluation-tools/nucleo-h743zi.html)\n- [STM32 H743i Eva... | C | MIT License | hathach/tinyusb | Updated docs to add Wavehsare OpenH743I-C to STM32 boards list. |
281,043 | 27.07.2021 12:07:19 | -36,000 | 0953be9d7f037dea3e60011d0c0d0bfac743f3e0 | Small tidy up for waveshare openh743i BSP. | [
{
"change_type": "MODIFY",
"old_path": "hw/bsp/waveshare_openh743i/board.c",
"new_path": "hw/bsp/waveshare_openh743i/board.c",
"diff": "#define OTG_FS_VBUS_SENSE 1\n#define OTG_HS_VBUS_SENSE 0\n+\n//--------------------------------------------------------------------+\n// MACRO TYPEDEF CONSTANT ENUM... | C | MIT License | hathach/tinyusb | Small tidy up for waveshare openh743i BSP. |
281,158 | 30.05.2021 22:49:53 | -32,400 | 3f49380b378601a852ed45f2b38dd48c66b0f69d | added support for dcd_edpt_xfer_fifo | [
{
"change_type": "MODIFY",
"old_path": "src/portable/renesas/usba/dcd_usba.c",
"new_path": "src/portable/renesas/usba/dcd_usba.c",
"diff": "@@ -127,6 +127,7 @@ typedef struct TU_ATTR_PACKED\nuint16_t remaining; /* the number of bytes remaining in the buffer */\nstruct {\nuint32_t ep : 8; /* an assig... | C | MIT License | hathach/tinyusb | added support for dcd_edpt_xfer_fifo |
281,158 | 02.06.2021 22:18:15 | -32,400 | e7c9cf4aea1515306765eb2b43dbe7002b50ed62 | Change the accessing method of TU_FIFO from read/write_n_const_addr_full_words to get_write/read_info and advance_write/read_pointer pairs. | [
{
"change_type": "MODIFY",
"old_path": "src/portable/renesas/usba/dcd_usba.c",
"new_path": "src/portable/renesas/usba/dcd_usba.c",
"diff": "@@ -276,6 +276,30 @@ static void pipe_read_packet(void *buf, volatile void *fifo, unsigned len)\nwhile (len--) *p++ = *reg;\n}\n+static void pipe_read_write_pac... | C | MIT License | hathach/tinyusb | Change the accessing method of TU_FIFO from read/write_n_const_addr_full_words to get_write/read_info and advance_write/read_pointer pairs. |
281,158 | 04.06.2021 01:22:57 | -32,400 | 6b9f8e454eaf5ac3a9474d0a09f019e700532093 | add a condition regarding OPT_MCU_RX63N | [
{
"change_type": "MODIFY",
"old_path": "src/class/audio/audio_device.c",
"new_path": "src/class/audio/audio_device.c",
"diff": "CFG_TUSB_MCU == OPT_MCU_STM32F4 || \\\nCFG_TUSB_MCU == OPT_MCU_STM32F7 || \\\nCFG_TUSB_MCU == OPT_MCU_STM32H7 || \\\n- (CFG_TUSB_MCU == OPT_MCU_STM32L4 && defined(STM32L4_S... | C | MIT License | hathach/tinyusb | add a condition regarding OPT_MCU_RX63N |
281,158 | 29.07.2021 20:45:51 | -32,400 | ff20e4d6bcffc5d66666050c57719031fa2820e8 | add the entry for RX72N | [
{
"change_type": "MODIFY",
"old_path": "src/class/audio/audio_device.c",
"new_path": "src/class/audio/audio_device.c",
"diff": "CFG_TUSB_MCU == OPT_MCU_STM32H7 || \\\n(CFG_TUSB_MCU == OPT_MCU_STM32L4 && defined(STM32L4_SYNOPSYS)) || \\\nCFG_TUSB_MCU == OPT_MCU_RX63X || \\\n- CFG_TUSB_MCU == OPT_MCU_... | C | MIT License | hathach/tinyusb | add the entry for RX72N |
281,039 | 30.07.2021 12:03:35 | -7,200 | 8b5625bf4e846bd4e286c663912fdfb40bc234d8 | Move clock enable to BSP. | [
{
"change_type": "MODIFY",
"old_path": "hw/bsp/same70_xplained/same70_xplained.c",
"new_path": "hw/bsp/same70_xplained/same70_xplained.c",
"diff": "@@ -84,7 +84,6 @@ void board_init(void)\nusart_async_init(&edbg_com, USART1, edbg_com_buffer, sizeof(edbg_com_buffer), _usart_get_usart_async());\nusart... | C | MIT License | hathach/tinyusb | Move clock enable to BSP. |
281,039 | 30.07.2021 12:06:02 | -7,200 | c4cd36980ded509bd45c26ab35410d2234ac2734 | Add cache clean/invalidate. | [
{
"change_type": "MODIFY",
"old_path": "src/portable/microchip/samx7x/dcd_samx7x.c",
"new_path": "src/portable/microchip/samx7x/dcd_samx7x.c",
"diff": "@@ -94,6 +94,18 @@ static const tusb_desc_endpoint_t ep0_desc =\n.wMaxPacketSize = { .size = CFG_TUD_ENDPOINT0_SIZE },\n};\n+TU_ATTR_ALWAYS_INLINE s... | C | MIT License | hathach/tinyusb | Add cache clean/invalidate. |
281,051 | 26.07.2021 19:18:54 | -3,600 | 665c9c996ac80401f5a79ee62e642ea82b734ebb | docs: add new svg logo | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "docs/assets/logo.svg",
"diff": "+<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n+<svg width=\"280\" height=\"140\" version=\"1.1\" viewBox=\"0 0 74.083 37.042\" xmlns=\"http://www.w3.org/2000/svg\">\n+ <g transform=\"translate(-60.931 -79.245)\">\n... | C | MIT License | hathach/tinyusb | docs: add new svg logo
Signed-off-by: perigoso <perigoso@riseup.net> |
281,051 | 27.07.2021 03:53:02 | -3,600 | a8c9d999c7ede0810fe8b945fd89fa265a64bc83 | code_of_conduct: refactor file from markdown to restructuredtext | [
{
"change_type": "DELETE",
"old_path": "CODE_OF_CONDUCT.md",
"new_path": null,
"diff": "-# Contributor Covenant Code of Conduct\n-\n-## Our Pledge\n-\n-In the interest of fostering an open and welcoming environment, we as\n-contributors and maintainers pledge to making participation in our project a... | C | MIT License | hathach/tinyusb | code_of_conduct: refactor file from markdown to restructuredtext
Signed-off-by: perigoso <perigoso@riseup.net> |
281,051 | 27.07.2021 03:54:13 | -3,600 | 883040e88eb22071b316d53eda6fdde13adda6ab | changelog: create changelog file and import from release | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "CHANGELOG.rst",
"diff": "+*********\n+Changelog\n+*********\n+\n+0.10.1 (03-06-221)\n+===================\n+\n+- rework rp2040 examples and CMake build, allow better integration with pico-sdk\n+\n+Host Controller Driver (HCD)\n+-----------------... | C | MIT License | hathach/tinyusb | changelog: create changelog file and import from release
Signed-off-by: perigoso <perigoso@riseup.net> |
281,051 | 27.07.2021 19:22:00 | -3,600 | 9d3e1aaafc00275d3ad7ba072d6e1721aa3d9df7 | docs: port concurrency doc to rst | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "docs/reference/concurrency.rst",
"diff": "+***********\n+Concurrency\n+***********\n+\n+The TinyUSB library is designed to operate on single-core MCUs with multi-threaded applications in mind. Interaction with interrupts is especially important ... | C | MIT License | hathach/tinyusb | docs: port concurrency doc to rst
Signed-off-by: perigoso <perigoso@riseup.net> |
281,051 | 27.07.2021 19:22:20 | -3,600 | 106924be9a6cd2cbc8eae3f6c51d335321a9f296 | docs: port getting started doc to rst | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "docs/reference/getting_started.rst",
"diff": "+***************\n+Getting Started\n+***************\n+\n+Add TinyUSB to your project\n+---------------------------\n+\n+It is relatively simple to incorporate tinyusb to your (existing) project\n+\n... | C | MIT License | hathach/tinyusb | docs: port getting started doc to rst
Signed-off-by: perigoso <perigoso@riseup.net> |
281,051 | 27.07.2021 19:22:42 | -3,600 | 62049089bacd4e604c7533e8d9de1ae09fe7222a | docs: add reference section index | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "docs/reference/index.rst",
"diff": "+*********\n+Reference\n+*********\n+\n+.. figure:: ../assets/stack.png\n+ :width: 1600px\n+ :alt: stackup\n+\n+ representation of the TinyUSB stack.\n+\n+Device Stack\n+============\n+\n+Supports multiple dev... | C | MIT License | hathach/tinyusb | docs: add reference section index
Signed-off-by: perigoso <perigoso@riseup.net> |
281,051 | 27.07.2021 19:23:06 | -3,600 | f4f1e1f06f99f23c172bad3b15e3ca8e7d03bb65 | docs: port porting doc to rst | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "docs/contributing/porting.rst",
"diff": "+\n+*******\n+Porting\n+*******\n+\n+TinyUSB is designed to be a universal USB protocol stack for microcontrollers. It\n+handles most of the high level USB protocol and relies on the microcontroller's USB... | C | MIT License | hathach/tinyusb | docs: port porting doc to rst
Signed-off-by: perigoso <perigoso@riseup.net> |
281,051 | 27.07.2021 19:23:33 | -3,600 | e2d05bff9360b021fa3d3bec8dfcc09e1753d3ba | docs: add contributing section index | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "docs/contributing/index.rst",
"diff": "+************\n+Contributing\n+************\n+\n+Contributing can be highly rewarding, but it can also be frustrating at times.\n+It takes time to review patches, and as this is an open source project, that... | C | MIT License | hathach/tinyusb | docs: add contributing section index
Signed-off-by: perigoso <perigoso@riseup.net> |
281,051 | 27.07.2021 19:44:18 | -3,600 | 21e3fca4bee938479dffce3bb080f35829a4a2c0 | docs: add list of projects that use Tusb | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "docs/info/uses.rst",
"diff": "+****\n+Uses\n+****\n+\n+TinyUSB is currently used by these other projects:\n+\n+- `Adafruit nRF52 Arduino <https://github.com/adafruit/Adafruit_nRF52_Arduino>`__\n+- `Adafruit nRF52 Bootloader <https://github.com/a... | C | MIT License | hathach/tinyusb | docs: add list of projects that use Tusb
Signed-off-by: perigoso <perigoso@riseup.net> |
281,051 | 27.07.2021 19:47:05 | -3,600 | 358d7811627ab70bacf6c28fbec4a6b5a3783463 | docs: update main index | [
{
"change_type": "MODIFY",
"old_path": "docs/index.rst",
"new_path": "docs/index.rst",
"diff": "-.. TinyUSB documentation master file, created by\n- sphinx-quickstart on Mon Jul 26 17:17:52 2021.\n- You can adapt this file completely to your liking, but it should at least\n- contain the root `toctre... | C | MIT License | hathach/tinyusb | docs: update main index
Signed-off-by: perigoso <perigoso@riseup.net> |
281,051 | 27.07.2021 20:18:39 | -3,600 | 0da08031eaf62dd7dc4b490fc0c5bcd268a6bc5e | readme: added docs status badge | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "\n-[](https://github.com/hathach/tinyusb/actions) [\n-\n-[](https://github.com/hathach/tinyusb/actions) [, the endianness setting of D0FIFOSEL was lacking due to refactoring.
And add type cast operation to avoid warnings by CCRX. | [
{
"change_type": "MODIFY",
"old_path": "src/portable/renesas/usba/dcd_usba.c",
"new_path": "src/portable/renesas/usba/dcd_usba.c",
"diff": "@@ -313,9 +313,9 @@ static bool pipe0_xfer_in(void)\nvoid *buf = pipe->buf;\nif (len) {\nif (pipe->ff) {\n- pipe_read_write_packet_ff((tu_fifo_t*)buf, &USB0.CFI... | C | MIT License | hathach/tinyusb | fix: D0FIFOSEL setting was incorrectly when big-endian is selected.
In pipe_xfer_in(), the endianness setting of D0FIFOSEL was lacking due to refactoring.
And add type cast operation to avoid warnings by CCRX. |
281,039 | 02.08.2021 20:20:23 | -7,200 | bece3bca088dd3f5c1e909d142b0b47c0e2ca2f9 | Add in CONTRIBUTORS.rst | [
{
"change_type": "MODIFY",
"old_path": "CONTRIBUTORS.rst",
"new_path": "CONTRIBUTORS.rst",
"diff": "@@ -177,5 +177,13 @@ Notable contributors\nv1.1, msp\\_exp430f5529lp etc ...\n+`Zixun Li <https://github.com/HiFiPhile>`__\n+-----------------------------------------------\n+\n+- Add new DCD port for... | C | MIT License | hathach/tinyusb | Add @HiFiPhile in CONTRIBUTORS.rst |
281,095 | 02.08.2021 20:52:45 | 18,000 | b682ce916a4284fc94cc37bb0478506cda40c375 | net_lwip_webserver: utilize pbuf_copy_partial() | [
{
"change_type": "MODIFY",
"old_path": "examples/device/net_lwip_webserver/src/main.c",
"new_path": "examples/device/net_lwip_webserver/src/main.c",
"diff": "@@ -178,21 +178,12 @@ bool tud_network_recv_cb(const uint8_t *src, uint16_t size)\nuint16_t tud_network_xmit_cb(uint8_t *dst, void *ref, uint1... | C | MIT License | hathach/tinyusb | net_lwip_webserver: utilize pbuf_copy_partial() |
281,120 | 10.07.2021 11:21:24 | -7,200 | ddb83787a00c20db8f92b00dc78c8c1ee972c489 | Disable -Werror for now
Without having __riscv_flen defined we get multiple warinings. But
defining it causes the startup code to contain floating point instructions.
This results in a exception right after booting.
See startup_gd32vf103.S lines should open a PR at nuclei sdk | [
{
"change_type": "MODIFY",
"old_path": "examples/make.mk",
"new_path": "examples/make.mk",
"diff": "@@ -91,7 +91,6 @@ CFLAGS += \\\n-Wstrict-overflow \\\n-Wall \\\n-Wextra \\\n- -Werror \\\n-Wfatal-errors \\\n-Werror-implicit-function-declaration \\\n-Wfloat-equal \\\n@@ -102,7 +101,8 @@ CFLAGS += \... | C | MIT License | hathach/tinyusb | Disable -Werror for now
Without having __riscv_flen defined we get multiple warinings. But
defining it causes the startup code to contain floating point instructions.
This results in a exception right after booting.
See startup_gd32vf103.S lines 289-294 should open a PR at nuclei sdk |
281,120 | 10.07.2021 11:24:37 | -7,200 | 771bbe8af7d1ab1785dc9b244c2b41ec0742968c | Use https github as submodule | [
{
"change_type": "MODIFY",
"old_path": ".gitmodules",
"new_path": ".gitmodules",
"diff": "url = https://github.com/zhangslice/mm32sdk.git\n[submodule \"hw/mcu/gd/nuclei-sdk\"]\npath = hw/mcu/gd/nuclei-sdk\n- url = git@github.com:Nuclei-Software/nuclei-sdk.git\n+ url = https://github.com/Nuclei-Softw... | C | MIT License | hathach/tinyusb | Use https github as submodule |
281,120 | 10.07.2021 14:03:20 | -7,200 | 23e3b1680be72ac72db14e6e5518c0b7e633b781 | Use JTAG for jlink flashing | [
{
"change_type": "MODIFY",
"old_path": "hw/bsp/gd32vf103_longan_nano/board.mk",
"new_path": "hw/bsp/gd32vf103_longan_nano/board.mk",
"diff": "@@ -51,6 +51,7 @@ INC += \\\n#FREERTOS_PORT = ARM_CM3\n# For flash-jlink target\n+JLINK_IF = jtag\nJLINK_DEVICE = gd32vf103cbt6 # Longan Nano 128k ROM 32k RAM... | C | MIT License | hathach/tinyusb | Use JTAG for jlink flashing |
281,120 | 11.07.2021 14:17:32 | -7,200 | 790d90bf263daabd08718f1847f0e315abdea380 | Set FreeRTOS to RISC-V (doesn't compile) | [
{
"change_type": "MODIFY",
"old_path": "hw/bsp/gd32vf103_longan_nano/board.mk",
"new_path": "hw/bsp/gd32vf103_longan_nano/board.mk",
"diff": "@@ -48,7 +48,7 @@ INC += \\\n$(TOP)/$(GD32VF103_SDK_SOC_COMMON)/Include/Usb \\\n# For freeRTOS port source\n-#FREERTOS_PORT = ARM_CM3\n+FREERTOS_PORT = RISC-V... | C | MIT License | hathach/tinyusb | Set FreeRTOS to RISC-V (doesn't compile) |
281,120 | 03.08.2021 20:21:06 | -7,200 | 3eb54d878af0492a85fab2811b5f84187c2f703c | Add stm32 license header | [
{
"change_type": "MODIFY",
"old_path": "src/portable/st/synopsys/synopsys_common.h",
"new_path": "src/portable/st/synopsys/synopsys_common.h",
"diff": "+/**\n+ ******************************************************************************\n+ * @file synopsys_common.h\n+ * @author MCD Application Tea... | C | MIT License | hathach/tinyusb | Add stm32 license header |
281,120 | 07.08.2021 08:54:32 | -7,200 | c6d495d6436c797b4efd029bd16ee8f19ff0a9f0 | Remove dependencies to external libraries for the dcd driver
The core of tinyusb must be as independent as possible, we previously
relied on nuclei-sdk or the GD32VF103 firmware library for the synopsys
driver to work with the GD32VF103. Fortunatly we needed very few parts
from them so we implement them here. | [
{
"change_type": "MODIFY",
"old_path": "src/portable/st/synopsys/dcd_synopsys.c",
"new_path": "src/portable/st/synopsys/dcd_synopsys.c",
"diff": "#define EP_FIFO_SIZE_FS 1280\n#elif CFG_TUSB_MCU == OPT_MCU_GD32VF103\n-#define STM32F1_SYNOPSYS\n-#include \"gd32vf103.h\"\n-#include \"nmsis_core.h\"\n-... | C | MIT License | hathach/tinyusb | Remove dependencies to external libraries for the dcd driver
The core of tinyusb must be as independent as possible, we previously
relied on nuclei-sdk or the GD32VF103 firmware library for the synopsys
driver to work with the GD32VF103. Fortunatly we needed very few parts
from them so we implement them here. |
281,120 | 07.08.2021 09:01:01 | -7,200 | 768282982039001128cecfe125d88f58ce640713 | Add correct endpoint count for GD32VF103
This controller family only supports USB FS with four endpoints | [
{
"change_type": "MODIFY",
"old_path": "src/device/dcd_attr.h",
"new_path": "src/device/dcd_attr.h",
"diff": "//#elif TU_CHECK_MCU(MM32F327X)\n// #define DCD_ATTR_ENDPOINT_MAX not known yet\n+//------------- GigaDevice -------------//\n+#elif TU_CHECK_MCU(GD32VF103)\n+ #define DCD_ATTR_ENDPOINT_MAX ... | C | MIT License | hathach/tinyusb | Add correct endpoint count for GD32VF103
This controller family only supports USB FS with four endpoints |
281,120 | 07.08.2021 09:51:16 | -7,200 | b473923f42427bc314519a84e64bb3c3477e8de1 | Remove redundant linker files
We use the linker files provided by nuclei-sdk instead | [
{
"change_type": "DELETE",
"old_path": "hw/bsp/gd32vf103_longan_nano/gcc_gd32vf103x8_flashxip.ld",
"new_path": null,
"diff": "-/*\n- * Copyright (c) 2019 - 2020 Nuclei Limited. All rights reserved.\n- *\n- * SPDX-License-Identifier: Apache-2.0\n- *\n- * Licensed under the Apache License, Version 2.0... | C | MIT License | hathach/tinyusb | Remove redundant linker files
We use the linker files provided by nuclei-sdk instead |
281,120 | 07.08.2021 09:51:56 | -7,200 | 6e287a7c5e190d71cc73ddc2f6fa2745f13f4d6b | Cleanup include paths and use linker files from nuclei-sdk | [
{
"change_type": "MODIFY",
"old_path": "hw/bsp/gd32vf103_longan_nano/board.mk",
"new_path": "hw/bsp/gd32vf103_longan_nano/board.mk",
"diff": "CROSS_COMPILE = riscv32-unknown-elf-\n+# Submodules\nDEPS_SUBMODULES += hw/mcu/gd/nuclei-sdk\n-\nNUCLEI_SDK = hw/mcu/gd/nuclei-sdk\n-GD32VF103_SDK_SOC_COMMON ... | C | MIT License | hathach/tinyusb | Cleanup include paths and use linker files from nuclei-sdk |
281,120 | 07.08.2021 10:08:42 | -7,200 | 733a36243662ba693e8dc78b65e7a031137c3687 | Use nuclei-sdk functions for init code
Instead of using the HAL functions we can just use the defines from the
board support for the longan nano that comes with the nuclei-sdk. Also
we move some includes and defines to the header file. | [
{
"change_type": "MODIFY",
"old_path": "hw/bsp/gd32vf103_longan_nano/gd32vf103_longan_nano.c",
"new_path": "hw/bsp/gd32vf103_longan_nano/gd32vf103_longan_nano.c",
"diff": "@@ -37,38 +37,21 @@ void USBFS_IRQHandler(void) { tud_int_handler(0); }\n// MACRO TYPEDEF CONSTANT ENUM\n//---------------------... | C | MIT License | hathach/tinyusb | Use nuclei-sdk functions for init code
Instead of using the HAL functions we can just use the defines from the
board support for the longan nano that comes with the nuclei-sdk. Also
we move some includes and defines to the header file. |
281,120 | 07.08.2021 11:24:40 | -7,200 | 60d03110f73830fd468a957e0f14467e9c900174 | Correctly initialize and handle the system tick
Forgot to reload the systick timer in the irq handler | [
{
"change_type": "MODIFY",
"old_path": "hw/bsp/gd32vf103_longan_nano/gd32vf103_longan_nano.c",
"new_path": "hw/bsp/gd32vf103_longan_nano/gd32vf103_longan_nano.c",
"diff": "@@ -67,12 +67,7 @@ void board_init(void) {\nSystemCoreClockUpdate();\n#if CFG_TUSB_OS == OPT_OS_NONE\n- SysTimer_SetLoadValue(0)... | C | MIT License | hathach/tinyusb | Correctly initialize and handle the system tick
Forgot to reload the systick timer in the irq handler |
281,120 | 07.08.2021 11:25:28 | -7,200 | 66d566f8c0a4bc2f08ec7fe146c3142dcd8c6f3b | Use functions provided by the nuclei-sdk hal | [
{
"change_type": "MODIFY",
"old_path": "hw/bsp/gd32vf103_longan_nano/gd32vf103_longan_nano.c",
"new_path": "hw/bsp/gd32vf103_longan_nano/gd32vf103_longan_nano.c",
"diff": "@@ -46,26 +46,12 @@ void USBFS_IRQHandler(void) { tud_int_handler(0); }\n#define UART_DEV SOC_DEBUG_UART\n#define LED_PIN LED_R\... | C | MIT License | hathach/tinyusb | Use functions provided by the nuclei-sdk hal |
281,120 | 07.08.2021 12:00:13 | -7,200 | 4cebde65ec59f21f282c67a590c09bf982e99af5 | Remove unnecessary define guard
The GD32VF103 family only has USB-OTG peripherals. | [
{
"change_type": "MODIFY",
"old_path": "src/portable/st/synopsys/dcd_synopsys.c",
"new_path": "src/portable/st/synopsys/dcd_synopsys.c",
"diff": "#define USE_SOF 0\n#if defined (STM32F105x8) || defined (STM32F105xB) || defined (STM32F105xC) || \\\n- defined (STM32F107xB) || defined (STM32F107xC) || ... | C | MIT License | hathach/tinyusb | Remove unnecessary define guard
The GD32VF103 family only has USB-OTG peripherals. |
281,120 | 07.08.2021 12:06:54 | -7,200 | 8b78067cc1142c5915ad5fa1275996e92f91a58d | Use linear buffer for GD32VF103
As the peripheral is the same as on the STM32F1 and STM32F4 lines we do the same. | [
{
"change_type": "MODIFY",
"old_path": "src/class/audio/audio_device.c",
"new_path": "src/class/audio/audio_device.c",
"diff": "(CFG_TUSB_MCU == OPT_MCU_STM32L4 && defined(STM32L4_SYNOPSYS)) || \\\nCFG_TUSB_MCU == OPT_MCU_RX63X || \\\nCFG_TUSB_MCU == OPT_MCU_RX65X || \\\n- CFG_TUSB_MCU == OPT_MCU_RX... | C | MIT License | hathach/tinyusb | Use linear buffer for GD32VF103
As the peripheral is the same as on the STM32F1 and STM32F4 lines we do the same. |
281,065 | 08.08.2021 08:30:52 | -7,200 | ea72d64992e7ec1453b1c449f72354aba2758ce8 | STM32L151 portable driver adaptations | [
{
"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": "(CFG_TUSB_MCU == OPT_MCU_STM32F0 ) || \\\n(CFG_TUSB_MCU == OPT_MCU_STM32F1 && defined(STM32F1_FSDEV)) || \\\n(CFG_TUSB_MCU == OPT_MCU_STM32F3 ... | C | MIT License | hathach/tinyusb | STM32L151 portable driver adaptations |
281,120 | 09.08.2021 21:36:50 | -7,200 | 1b6540a61cef4f7c5eb5b6001a64cd1425e805ff | Update systick reload value
The systick timer is driven by the AHB bus divided by 4, set the correct
reload value to generate a timer irq every ms. | [
{
"change_type": "MODIFY",
"old_path": "hw/bsp/gd32vf103_longan_nano/gd32vf103_longan_nano.c",
"new_path": "hw/bsp/gd32vf103_longan_nano/gd32vf103_longan_nano.c",
"diff": "@@ -39,7 +39,9 @@ void USBFS_IRQHandler(void) { tud_int_handler(0); }\n#define USB_NO_VBUS_PIN\n-#define TIMER_TICKS (SystemCore... | C | MIT License | hathach/tinyusb | Update systick reload value
The systick timer is driven by the AHB bus divided by 4, set the correct
reload value to generate a timer irq every ms. |
281,153 | 13.08.2021 14:11:14 | -7,200 | 0ec794376bdc28aea3def01cc9fcbb7bcc6d5201 | Fix dcd_set_address bug when called more than once with different
addresses (e.g. after plugging the device into a different port). | [
{
"change_type": "MODIFY",
"old_path": "src/portable/st/synopsys/dcd_synopsys.c",
"new_path": "src/portable/st/synopsys/dcd_synopsys.c",
"diff": "@@ -519,7 +519,7 @@ void dcd_int_disable (uint8_t rhport)\nvoid dcd_set_address (uint8_t rhport, uint8_t dev_addr)\n{\nUSB_OTG_DeviceTypeDef * dev = DEVIC... | C | MIT License | hathach/tinyusb | Fix dcd_set_address bug when called more than once with different
addresses (e.g. after plugging the device into a different port). |
281,095 | 16.08.2021 17:04:57 | 18,000 | 5a8ea0e0e24f6b6c8374b73f3e0b6df7b15e7b7c | net_lwip_webserver: further simplify pbuf_copy_partial() usage | [
{
"change_type": "MODIFY",
"old_path": "examples/device/net_lwip_webserver/src/main.c",
"new_path": "examples/device/net_lwip_webserver/src/main.c",
"diff": "@@ -181,9 +181,7 @@ uint16_t tud_network_xmit_cb(uint8_t *dst, void *ref, uint16_t arg)\n(void)arg; /* unused for this example */\n- pbuf_copy... | C | MIT License | hathach/tinyusb | net_lwip_webserver: further simplify pbuf_copy_partial() usage |
281,039 | 17.08.2021 00:19:24 | -7,200 | 7aff4b178ec415a5d5af2eaebc87e99098037cb8 | use USBD_MemCopy. | [
{
"change_type": "MODIFY",
"old_path": "src/portable/nuvoton/nuc121/dcd_nuc121.c",
"new_path": "src/portable/nuvoton/nuc121/dcd_nuc121.c",
"diff": "@@ -101,6 +101,11 @@ static void usb_detach(void)\nUSBD->SE0 |= USBD_SE0_SE0_Msk;\n}\n+static void usb_memcpy(uint8_t *dest, uint8_t *src, uint16_t size... | C | MIT License | hathach/tinyusb | use USBD_MemCopy. |
281,158 | 17.08.2021 23:13:11 | -32,400 | 351581537f47a9cca84e1b4f13af704c0effaa78 | Removes redundant SOF processing from the Renesas RX family.
The same logic regarding the resume signal was implemented by usbd.
See also: | [
{
"change_type": "MODIFY",
"old_path": "src/portable/renesas/usba/dcd_usba.c",
"new_path": "src/portable/renesas/usba/dcd_usba.c",
"diff": "@@ -139,7 +139,6 @@ typedef struct\n{\npipe_state_t pipe[10];\nuint8_t ep[2][16]; /* a lookup table for a pipe index from an endpoint address */\n- uint8_t susp... | C | MIT License | hathach/tinyusb | Removes redundant SOF processing from the Renesas RX family.
The same logic regarding the resume signal was implemented by usbd.
See also: #1023 |
281,158 | 19.08.2021 23:57:34 | -32,400 | ff59e98a6ab29c70cdf743db7412ddb609e32730 | Add compile switch to enable SOF during suspend only | [
{
"change_type": "MODIFY",
"old_path": "src/portable/renesas/usba/dcd_usba.c",
"new_path": "src/portable/renesas/usba/dcd_usba.c",
"diff": "#include \"tusb_option.h\"\n+// Since TinyUSB doesn't use SOF for now, and this interrupt too often (1ms interval)\n+// We disable SOF for now until needed late... | C | MIT License | hathach/tinyusb | Add compile switch to enable SOF during suspend only |
281,039 | 21.08.2021 12:02:20 | -7,200 | e20755442a3fe2141c9be8d54bee2aa4e092cdfc | nuc126: fix set_address & disable sof | [
{
"change_type": "MODIFY",
"old_path": "src/portable/nuvoton/nuc121/dcd_nuc121.c",
"new_path": "src/portable/nuvoton/nuc121/dcd_nuc121.c",
"diff": "#include \"device/dcd.h\"\n#include \"NuMicro.h\"\n+// Since TinyUSB doesn't use SOF for now, and this interrupt too often (1ms interval)\n+// We disabl... | C | MIT License | hathach/tinyusb | nuc126: fix set_address & disable sof |
281,039 | 22.08.2021 13:26:50 | -7,200 | 4941cde175af2ef21bbe24d7d3271b46363c0759 | Fix vendor fifo deadlock, add tud_vendor_n_read_flush | [
{
"change_type": "MODIFY",
"old_path": "src/class/vendor/vendor_device.c",
"new_path": "src/class/vendor/vendor_device.c",
"diff": "@@ -103,6 +103,13 @@ uint32_t tud_vendor_n_read (uint8_t itf, void* buffer, uint32_t bufsize)\nreturn num_read;\n}\n+void tud_vendor_n_read_flush (uint8_t itf)\n+{\n+ v... | C | MIT License | hathach/tinyusb | Fix vendor fifo deadlock, add tud_vendor_n_read_flush |
281,040 | 23.08.2021 16:17:57 | 25,200 | 86201f77be1c2fc058f7896b99d6069b4b0b12a5 | initial commit of support for K32L2B | [
{
"change_type": "MODIFY",
"old_path": "hw/bsp/board_mcu.h",
"new_path": "hw/bsp/board_mcu.h",
"diff": "#include \"chip.h\"\n#elif CFG_TUSB_MCU == OPT_MCU_LPC51UXX || CFG_TUSB_MCU == OPT_MCU_LPC54XXX || \\\n- CFG_TUSB_MCU == OPT_MCU_LPC55XX || CFG_TUSB_MCU == OPT_MCU_MKL25ZXX\n+ CFG_TUSB_MCU == OPT_... | C | MIT License | hathach/tinyusb | initial commit of support for K32L2B |
281,040 | 23.08.2021 16:36:58 | 25,200 | 5bd7788950c8e7118d2394e7821f0486ca66aaab | cleaned up unused code, only enalbing port clocks as needed | [
{
"change_type": "MODIFY",
"old_path": "hw/bsp/frdm_k32l2b/board.h",
"new_path": "hw/bsp/frdm_k32l2b/board.h",
"diff": "#include \"fsl_device_registers.h\"\n// LED\n-//#define LED_PINMUX IOMUXC_GPIO_11_GPIOMUX_IO11\n-//#define LED_PIN_CLOCK kCLOCK_PortB\n+#define LED_PIN_CLOCK kCLOCK_PortD\n#define ... | C | MIT License | hathach/tinyusb | cleaned up unused code, only enalbing port clocks as needed |
281,159 | 25.08.2021 12:05:35 | 14,400 | 90af8562b1e361c213d70242fc3ae5883e54f33a | Added support for Microchip Curiosity Nano SAMD21 board (DM320119)
Added support for Microchip Curiosity Nano SAMD21 board (DM320119) under hw/bsp/samd21/boards/curiosity_nano
The nEDBG on this board requires dap_protocol be specified as SWD (changed in examples/rules.mk)
NOTE: requires entry (03eb:2175) for VID:PID of nEDBG be added to /etc/udev/rules for pyocd | [
{
"change_type": "MODIFY",
"old_path": "examples/rules.mk",
"new_path": "examples/rules.mk",
"diff": "@@ -170,7 +170,7 @@ flash-stlink: $(BUILD)/$(PROJECT).elf\n# flash with pyocd\nflash-pyocd: $(BUILD)/$(PROJECT).hex\n- pyocd flash -t $(PYOCD_TARGET) $<\n+ pyocd flash -t $(PYOCD_TARGET) -O dap_prot... | C | MIT License | hathach/tinyusb | Added support for Microchip Curiosity Nano SAMD21 board (DM320119)
Added support for Microchip Curiosity Nano SAMD21 board (DM320119) under hw/bsp/samd21/boards/curiosity_nano
The nEDBG on this board requires dap_protocol be specified as SWD (changed in examples/rules.mk)
NOTE: requires entry (03eb:2175) for VID:PID of nEDBG be added to /etc/udev/rules for pyocd |
281,159 | 26.08.2021 07:46:23 | 14,400 | b169db3fd6359a127ba92d4bd5cd48a3a5286fd7 | Add PYOCD_OPTION
Added PYOCD_OPTION to pass board-specific options to build | [
{
"change_type": "MODIFY",
"old_path": "examples/rules.mk",
"new_path": "examples/rules.mk",
"diff": "@@ -170,7 +170,7 @@ flash-stlink: $(BUILD)/$(PROJECT).elf\n# flash with pyocd\nflash-pyocd: $(BUILD)/$(PROJECT).hex\n- pyocd flash -t $(PYOCD_TARGET) -O dap_protocol=swd $<\n+ pyocd flash -t $(PYOCD... | C | MIT License | hathach/tinyusb | Add PYOCD_OPTION
Added PYOCD_OPTION to pass board-specific options to build |
281,039 | 31.08.2021 11:27:43 | -7,200 | 8305766afe909a6f1b3be6a88cd4e6c4017255a8 | fix HID_LOGICAL_MAX overflow. | [
{
"change_type": "MODIFY",
"old_path": "src/class/hid/hid_device.h",
"new_path": "src/class/hid/hid_device.h",
"diff": "@@ -364,14 +364,14 @@ static inline bool tud_hid_gamepad_report(uint8_t report_id, int8_t x, int8_t y\n/* Input */ \\\nHID_USAGE ( 0x02 ),\\\nHID_LOGICAL_MIN ( 0x00 ),\\\n- HID_LOG... | C | MIT License | hathach/tinyusb | fix HID_LOGICAL_MAX overflow. |
281,039 | 26.06.2021 19:53:57 | -7,200 | 864d8381a7acbd89053b6d478c064872b4871ed9 | dcd_transmission xfer_fifo support. | [
{
"change_type": "MODIFY",
"old_path": "src/portable/nxp/transdimension/dcd_transdimension.c",
"new_path": "src/portable/nxp/transdimension/dcd_transdimension.c",
"diff": "@@ -128,7 +128,8 @@ typedef struct\n/// Due to the fact QHD is 64 bytes aligned but occupies only 48 bytes\n/// thus there are 1... | C | MIT License | hathach/tinyusb | dcd_transmission xfer_fifo support. |
281,039 | 26.06.2021 23:13:01 | -7,200 | 16b802d50cff6118952767b8fefa33dd0447ea91 | add dcd_edpt_close and iso xfer. | [
{
"change_type": "MODIFY",
"old_path": "src/portable/nxp/transdimension/dcd_transdimension.c",
"new_path": "src/portable/nxp/transdimension/dcd_transdimension.c",
"diff": "@@ -239,8 +239,9 @@ void dcd_init(uint8_t rhport)\ndcd_reg->USBMODE = USBMODE_CM_DEVICE;\ndcd_reg->OTGSC = OTGSC_VBUS_DISCHARGE ... | C | MIT License | hathach/tinyusb | add dcd_edpt_close and iso xfer. |
281,039 | 06.07.2021 00:37:14 | -7,200 | e3bf4c069b4624807a7eade9f2432c0bebfae4ec | UAC2: Add ring buffer support for dcd_transdimension.
Add ring buffer ON/OFF switch. | [
{
"change_type": "MODIFY",
"old_path": "src/class/audio/audio_device.c",
"new_path": "src/class/audio/audio_device.c",
"diff": "// MACRO CONSTANT TYPEDEF\n//--------------------------------------------------------------------+\n+// Use ring buffer if it's available, some MCUs need extra RAM requirem... | C | MIT License | hathach/tinyusb | UAC2: Add ring buffer support for dcd_transdimension.
Add ring buffer ON/OFF switch. |
281,099 | 03.09.2021 18:13:45 | -7,200 | 2e23f3dd7287186445aeab39108f81c51644ed77 | Fix for MSC during stage STATUS | [
{
"change_type": "MODIFY",
"old_path": "src/class/msc/msc_device.c",
"new_path": "src/class/msc/msc_device.c",
"diff": "@@ -601,10 +601,10 @@ bool mscd_xfer_cb(uint8_t rhport, uint8_t ep_addr, xfer_result_t event, uint32_t\n// skip status if epin is currently stalled, will do it when received Clear ... | C | MIT License | hathach/tinyusb | Fix for MSC during stage STATUS |
281,135 | 06.09.2021 19:38:31 | -7,200 | c53ce53058fc4d2cd7928836cdc2a83615287f3e | Added Sony DualShock4 CUH-ZCT1E pid | [
{
"change_type": "MODIFY",
"old_path": "examples/host/hid_controller/src/hid_app.c",
"new_path": "examples/host/hid_controller/src/hid_app.c",
"diff": "@@ -111,7 +111,7 @@ static inline bool is_sony_ds4(uint8_t dev_addr)\nuint16_t vid, pid;\ntuh_vid_pid_get(dev_addr, &vid, &pid);\n- return (vid == 0... | C | MIT License | hathach/tinyusb | Added Sony DualShock4 CUH-ZCT1E pid |
281,135 | 06.09.2021 19:40:14 | -7,200 | a0646f20ba515185ec12d9da4ff5954f2db8bef2 | Added Hori Fighting Commander 4 VID PID | [
{
"change_type": "MODIFY",
"old_path": "examples/host/hid_controller/src/hid_app.c",
"new_path": "examples/host/hid_controller/src/hid_app.c",
"diff": "@@ -111,7 +111,9 @@ static inline bool is_sony_ds4(uint8_t dev_addr)\nuint16_t vid, pid;\ntuh_vid_pid_get(dev_addr, &vid, &pid);\n- return ( (vid ==... | C | MIT License | hathach/tinyusb | Added Hori Fighting Commander 4 VID PID |
281,135 | 06.09.2021 19:41:09 | -7,200 | cc08bb6f994f9d5d004d786835809cc1d998205d | Added Arc System Works GG Xrd Limited Edition controller VID PID | [
{
"change_type": "MODIFY",
"old_path": "examples/host/hid_controller/src/hid_app.c",
"new_path": "examples/host/hid_controller/src/hid_app.c",
"diff": "@@ -113,6 +113,7 @@ static inline bool is_sony_ds4(uint8_t dev_addr)\nreturn ( (vid == 0x054c && (pid == 0x09cc || pid == 0x05c4)) // Sony DualShock... | C | MIT License | hathach/tinyusb | Added Arc System Works GG Xrd Limited Edition controller VID PID |
281,039 | 07.09.2021 12:32:17 | -7,200 | a754205acb391b7605c835657c22c0a6c155c28e | Rename iar.ipcf to iar_template.ipcf | [
{
"change_type": "MODIFY",
"old_path": "tools/iar_gen.py",
"new_path": "tools/iar_gen.py",
"diff": "@@ -5,7 +5,7 @@ import xml.dom.minidom as XML\n# Read base configuration\nbase = \"\"\n-with open(\"iar.ipcf\") as f:\n+with open(\"iar_template.ipcf\") as f:\nbase = f.read()\n# Enumerate all device/... | C | MIT License | hathach/tinyusb | Rename iar.ipcf to iar_template.ipcf |
281,039 | 07.09.2021 12:32:27 | -7,200 | b6cda41dafe51dd7d7a28c8b9473929bfe36c933 | Add doc for IAR. | [
{
"change_type": "MODIFY",
"old_path": "docs/reference/getting_started.rst",
"new_path": "docs/reference/getting_started.rst",
"diff": "@@ -151,3 +151,39 @@ Some board use uf2 bootloader for drag & drop in to mass storage device, uf2 can\n.. code-block::\n$ make BOARD=feather_nrf52840_express all uf... | C | MIT License | hathach/tinyusb | Add doc for IAR. |
281,158 | 28.08.2021 23:55:41 | -32,400 | e06a632b72aa926473375a2ed97d142196429d7f | Update Renesas RX | [
{
"change_type": "MODIFY",
"old_path": "docs/reference/supported.rst",
"new_path": "docs/reference/supported.rst",
"diff": "@@ -84,9 +84,9 @@ Supported MCUs\n+--------------+-------+------------+-------------------+--------------------+-------------------+-------------------+--------------+\n| Raspb... | C | MIT License | hathach/tinyusb | Update Renesas RX |
281,158 | 31.08.2021 00:14:39 | -32,400 | f3da48d46adac415846985643c1b6d04c3866b94 | Implement dcd_edpt_close_all() for Renesas RX family | [
{
"change_type": "MODIFY",
"old_path": "src/portable/renesas/usba/dcd_usba.c",
"new_path": "src/portable/renesas/usba/dcd_usba.c",
"diff": "@@ -735,8 +735,14 @@ bool dcd_edpt_open(uint8_t rhport, tusb_desc_endpoint_t const * ep_desc)\nvoid dcd_edpt_close_all(uint8_t rhport)\n{\n- (void) rhport;\n- /... | C | MIT License | hathach/tinyusb | Implement dcd_edpt_close_all() for Renesas RX family |
281,148 | 07.09.2021 21:13:34 | 14,400 | 185bb21bdd1177b14415751fd0b626d0f9c79e15 | Add PS4-compatible controllers | [
{
"change_type": "MODIFY",
"old_path": "examples/host/hid_controller/src/hid_app.c",
"new_path": "examples/host/hid_controller/src/hid_app.c",
"diff": "@@ -113,6 +113,7 @@ static inline bool is_sony_ds4(uint8_t dev_addr)\nreturn ( (vid == 0x054c && (pid == 0x09cc || pid == 0x05c4)) // Sony DualShock... | C | MIT License | hathach/tinyusb | Add PS4-compatible controllers |
281,158 | 08.09.2021 21:52:27 | -32,400 | 22b5b4704591da35c804045b81b63dd5094d5050 | Implement dcd_edpt_close_all for NXP khci | [
{
"change_type": "MODIFY",
"old_path": "src/portable/nxp/khci/dcd_khci.c",
"new_path": "src/portable/nxp/khci/dcd_khci.c",
"diff": "@@ -350,7 +350,23 @@ bool dcd_edpt_open(uint8_t rhport, tusb_desc_endpoint_t const * ep_desc)\nvoid dcd_edpt_close_all(uint8_t rhport)\n{\n(void) rhport;\n- // TODO imp... | C | MIT License | hathach/tinyusb | Implement dcd_edpt_close_all for NXP khci |
281,158 | 09.09.2021 00:55:02 | -32,400 | 780852efb3c1686fef7f47b42eaabfc65356faae | Fix stall handling | [
{
"change_type": "MODIFY",
"old_path": "src/portable/nxp/khci/dcd_khci.c",
"new_path": "src/portable/nxp/khci/dcd_khci.c",
"diff": "@@ -121,7 +121,7 @@ static void prepare_next_setup_packet(uint8_t rhport)\nconst unsigned out_odd = _dcd.endpoint[0][0].odd;\nconst unsigned in_odd = _dcd.endpoint[0][1... | C | MIT License | hathach/tinyusb | Fix stall handling |
281,039 | 09.09.2021 16:45:18 | -7,200 | 283783c082d2253984066cb475714217c63454d6 | dcd_edpt_xfer_fifo: use qtd_init if restriction not met. | [
{
"change_type": "MODIFY",
"old_path": "src/portable/nxp/transdimension/dcd_transdimension.c",
"new_path": "src/portable/nxp/transdimension/dcd_transdimension.c",
"diff": "@@ -508,12 +508,20 @@ bool dcd_edpt_xfer_fifo (uint8_t rhport, uint8_t ep_addr, tu_fifo_t * ff, uint16\n// address to 32-byte bo... | C | MIT License | hathach/tinyusb | dcd_edpt_xfer_fifo: use qtd_init if restriction not met. |
281,158 | 10.09.2021 00:13:29 | -32,400 | d7238d9a86901f0da77c8a08330eb647e6ea912b | Remove heap memory area | [
{
"change_type": "MODIFY",
"old_path": "hw/bsp/frdm_kl25z/board.mk",
"new_path": "hw/bsp/frdm_kl25z/board.mk",
"diff": "@@ -8,8 +8,12 @@ CFLAGS += \\\n-DCPU_MKL25Z128VLK4 \\\n-DCFG_TUSB_MCU=OPT_MCU_MKL25ZXX\n+LDFLAGS += \\\n+ -Wl,--defsym,__stack_size__=0x400 \\\n+ -Wl,--defsym,__heap_size__=0\n+\n#... | C | MIT License | hathach/tinyusb | Remove heap memory area |
281,158 | 10.09.2021 00:18:43 | -32,400 | 2998f67eacfb007806198a7d91cc1623ee966c2c | Fix dcd_edpt_clear_stall to reset data toggle | [
{
"change_type": "MODIFY",
"old_path": "src/portable/nxp/khci/dcd_khci.c",
"new_path": "src/portable/nxp/khci/dcd_khci.c",
"diff": "@@ -323,7 +323,7 @@ bool dcd_edpt_open(uint8_t rhport, tusb_desc_endpoint_t const * ep_desc)\nconst unsigned xfer = ep_desc->bmAttributes.xfer;\nendpoint_state_t *ep = ... | C | MIT License | hathach/tinyusb | Fix dcd_edpt_clear_stall to reset data toggle |
281,039 | 10.09.2021 11:17:33 | -7,200 | 580893b3fe802d0aaeefa6c851dda828289c806c | Shorter expr. | [
{
"change_type": "MODIFY",
"old_path": "src/portable/nxp/transdimension/dcd_transdimension.c",
"new_path": "src/portable/nxp/transdimension/dcd_transdimension.c",
"diff": "@@ -512,7 +512,7 @@ bool dcd_edpt_xfer_fifo (uint8_t rhport, uint8_t ep_addr, tu_fifo_t * ff, uint16\n//------------- Prepare qt... | C | MIT License | hathach/tinyusb | Shorter expr. |
281,039 | 10.09.2021 13:05:15 | -7,200 | 8886de0d8a14daa70d1fcf4101e3fdeda12a1b26 | Fix remote_wakeup | [
{
"change_type": "MODIFY",
"old_path": "src/portable/nuvoton/nuc121/dcd_nuc121.c",
"new_path": "src/portable/nuvoton/nuc121/dcd_nuc121.c",
"diff": "@@ -252,10 +252,23 @@ void dcd_set_address(uint8_t rhport, uint8_t dev_addr)\n// do it at dcd_edpt0_status_complete()\n}\n+static void remote_wakeup_del... | C | MIT License | hathach/tinyusb | Fix remote_wakeup |
281,039 | 10.09.2021 16:04:47 | -7,200 | 22571ec98ef89a76239b27c86cbdac3db3c42f09 | reset PID to DATA0 on clear_stall. | [
{
"change_type": "MODIFY",
"old_path": "src/portable/nuvoton/nuc121/dcd_nuc121.c",
"new_path": "src/portable/nuvoton/nuc121/dcd_nuc121.c",
"diff": "@@ -381,6 +381,7 @@ void dcd_edpt_clear_stall(uint8_t rhport, uint8_t ep_addr)\n(void) rhport;\nUSBD_EP_T *ep = ep_entry(ep_addr, false);\nep->CFG |= US... | C | MIT License | hathach/tinyusb | reset PID to DATA0 on clear_stall. |
281,073 | 12.09.2021 20:09:58 | -7,200 | d5f2c34eaa3e840b32817829031b95c6b7780314 | Prevent buffer overflow in bth_device.c | [
{
"change_type": "MODIFY",
"old_path": "src/class/bth/bth_device.c",
"new_path": "src/class/bth/bth_device.c",
"diff": "@@ -214,7 +214,7 @@ bool btd_control_xfer_cb(uint8_t rhport, uint8_t stage, tusb_control_request_t c\n}\nelse return false;\n- return tud_control_xfer(rhport, request, &_btd_itf.hc... | C | MIT License | hathach/tinyusb | Prevent buffer overflow in bth_device.c |
281,073 | 13.09.2021 10:23:03 | -7,200 | 50e3c0054f8d26340863667a50aae5a798f6aefc | Add size check to tud_bt_hci_cmd_cb call in bth_device.c | [
{
"change_type": "MODIFY",
"old_path": "src/class/bth/bth_device.c",
"new_path": "src/class/bth/bth_device.c",
"diff": "@@ -221,7 +221,7 @@ bool btd_control_xfer_cb(uint8_t rhport, uint8_t stage, tusb_control_request_t c\n// Handle class request only\nTU_VERIFY(request->bmRequestType_bit.type == TUS... | C | MIT License | hathach/tinyusb | Add size check to tud_bt_hci_cmd_cb call in bth_device.c |
281,073 | 13.09.2021 13:21:25 | -7,200 | 1a87b605bd14404cdabd9f938a49e4e08c1adf95 | Add support for Nucleo F412ZG | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "hw/bsp/stm32f4/boards/stm32f412nucleo/STM32F412ZGTx_FLASH.ld",
"diff": "+/*\n+*****************************************************************************\n+**\n+\n+** File : LinkerScript.ld\n+**\n+** Abstract : Linker script for STM32F412ZGTx ... | C | MIT License | hathach/tinyusb | Add support for Nucleo F412ZG |
281,073 | 13.09.2021 22:56:25 | -7,200 | 2d6407e7a5e6c99280ce11f1b02ea4b75dda133f | Enforced buffer boundaries for hid devices | [
{
"change_type": "MODIFY",
"old_path": "src/class/hid/hid_device.c",
"new_path": "src/class/hid/hid_device.c",
"diff": "@@ -282,7 +282,7 @@ bool hidd_control_xfer_cb (uint8_t rhport, uint8_t stage, tusb_control_request_t\nuint8_t const report_id = tu_u16_low(request->wValue);\nuint8_t* report_buf = ... | C | MIT License | hathach/tinyusb | Enforced buffer boundaries for hid devices |
281,039 | 14.09.2021 21:08:12 | -7,200 | 0ded1c5bacfba180bb5f6fef2f7cb469adbe19f6 | Reset EP flags on close. | [
{
"change_type": "MODIFY",
"old_path": "src/device/usbd.c",
"new_path": "src/device/usbd.c",
"diff": "@@ -1379,7 +1379,13 @@ void usbd_edpt_close(uint8_t rhport, uint8_t ep_addr)\nTU_ASSERT(dcd_edpt_close, /**/);\nTU_LOG2(\" CLOSING Endpoint: 0x%02X\\r\\n\", ep_addr);\n+ uint8_t const epnum = tu_edp... | C | MIT License | hathach/tinyusb | Reset EP flags on close. |
281,158 | 13.09.2021 23:46:14 | -32,400 | ecbe8c3376038317269c30af6d47a399e4f6b6d5 | Change default LED state to off | [
{
"change_type": "MODIFY",
"old_path": "hw/bsp/frdm_kl25z/frdm_kl25z.c",
"new_path": "hw/bsp/frdm_kl25z/frdm_kl25z.c",
"diff": "@@ -84,7 +84,7 @@ void board_init(void)\nPORT_SetPinMux(LED_PIN_PORT, LED_PIN, LED_PIN_FUNCTION);\ngpio_pin_config_t led_config = { kGPIO_DigitalOutput, 0 };\nGPIO_PinInit(... | C | MIT License | hathach/tinyusb | Change default LED state to off |
281,158 | 15.09.2021 20:21:30 | -32,400 | 46bb821753e677e5048f31c07fb26e2427f79ac2 | Add pin setting as a button | [
{
"change_type": "MODIFY",
"old_path": "hw/bsp/frdm_kl25z/frdm_kl25z.c",
"new_path": "hw/bsp/frdm_kl25z/frdm_kl25z.c",
"diff": "@@ -54,6 +54,14 @@ void USB0_IRQHandler(void)\n#define LED_PIN_FUNCTION kPORT_MuxAsGpio\n#define LED_STATE_ON 0\n+// Button\n+#define BUTTON_PORT GPIOC\n+#define BUTTON_PIN... | C | MIT License | hathach/tinyusb | Add J1-19 pin setting as a button |
281,158 | 15.09.2021 21:28:36 | -32,400 | fbe1bf375c8240e2d97683346fedd1a557cafdc0 | Fix stall interrupt handling | [
{
"change_type": "MODIFY",
"old_path": "src/portable/nxp/khci/dcd_khci.c",
"new_path": "src/portable/nxp/khci/dcd_khci.c",
"diff": "@@ -134,10 +134,20 @@ static void prepare_next_setup_packet(uint8_t rhport)\nstatic void process_stall(uint8_t rhport)\n{\n- if (KHCI->ENDPOINT[0].ENDPT & USB_ENDPT_EPS... | C | MIT License | hathach/tinyusb | Fix stall interrupt handling |
281,095 | 03.08.2021 11:28:44 | 18,000 | 03d7988df3f491515389751a8cf4baecafb155fc | add NCM driver in a compatible manner : hathach/tinyusb#550 | [
{
"change_type": "MODIFY",
"old_path": "examples/device/cdc_msc_freertos/src/CMakeLists.txt",
"new_path": "examples/device/cdc_msc_freertos/src/CMakeLists.txt",
"diff": "@@ -23,7 +23,8 @@ target_sources(${COMPONENT_TARGET} PUBLIC\n\"${TOP}/src/class/hid/hid_device.c\"\n\"${TOP}/src/class/midi/midi_d... | C | MIT License | hathach/tinyusb | add NCM driver in a compatible manner : hathach/tinyusb#550 |
281,073 | 27.09.2021 21:11:44 | -7,200 | db862ae72501a726cb70571395725a1938c6dcc1 | Assure msc device block size is not zero | [
{
"change_type": "MODIFY",
"old_path": "src/class/msc/msc_device.c",
"new_path": "src/class/msc/msc_device.c",
"diff": "@@ -187,6 +187,11 @@ uint8_t rdwr10_validate_cmd(msc_cbw_t const* cbw)\nTU_LOG(MSC_DEBUG, \" SCSI case 4 Hi > Dn\\r\\n\");\nstatus = MSC_CSW_STATUS_FAILED;\n}\n+ else if ( SCSI_CMD... | C | MIT License | hathach/tinyusb | Assure msc device block size is not zero |
281,158 | 17.07.2021 18:51:33 | -32,400 | 97d5d1e491565d6d546bcf27af1ff3525f3df722 | add files for video class device | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/class/video/video.h",
"diff": "+/*\n+ * The MIT License (MIT)\n+ *\n+ * Copyright (c) 2021 Koji KITAYAMA\n+ *\n+ * Permission is hereby granted, free of charge, to any person obtaining a copy\n+ * of this software and associated documentatio... | C | MIT License | hathach/tinyusb | add files for video class device |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.