author int64 658 755k | date stringlengths 19 19 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods list | language stringclasses 20 values | license stringclasses 3 values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
281,158 | 19.07.2021 21:28:05 | -32,400 | e8de4113223f2a435bde87c13a4d99c1d886619f | cleanup open() | [
{
"change_type": "MODIFY",
"old_path": "src/class/video/video.h",
"new_path": "src/class/video/video.h",
"diff": "@@ -103,6 +103,14 @@ typedef enum\nVIDEO_REQUEST_GET_DEF_ALL = 0x97\n} video_control_request_t;\n+/* A.9 */\n+typedef enum\n+{\n+ VIDEO_CTL_SEL_UNDEF = 0x00,\n+ VIDEO_CTL_SEL_VIDEO_POWER... | C | MIT License | hathach/tinyusb | cleanup open() |
281,158 | 01.08.2021 17:11:43 | -32,400 | d026f174576b0567e2a954292bd4339349e3f139 | fix: configuration descriptor has incorrectly sizes
update some descriptors | [
{
"change_type": "MODIFY",
"old_path": "examples/device/video_capture/src/usb_descriptors.c",
"new_path": "examples/device/video_capture/src/usb_descriptors.c",
"diff": "@@ -102,7 +102,7 @@ uint8_t const * tud_descriptor_device_cb(void)\nuint8_t const desc_fs_configuration[] =\n{\n// Config number, ... | C | MIT License | hathach/tinyusb | fix: configuration descriptor has incorrectly sizes
update some descriptors |
281,158 | 01.08.2021 17:51:15 | -32,400 | c52cf9c8a5c3cbc7ebe0c4409e0b6df1ea138b30 | fix: endpoint descriptor has incorrectly settings | [
{
"change_type": "MODIFY",
"old_path": "examples/device/video_capture/src/usb_descriptors.c",
"new_path": "examples/device/video_capture/src/usb_descriptors.c",
"diff": "@@ -104,7 +104,7 @@ uint8_t const desc_fs_configuration[] =\n// Config number, interface count, string index, total length, attrib... | C | MIT License | hathach/tinyusb | fix: endpoint descriptor has incorrectly settings |
281,158 | 04.08.2021 00:32:16 | -32,400 | 20572a6ed22ef54a511b731dc6044928d9ad5993 | Fix regarding standard video stream request | [
{
"change_type": "MODIFY",
"old_path": "examples/device/video_capture/src/usb_descriptors.h",
"new_path": "examples/device/video_capture/src/usb_descriptors.h",
"diff": "@@ -56,6 +56,9 @@ enum {\n+ 7/* Endpoint */\\\n)\n+/* Windows support YUV2 and NV12\n+ * https://docs.microsoft.com/en-us/windows-... | C | MIT License | hathach/tinyusb | Fix regarding standard video stream request |
281,158 | 09.08.2021 17:11:05 | -32,400 | 4995d9cbd2022b703edf4ca4bdef8ee43724fd99 | Fix handling for set_interface | [
{
"change_type": "MODIFY",
"old_path": "examples/device/video_capture/src/usb_descriptors.h",
"new_path": "examples/device/video_capture/src/usb_descriptors.h",
"diff": "@@ -51,6 +51,7 @@ enum {\n+ (TUD_VIDEO_DESC_CS_VS_IN_LEN + 1/*bNumFormats x bControlSize*/)\\\n+ TUD_VIDEO_DESC_CS_VS_FMT_UNCOMPR_... | C | MIT License | hathach/tinyusb | Fix handling for set_interface |
281,158 | 15.08.2021 18:07:53 | -32,400 | 2b4e02f192446f4fdf92c7e83ab260ae743503e9 | Implement some mandatory requests on streaming interface | [
{
"change_type": "MODIFY",
"old_path": "examples/device/video_capture/src/usb_descriptors.h",
"new_path": "examples/device/video_capture/src/usb_descriptors.h",
"diff": "/* Time stamp base clock. It is a deprecated parameter. */\n#define UVC_CLOCK_FREQUENCY 27000000\n-// video capture path\n+/* vide... | C | MIT License | hathach/tinyusb | Implement some mandatory requests on streaming interface |
281,158 | 20.09.2021 14:55:56 | -32,400 | 3cb4bb391d814d88662581f47b4dc13097d7c69e | Separate a handling resource into controller and streaming | [
{
"change_type": "MODIFY",
"old_path": "examples/device/video_capture/src/main.c",
"new_path": "examples/device/video_capture/src/main.c",
"diff": "#include \"bsp/board.h\"\n#include \"tusb.h\"\n+#include \"images.h\"\n//--------------------------------------------------------------------+\n// MACRO... | C | MIT License | hathach/tinyusb | Separate a handling resource into controller and streaming |
281,158 | 25.09.2021 13:08:00 | -32,400 | cd3f6eac2f31ccd21aae7fd9a323fe416c77409b | Fix streaming payload handling | [
{
"change_type": "MODIFY",
"old_path": "src/class/video/video.h",
"new_path": "src/class/video/video.h",
"diff": "@@ -202,6 +202,7 @@ typedef struct TU_ATTR_PACKED {\nuint8_t EndOfFrame: 1;\nuint8_t PresentationTime: 1;\nuint8_t SourceClockReference: 1;\n+ uint8_t PayloadSpecific: 1;\nuint8_t StillI... | C | MIT License | hathach/tinyusb | Fix streaming payload handling |
281,158 | 25.09.2021 16:59:17 | -32,400 | d88cc23ca5eced51167edad00ea43c86038ee481 | Refactor packet handling | [
{
"change_type": "MODIFY",
"old_path": "examples/device/video_capture/src/main.c",
"new_path": "examples/device/video_capture/src/main.c",
"diff": "@@ -141,10 +141,10 @@ void video_task(void)\n}\n}\n-int tud_video_frame_xfer_complete_cb(void)\n+int tud_video_frame_xfer_complete_cb(unsigned itf)\n{\n... | C | MIT License | hathach/tinyusb | Refactor packet handling |
281,158 | 25.09.2021 20:49:04 | -32,400 | 0d6496886cae22f33408bd126925b5d6c4908d65 | Change frame buffer management | [
{
"change_type": "MODIFY",
"old_path": "examples/device/video_capture/src/main.c",
"new_path": "examples/device/video_capture/src/main.c",
"diff": "@@ -109,30 +109,35 @@ void tud_resume_cb(void)\nstatic unsigned char const *frames[] = {\nblack_128x96_yuv, white_128x96_yuv, green_128x96_yuv\n};\n-uin... | C | MIT License | hathach/tinyusb | Change frame buffer management |
281,158 | 26.09.2021 17:15:00 | -32,400 | f7bbdea0b8f360d1fcf2f835211ed5c26e0240ea | Refactor application API parameters | [
{
"change_type": "MODIFY",
"old_path": "examples/device/video_capture/src/main.c",
"new_path": "examples/device/video_capture/src/main.c",
"diff": "// MACRO CONSTANT TYPEDEF PROTYPES\n//--------------------------------------------------------------------+\n-#define FRAME_WIDTH 128\n-#define FRAME_HE... | C | MIT License | hathach/tinyusb | Refactor application API parameters |
281,158 | 26.09.2021 21:52:56 | -32,400 | 0c89292a8dae9e5dad98a33ed3b66a4b5e796ff0 | Fix transfer failure when reconnecting | [
{
"change_type": "MODIFY",
"old_path": "examples/device/video_capture/src/tusb_config.h",
"new_path": "examples/device/video_capture/src/tusb_config.h",
"diff": "#define CFG_TUD_ENDPOINT0_SIZE 64\n#endif\n-// video streaming endpoint size\n-#define CFG_TUD_VIDEO_EP_BUFSIZE 256\n-\n-// The number of ... | C | MIT License | hathach/tinyusb | Fix transfer failure when reconnecting |
281,158 | 29.09.2021 01:18:33 | -32,400 | dba5e7b17d4f39c9f74b90142a2e17056f4db6d7 | Implement negotiation process for streaming parameters | [
{
"change_type": "MODIFY",
"old_path": "src/class/video/video.h",
"new_path": "src/class/video/video.h",
"diff": "@@ -286,14 +286,15 @@ typedef struct TU_ATTR_PACKED {\nuint8_t bDescriptorType;\nuint8_t bDescriptorSubType;\nuint8_t bFrameIndex;\n- uint8_t bNumFrameDescriptors;\n- uint8_t guidFormat[... | C | MIT License | hathach/tinyusb | Implement negotiation process for streaming parameters |
281,158 | 29.09.2021 22:53:26 | -32,400 | 9bcab53c2cb0b52baf8bc0c768887428ac87fbff | Implement frame rate settings | [
{
"change_type": "MODIFY",
"old_path": "examples/device/video_capture/src/main.c",
"new_path": "examples/device/video_capture/src/main.c",
"diff": "@@ -110,11 +110,11 @@ static unsigned char const *frames[] = {\n};\nstatic unsigned current_frame = 0;\nstatic unsigned tx_busy = 0;\n+static unsigned i... | C | MIT License | hathach/tinyusb | Implement frame rate settings |
281,158 | 30.09.2021 01:13:19 | -32,400 | 831443a2dce346cafab47a0a7f593e72fa33bfa4 | Move frame settings to usb_descriptors.h | [
{
"change_type": "MODIFY",
"old_path": "examples/device/video_capture/src/main.c",
"new_path": "examples/device/video_capture/src/main.c",
"diff": "#include \"bsp/board.h\"\n#include \"tusb.h\"\n+#include \"usb_descriptors.h\"\n#include \"images.h\"\n//-----------------------------------------------... | C | MIT License | hathach/tinyusb | Move frame settings to usb_descriptors.h |
281,158 | 30.09.2021 21:08:57 | -32,400 | 9a7795464ea88a0d8c8001a42404f791d486af64 | Add cast operations to unused parameters | [
{
"change_type": "MODIFY",
"old_path": "examples/device/video_capture/src/main.c",
"new_path": "examples/device/video_capture/src/main.c",
"diff": "@@ -151,6 +151,7 @@ void tud_video_frame_xfer_complete_cb(uint_fast8_t ctl_idx, uint_fast8_t stm_idx\nint tud_video_commit_cb(uint_fast8_t ctl_idx, uint... | C | MIT License | hathach/tinyusb | Add cast operations to unused parameters |
281,158 | 30.09.2021 21:38:27 | -32,400 | 98e6a93a7807e67b5589b859c2871b9a36233e3d | Add a list file for rp2040 | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "examples/device/video_capture/CMakeLists.txt",
"diff": "+cmake_minimum_required(VERSION 3.5)\n+\n+include(${CMAKE_CURRENT_SOURCE_DIR}/../../../hw/bsp/family_support.cmake)\n+\n+# gets PROJECT name for the example (e.g. <BOARD>-<DIR_NAME>)\n+fami... | C | MIT License | hathach/tinyusb | Add a list file for rp2040 |
281,158 | 30.09.2021 22:14:29 | -32,400 | a1788da4105b762e919dee0e1f2141288751e7b8 | Add video class entry to rp2040 building scripts | [
{
"change_type": "MODIFY",
"old_path": "examples/device/CMakeLists.txt",
"new_path": "examples/device/CMakeLists.txt",
"diff": "@@ -24,4 +24,5 @@ family_add_subdirectory(msc_dual_lun)\nfamily_add_subdirectory(net_lwip_webserver)\nfamily_add_subdirectory(uac2_headset)\nfamily_add_subdirectory(usbtmc)... | C | MIT License | hathach/tinyusb | Add video class entry to rp2040 building scripts |
281,060 | 06.10.2021 09:15:33 | -3,600 | bcecbfdc29f58ac019a36099a8c398650cd27191 | Modify cdc_msc example for Bridgetek FT90x/FT93x
Add in endpoint definitions for the Bridgetek devices in usb_descriptors.c and allow high speed in tusb_config.h. | [
{
"change_type": "MODIFY",
"old_path": "examples/device/cdc_msc/src/tusb_config.h",
"new_path": "examples/device/cdc_msc/src/tusb_config.h",
"diff": "// Default to Highspeed for MCU with internal HighSpeed PHY (can be port specific), otherwise FullSpeed\n#ifndef BOARD_DEVICE_RHPORT_SPEED\n#if (CFG_T... | C | MIT License | hathach/tinyusb | Modify cdc_msc example for Bridgetek FT90x/FT93x
Add in endpoint definitions for the Bridgetek devices in usb_descriptors.c and allow high speed in tusb_config.h. |
281,060 | 06.10.2021 16:50:55 | -3,600 | 37c5eeb51de532dfbd46ae528d4d99220932d6bd | Rename directories to indicate that FT930 and FT900 devices are both covered by the same SDK and src/portable code. Board makefile includes __FT900__ macro for FT90x and __FT930__ macro for boards with FT93x. | [
{
"change_type": "MODIFY",
"old_path": "hw/bsp/brtmm90x/family.c",
"new_path": "hw/bsp/brtmm90x/family.c",
"diff": "#include <ft900.h>\n#include \"bsp/board.h\"\n#include \"board.h\"\n-//#include \"src/device/dcd.h\"\n#if TUSB_OPT_DEVICE_ENABLED\nint8_t board_ft90x_vbus(void); // Board specific impl... | C | MIT License | hathach/tinyusb | Rename directories to indicate that FT930 and FT900 devices are both covered by the same SDK and src/portable code. Board makefile includes __FT900__ macro for FT90x and __FT930__ macro for boards with FT93x. |
281,060 | 06.10.2021 16:54:52 | -3,600 | 9966b8a5d6d755c6b92140d617122acb39948f20 | Change author in header to Bridgetek Pte Ltd. | [
{
"change_type": "MODIFY",
"old_path": "hw/bsp/brtmm90x/boards/mm900ev1b/board.h",
"new_path": "hw/bsp/brtmm90x/boards/mm900ev1b/board.h",
"diff": "/*\n* The MIT License (MIT)\n*\n- * Copyright (c) 2021, Ha Thach (tinyusb.org)\n+ * Copyright 2021 Bridgetek Pte Ltd\n*\n* Permission is hereby granted,... | C | MIT License | hathach/tinyusb | Change author in header to Bridgetek Pte Ltd. |
281,060 | 06.10.2021 17:13:44 | -3,600 | 8c40a74f295d93a62a0e7c8a873b6d7abcce19b1 | Sort out board settings. | [
{
"change_type": "RENAME",
"old_path": "hw/bsp/brtmm90x/boards/mm900ev1b/board.h",
"new_path": "hw/bsp/brtmm90x/boards/mm900evxb/board.h",
"diff": "#ifndef BOARD_H_\n#define BOARD_H_\n+// Note: This definition file covers all MM900EV1B, MM900EV2B, and MM900EV3B boards.\n+// Each of these boards has ... | C | MIT License | hathach/tinyusb | Sort out board settings. |
281,060 | 07.10.2021 17:00:28 | -3,600 | 5e6edecaa3594980198d8f687b3d97979ae85092 | Streamline settings for board. | [
{
"change_type": "MODIFY",
"old_path": "src/portable/bridgetek/ft9xx/dcd_ft9xx.c",
"new_path": "src/portable/bridgetek/ft9xx/dcd_ft9xx.c",
"diff": "* This file is part of the TinyUSB stack.\n*/\n+/*\n+ * Contains code adapted from Bridgetek Pte Ltd via license terms stated\n+ * in https://brtchip.co... | C | MIT License | hathach/tinyusb | Streamline settings for board. |
281,158 | 14.10.2021 23:15:35 | -32,400 | 2a795d5fd0e1a18ae5fa2eeb9d47e8769efe663c | Fix GUID of video compression formats | [
{
"change_type": "MODIFY",
"old_path": "src/class/video/video.h",
"new_path": "src/class/video/video.h",
"diff": "@@ -382,10 +382,10 @@ TU_VERIFY_STATIC( sizeof(video_probe_and_commit_control_t) == 48, \"size is not c\n#define TUD_VIDEO_DESC_CS_VS_COLOR_MATCHING_LEN 6\n/* 2.2 compression formats */\... | C | MIT License | hathach/tinyusb | Fix GUID of video compression formats |
281,035 | 14.10.2021 15:20:32 | 18,000 | 06d955538988c3859bf6c5428a38bd8311069ed9 | More warning cleanup
- physically suppress warnings in TinyUSB headers using pragmas so they don't break -Werror compilation of external files that include them
- fix compiler warnings in rp2040 port
- add cmake method to rp2040 port to allow an external project to suppress warnings in TinyUSB itself | [
{
"change_type": "MODIFY",
"old_path": "hw/bsp/rp2040/family.cmake",
"new_path": "hw/bsp/rp2040/family.cmake",
"diff": "@@ -77,7 +77,6 @@ if (NOT TARGET _rp2040_family_inclusion_marker)\n${TOP}/src/class/video/video_device.c\n)\n-\n# Base config for host mode; wrapped by SDK's tinyusb_host\nadd_libr... | C | MIT License | hathach/tinyusb | More warning cleanup
- physically suppress warnings in TinyUSB headers using pragmas so they don't break -Werror compilation of external files that include them
- fix compiler warnings in rp2040 port
- add cmake method to rp2040 port to allow an external project to suppress warnings in TinyUSB itself |
281,158 | 16.10.2021 12:06:13 | -32,400 | 7325dd633536d086491ef057a544760886190cc7 | Change input terminal type to camera | [
{
"change_type": "MODIFY",
"old_path": "examples/device/video_capture/src/usb_descriptors.h",
"new_path": "examples/device/video_capture/src/usb_descriptors.h",
"diff": "@@ -48,7 +48,7 @@ enum {\n/* control */\\\n+ TUD_VIDEO_DESC_STD_VC_LEN\\\n+ (TUD_VIDEO_DESC_CS_VC_LEN + 1/*bInCollection*/)\\\n- +... | C | MIT License | hathach/tinyusb | Change input terminal type to camera |
281,158 | 16.10.2021 15:52:46 | -32,400 | 4fd0ee4eef149237aa58b24e843649b16d5ca1dc | Implement GET_DEF and GET_LEN handling on Probe/Commit entities of streaming interface | [
{
"change_type": "MODIFY",
"old_path": "src/class/video/video_device.c",
"new_path": "src/class/video/video_device.c",
"diff": "@@ -354,21 +354,25 @@ static bool _update_streaming_parameters(videod_streaming_interface_t const *stm\nreturn true;\n}\n-/** Set the minimum or the maximum values to varia... | C | MIT License | hathach/tinyusb | Implement GET_DEF and GET_LEN handling on Probe/Commit entities of streaming interface |
281,158 | 19.10.2021 21:49:00 | -32,400 | b3b6b4f785de6916ce352c308108242227ce8a47 | Update _negotiate_streaming_parameters() to handle some requests | [
{
"change_type": "MODIFY",
"old_path": "src/class/video/video_device.c",
"new_path": "src/class/video/video_device.c",
"diff": "@@ -354,9 +354,9 @@ static bool _update_streaming_parameters(videod_streaming_interface_t const *stm\nreturn true;\n}\n-/** Set the minimum, maximum or default values to va... | C | MIT License | hathach/tinyusb | Update _negotiate_streaming_parameters() to handle some requests |
281,095 | 15.10.2021 20:10:19 | 18,000 | d42b5604ce6ccdd9c5acba009e6a3d95c27ca573 | net_lwip_webserver: allow users to enable LWIP_IP6 if desired | [
{
"change_type": "MODIFY",
"old_path": "examples/device/net_lwip_webserver/Makefile",
"new_path": "examples/device/net_lwip_webserver/Makefile",
"diff": "@@ -4,9 +4,8 @@ include ../../../tools/top.mk\ninclude ../../make.mk\nCFLAGS += \\\n- -DPBUF_POOL_SIZE=2 \\\n- -DTCP_WND=2*TCP_MSS \\\n- -DHTTPD_U... | C | MIT License | hathach/tinyusb | net_lwip_webserver: allow users to enable LWIP_IP6 if desired |
281,125 | 25.10.2021 00:07:59 | 25,200 | 9f014b059a2411d23a1a24e9154c89d87739eaaf | properly handle Program Change and Channel Aftertouch messages | [
{
"change_type": "MODIFY",
"old_path": "src/class/midi/midi_device.c",
"new_path": "src/class/midi/midi_device.c",
"diff": "@@ -279,6 +279,12 @@ uint32_t tud_midi_n_stream_write(uint8_t itf, uint8_t cable_num, uint8_t const*\nstream->buffer[0] = (cable_num << 4) | msg;\nstream->total = 4;\n}\n+ else... | C | MIT License | hathach/tinyusb | properly handle Program Change and Channel Aftertouch messages |
281,117 | 25.10.2021 21:53:14 | -28,800 | 7d0d6f85f2aa9ff228ec76387a3d2d0ebf2580bb | update dcd_esp32sx with correct include list | [
{
"change_type": "MODIFY",
"old_path": "src/portable/espressif/esp32sx/dcd_esp32sx.c",
"new_path": "src/portable/espressif/esp32sx/dcd_esp32sx.c",
"diff": "#if (((CFG_TUSB_MCU == OPT_MCU_ESP32S2) || (CFG_TUSB_MCU == OPT_MCU_ESP32S3)) && TUSB_OPT_DEVICE_ENABLED)\n// Espressif\n-#include \"driver/peri... | C | MIT License | hathach/tinyusb | update dcd_esp32sx with correct include list |
281,060 | 27.10.2021 12:30:51 | -3,600 | 6a658007a5145147bd7435346f3617a7cda589b7 | Changes to use ft90x-sdk as submodule or installed SDK from toolchain. | [
{
"change_type": "MODIFY",
"old_path": "hw/bsp/brtmm90x/family.mk",
"new_path": "hw/bsp/brtmm90x/family.mk",
"diff": "-\n+# GCC prefix for FT90X compile tools.\nCROSS_COMPILE = ft32-elf-\n-DEPS_SUBMODULES += hw/mcu/bridgetek/ft9xx/hardware\nSKIP_NANOLIB = 1\n-# This is installed at \"C:/Program File... | C | MIT License | hathach/tinyusb | Changes to use ft90x-sdk as submodule or installed SDK from toolchain. |
281,085 | 29.10.2021 12:53:07 | -28,800 | 8e95b807f7250ec759389a4b0551f90419d14ac6 | samd21: Make LED_PIN and BUTTON_PIN optional
Some boards don't have them, just ignore | [
{
"change_type": "MODIFY",
"old_path": "hw/bsp/samd21/family.c",
"new_path": "hw/bsp/samd21/family.c",
"diff": "@@ -73,12 +73,16 @@ void board_init(void)\nSysTick_Config(CONF_CPU_FREQUENCY / 1000);\n// Led init\n+#ifdef LED_PIN\ngpio_set_pin_direction(LED_PIN, GPIO_DIRECTION_OUT);\nboard_led_write(f... | C | MIT License | hathach/tinyusb | samd21: Make LED_PIN and BUTTON_PIN optional
Some boards don't have them, just ignore |
281,085 | 17.09.2021 17:56:24 | -28,800 | 19a26729b03bab188746b5e835878530c7bed65d | Add Adafruit QT Py board
Straight copy of itsybitsy_m0/ with MCU changed to
ATSAMD21E18
LED and button are disabled.
LED is a neopixel so could be added later. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "hw/bsp/samd21/boards/qtpy/board.h",
"diff": "+/*\n+ * The MIT License (MIT)\n+ *\n+ * Copyright (c) 2020, Ha Thach (tinyusb.org)\n+ *\n+ * Permission is hereby granted, free of charge, to any person obtaining a copy\n+ * of this software and ass... | C | MIT License | hathach/tinyusb | Add Adafruit QT Py board
Straight copy of itsybitsy_m0/ with MCU changed to
ATSAMD21E18
LED and button are disabled.
LED is a neopixel so could be added later. |
281,058 | 30.10.2021 14:39:03 | -7,200 | ba34f420db26faf7d42f574cce0c3b4c0f4ccb38 | Adds support for Adafruit Trinket M0 | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "hw/bsp/samd21/boards/trinket_m0/board.h",
"diff": "+/*\n+ * The MIT License (MIT)\n+ *\n+ * Copyright (c) 2021 Jean Gressmann <jean@0x42.de>\n+ *\n+ * Permission is hereby granted, free of charge, to any person obtaining a copy\n+ * of this soft... | C | MIT License | hathach/tinyusb | Adds support for Adafruit Trinket M0 |
281,058 | 01.11.2021 18:01:18 | -3,600 | 5fb16a8f2c2c160e9e3e3c1161b038b6fc421c14 | samd21: enable SysTick only if running w/o OS | [
{
"change_type": "MODIFY",
"old_path": "hw/bsp/samd21/family.c",
"new_path": "hw/bsp/samd21/family.c",
"diff": "@@ -75,7 +75,9 @@ void board_init(void)\n// Update SystemCoreClock since it is hard coded with asf4 and not correct\n// Init 1ms tick timer (samd SystemCoreClock may not correct)\nSystemCo... | C | MIT License | hathach/tinyusb | samd21: enable SysTick only if running w/o OS |
281,102 | 04.11.2021 21:46:17 | -3,600 | e35bb6341cd3a9b81085969cdce60cb3af9ed57e | broadcom/dcd: Fix mynewt build
dcd_synopsys.c included broadcom/interrupts.h before
preprocessor check whether file should be used.
Since mynewt build does not include all folders it resulted in build
error.
Now offending include is moved few lines after preprocessor check. | [
{
"change_type": "MODIFY",
"old_path": "src/portable/broadcom/synopsys/dcd_synopsys.c",
"new_path": "src/portable/broadcom/synopsys/dcd_synopsys.c",
"diff": "#include \"tusb_option.h\"\n+#if TUSB_OPT_DEVICE_ENABLED && \\\n+ (CFG_TUSB_MCU == OPT_MCU_BCM2711 ) \\\n+\n+\n#include \"synopsys_common.h\"\... | C | MIT License | hathach/tinyusb | broadcom/dcd: Fix mynewt build
dcd_synopsys.c included broadcom/interrupts.h before
preprocessor check whether file should be used.
Since mynewt build does not include all folders it resulted in build
error.
Now offending include is moved few lines after preprocessor check. |
281,166 | 05.11.2021 09:39:31 | 0 | e692fa9ae4b6c8ff7b66dedbecaf745ae2166851 | RP2040 HCD: Move invalid ep->active assert in hw_trans_complete. The check for ep->active should only happen if a setup packet was just sent. Otherwise the transaction is handled in hw_handle_buff_status. | [
{
"change_type": "MODIFY",
"old_path": "src/portable/raspberrypi/rp2040/hcd_rp2040.c",
"new_path": "src/portable/raspberrypi/rp2040/hcd_rp2040.c",
"diff": "@@ -160,12 +160,11 @@ static void hw_handle_buff_status(void)\nstatic void hw_trans_complete(void)\n{\n- struct hw_endpoint *ep = &epx;\n- asser... | C | MIT License | hathach/tinyusb | RP2040 HCD: Move invalid ep->active assert in hw_trans_complete. The check for ep->active should only happen if a setup packet was just sent. Otherwise the transaction is handled in hw_handle_buff_status. |
281,158 | 23.10.2021 15:14:28 | -32,400 | f183d0810bb4570bf569cb08a6644933b8813dff | Add files for msp432e4 | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "hw/bsp/msp432e4/boards/msp_exp432e401y/board.h",
"diff": "+/*\n+ * The MIT License (MIT)\n+ *\n+ * Copyright (c) 2021 Ha Thach (tinyusb.org)\n+ *\n+ * Permission is hereby granted, free of charge, to any person obtaining a copy\n+ * of this soft... | C | MIT License | hathach/tinyusb | Add files for msp432e4 |
281,158 | 04.11.2021 22:36:36 | -32,400 | 0b3c8c4a59e993f7f51452b2bd3d0decdc56d6c9 | Implement dcd_edpt_xfer_fifo for dcd_musb | [
{
"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_GD32VF103 || \\\nCFG_TUSB_MCU == OPT_MCU_LPC18XX || \\\nCFG_TUSB_MCU == OPT_MCU_LPC43XX || \\\n- CFG_TUSB_MCU == OPT_MCU_MIMXRT10XX\n+ CFG_TUSB_MCU ... | C | MIT License | hathach/tinyusb | Implement dcd_edpt_xfer_fifo for dcd_musb |
281,158 | 05.11.2021 20:14:59 | -32,400 | e4520e7aa7a0a585d79b8a345525a67cf2f39ef6 | Add statements for FreeRTOS | [
{
"change_type": "MODIFY",
"old_path": "hw/bsp/board_mcu.h",
"new_path": "hw/bsp/board_mcu.h",
"diff": "#elif CFG_TUSB_MCU == OPT_MCU_MSP430x5xx\n#include \"msp430.h\"\n+#elif CFG_TUSB_MCU == OPT_MCU_MSP432E4xx\n+ #include \"msp.h\"\n+\n#elif CFG_TUSB_MCU == OPT_MCU_VALENTYUSB_EPTRI\n// no header ne... | C | MIT License | hathach/tinyusb | Add statements for FreeRTOS |
281,158 | 06.11.2021 19:32:15 | -32,400 | 23ef8b2c64aea2217254b34a8b34cf7cc6d4e364 | Change the variables for a switch and a LED to symbols defined by the macros | [
{
"change_type": "MODIFY",
"old_path": "hw/bsp/msp432e4/boards/msp_exp432e401y/board.h",
"new_path": "hw/bsp/msp432e4/boards/msp_exp432e401y/board.h",
"diff": "#ifndef BOARD_H_\n#define BOARD_H_\n-#define LED_PORT P1OUT\n-#define LED_PIN BIT0\n-#define LED_STATE_ON 1\n+#define CLK_LED 12u\n+#define ... | C | MIT License | hathach/tinyusb | Change the variables for a switch and a LED to symbols defined by the macros |
281,158 | 07.11.2021 18:25:11 | -32,400 | 26461d1efe956f5d23c58546364c6bdbffc246df | Fix DCD_EVENT_XFER_COMPLETE was signaled, even after EP is closed | [
{
"change_type": "MODIFY",
"old_path": "src/portable/mentor/musb/dcd_musb.c",
"new_path": "src/portable/mentor/musb/dcd_musb.c",
"diff": "@@ -556,6 +556,9 @@ static void process_bus_reset(uint8_t rhport)\n/* When pipe0.buf has not NULL, DATA stage works in progress. */\n_dcd.pipe0.buf = NULL;\n+ USB... | C | MIT License | hathach/tinyusb | Fix DCD_EVENT_XFER_COMPLETE was signaled, even after EP is closed |
281,060 | 22.11.2021 10:33:07 | 0 | ba76b2e3395ca3cb5033d70e34a6fa9a6ff7373c | Add submodule for ft90x SDK
Add Bridgetek FT90x SDK as submodule. | [
{
"change_type": "MODIFY",
"old_path": ".gitmodules",
"new_path": ".gitmodules",
"diff": "[submodule \"hw/mcu/gd/nuclei-sdk\"]\npath = hw/mcu/gd/nuclei-sdk\nurl = https://github.com/Nuclei-Software/nuclei-sdk.git\n+[submodule \"hw/mcu/bridgetek/ft9xx/ft90x-sdk\"]\n+ path = hw/mcu/bridgetek/ft9xx/ft9... | C | MIT License | hathach/tinyusb | Add submodule for ft90x SDK
Add Bridgetek FT90x SDK as submodule. |
281,039 | 25.11.2021 17:20:51 | -3,600 | 225e7182707510bc57fb433271a41ccd13c55624 | Update iar project template. | [
{
"change_type": "MODIFY",
"old_path": "tools/iar_template.ipcf",
"new_path": "tools/iar_template.ipcf",
"diff": "<path>$TUSB_DIR$/src/class/msc/msc_host.c</path>\n</group>\n<group name=\"src/class/net\">\n- <path>$TUSB_DIR$/src/class/net/net_device.c</path>\n+ <path>$TUSB_DIR$/src/class/net/ecm_rnd... | C | MIT License | hathach/tinyusb | Update iar project template. |
281,158 | 27.11.2021 10:25:39 | -32,400 | 7413b6b02074d806ee2290b53c46ceaa3e76ef42 | Add a compile condition for dcd | [
{
"change_type": "MODIFY",
"old_path": "src/portable/mentor/musb/dcd_musb.c",
"new_path": "src/portable/mentor/musb/dcd_musb.c",
"diff": "#include \"tusb_option.h\"\n-#if TU_CHECK_MCU(OPT_MCU_MSP432E4, OPT_MCU_TM4C123, OPT_MCU_TM4C129)\n+#if TUSB_OPT_DEVICE_ENABLED && \\\n+ TU_CHECK_MCU(OPT_MCU_MSP4... | C | MIT License | hathach/tinyusb | Add a compile condition for dcd |
281,158 | 28.11.2021 16:49:27 | -32,400 | b50cf856b323c4948883a9834d289fe5dd7f67ff | Add hcd_musb.c | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/portable/mentor/musb/hcd_musb.c",
"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 ... | C | MIT License | hathach/tinyusb | Add hcd_musb.c |
281,158 | 29.11.2021 00:40:23 | -32,400 | b3dddc77eb4527372640e1712c9e248b60dd8869 | Add initialization sequence as a HOST | [
{
"change_type": "MODIFY",
"old_path": "hw/bsp/msp432e4/family.c",
"new_path": "hw/bsp/msp432e4/family.c",
"diff": "//--------------------------------------------------------------------+\nvoid USB0_IRQHandler(void)\n{\n+#if TUSB_OPT_HOST_ENABLED\n+ tuh_int_handler(0);\n+#endif\n+#if TUSB_OPT_DEVICE... | C | MIT License | hathach/tinyusb | Add initialization sequence as a HOST |
281,158 | 29.11.2021 00:42:18 | -32,400 | ae9a39ec1fec596a7578a137a392b48cdab5ac39 | Add musb driver | [
{
"change_type": "MODIFY",
"old_path": "examples/host/cdc_msc_hid/Makefile",
"new_path": "examples/host/cdc_msc_hid/Makefile",
"diff": "@@ -23,6 +23,7 @@ SRC_C += \\\nsrc/portable/ehci/ehci.c \\\nsrc/portable/ohci/ohci.c \\\nsrc/portable/nxp/transdimension/hcd_transdimension.c \\\n- src/portable/nxp... | C | MIT License | hathach/tinyusb | Add musb driver |
281,098 | 30.11.2021 17:10:53 | -28,800 | dba59217da489dc497cbe2b573e7e144d085c869 | usbd: supress "statement is unreachable" warning on ARMCC | [
{
"change_type": "MODIFY",
"old_path": "src/device/usbd.c",
"new_path": "src/device/usbd.c",
"diff": "#define CFG_TUD_TASK_QUEUE_SZ 16\n#endif\n+#ifdef __ARMCC_VERSION\n+// Supress \"statement is unreachable\" warning\n+#pragma diag_suppress 111\n+#endif\n+\n//---------------------------------------... | C | MIT License | hathach/tinyusb | usbd: supress "statement is unreachable" warning on ARMCC |
281,098 | 30.11.2021 17:11:09 | -28,800 | ac20605e3f098687ce40349bbecc9266333d951b | Ignore certain compiler options on ARMCC
ARMCC also sets __GNU__ macro, but doesn't support
GCC diagnostic pragmas. | [
{
"change_type": "MODIFY",
"old_path": "src/common/tusb_compiler.h",
"new_path": "src/common/tusb_compiler.h",
"diff": "#define TU_BSWAP16(u16) (__builtin_bswap16(u16))\n#define TU_BSWAP32(u32) (__builtin_bswap32(u32))\n+ #ifndef __ARMCC_VERSION\n// List of obsolete callback function that is renamed... | C | MIT License | hathach/tinyusb | Ignore certain compiler options on ARMCC
ARMCC also sets __GNU__ macro, but doesn't support
GCC diagnostic pragmas. |
281,098 | 30.11.2021 17:11:14 | -28,800 | a6929cf03eabe9f4fc0404d7c15b04ee2761945c | Add support for Keil RTX4 OS abstraction layer | [
{
"change_type": "MODIFY",
"old_path": "src/osal/osal.h",
"new_path": "src/osal/osal.h",
"diff": "@@ -57,6 +57,8 @@ typedef void (*osal_task_func_t)( void * );\n#include \"osal_pico.h\"\n#elif CFG_TUSB_OS == OPT_OS_RTTHREAD\n#include \"osal_rtthread.h\"\n+#elif CFG_TUSB_OS == OPT_OS_RTX4\n+ #include... | C | MIT License | hathach/tinyusb | Add support for Keil RTX4 OS abstraction layer |
281,038 | 12.11.2021 14:58:51 | 28,800 | 06f99c220ef4f53677c5e5354a309cad3b4d11ef | implement hcd device close | [
{
"change_type": "MODIFY",
"old_path": "src/portable/raspberrypi/rp2040/hcd_rp2040.c",
"new_path": "src/portable/raspberrypi/rp2040/hcd_rp2040.c",
"diff": "@@ -64,6 +64,8 @@ enum {\nUSB_SIE_CTRL_PULLDOWN_EN_BITS | USB_SIE_CTRL_EP0_INT_1BUF_BITS\n};\n+enum { ADDR_INVALID = 0xFFu };\n+\nstatic struct ... | C | MIT License | hathach/tinyusb | implement hcd device close |
281,038 | 12.11.2021 14:59:19 | 28,800 | 006522e4375d58bfe01b9745ff7df35fb3d48868 | on unplug release device endpoints | [
{
"change_type": "MODIFY",
"old_path": "src/host/usbh.c",
"new_path": "src/host/usbh.c",
"diff": "@@ -546,6 +546,9 @@ void process_device_unplugged(uint8_t rhport, uint8_t hub_addr, uint8_t hub_port\nhcd_device_close(rhport, dev_addr);\n+ // release all endpoints associated with the device\n+ tu_mem... | C | MIT License | hathach/tinyusb | on unplug release device endpoints |
281,158 | 30.11.2021 23:13:20 | -32,400 | 9bccc8068baf6efef0bd040ec5238369c0a03c0f | Add register settings to handle a HUB | [
{
"change_type": "MODIFY",
"old_path": "src/portable/mentor/musb/hcd_musb.c",
"new_path": "src/portable/mentor/musb/hcd_musb.c",
"diff": "@@ -325,7 +325,7 @@ static bool edpt0_xfer(uint8_t rhport, uint8_t dev_addr, uint8_t ep_addr, uint8_\n{\n(void)rhport;\n- const unsigned req = _hcd.bmRequestType;... | C | MIT License | hathach/tinyusb | Add register settings to handle a HUB |
281,158 | 04.12.2021 01:18:42 | -32,400 | 81285273a6b5cacace52e74890ff9863a6a92d1a | Fix memory overrun at pipe_read_packet() | [
{
"change_type": "MODIFY",
"old_path": "src/portable/mentor/musb/hcd_musb.c",
"new_path": "src/portable/mentor/musb/hcd_musb.c",
"diff": "@@ -269,12 +269,12 @@ static void pipe_read_packet(void *buf, volatile void *fifo, unsigned len)\nlen -= 4;\n}\nif (len >= 2) {\n- *(uint32_t *)addr = reg->u16;\n... | C | MIT License | hathach/tinyusb | Fix memory overrun at pipe_read_packet() |
281,158 | 04.12.2021 01:25:34 | -32,400 | 7137a0a92f5623e06d7457aba0eaa65f077010a2 | Fix buffer overrun at pipe_read_packet() | [
{
"change_type": "MODIFY",
"old_path": "src/portable/mentor/musb/dcd_musb.c",
"new_path": "src/portable/mentor/musb/dcd_musb.c",
"diff": "@@ -250,12 +250,12 @@ static void pipe_read_packet(void *buf, volatile void *fifo, unsigned len)\nlen -= 4;\n}\nif (len >= 2) {\n- *(uint32_t *)addr = reg->u16;\n... | C | MIT License | hathach/tinyusb | Fix buffer overrun at pipe_read_packet() |
281,098 | 04.12.2021 17:18:39 | -28,800 | dff54d854ddae3ff5c8dc81bac77fd8b50564598 | Modify sunxi_musb code | [
{
"change_type": "MODIFY",
"old_path": "src/portable/sunxi/dcd_sunxi_musb.c",
"new_path": "src/portable/sunxi/dcd_sunxi_musb.c",
"diff": "#include <stdint.h>\n-#include <F1C100s.h>\n+#include \"tusb_option.h\"\n+#include \"osal/osal.h\"\n#include <f1c100s-irq.h>\n-\n-#include <tusb_option.h>\n#inclu... | C | MIT License | hathach/tinyusb | Modify sunxi_musb code |
281,090 | 04.12.2021 16:04:48 | -7,200 | 48e1f6d8990e450783f4887e41ce58fe0e463953 | Handle the closing of endpoints on RP2040 | [
{
"change_type": "MODIFY",
"old_path": "src/portable/raspberrypi/rp2040/dcd_rp2040.c",
"new_path": "src/portable/raspberrypi/rp2040/dcd_rp2040.c",
"diff": "@@ -83,7 +83,7 @@ static void _hw_endpoint_alloc(struct hw_endpoint *ep, uint8_t transfer_type)\nassert(((uintptr_t )next_buffer_ptr & 0b111111u... | C | MIT License | hathach/tinyusb | Handle the closing of endpoints on RP2040 |
281,098 | 05.12.2021 18:07:35 | -28,800 | fa0e4d91f9e22b8c7b8f561fe225116b5f6a14a5 | Save current EP before querying other EPs | [
{
"change_type": "MODIFY",
"old_path": "src/portable/sunxi/dcd_sunxi_musb.c",
"new_path": "src/portable/sunxi/dcd_sunxi_musb.c",
"diff": "@@ -185,6 +185,11 @@ static void USBC_SelectActiveEp(u8 ep_index)\nUSBC_Writeb(ep_index, USBC_REG_EPIND(USBC0_BASE));\n}\n+static u8 USBC_GetActiveEp(void)\n+{\n+... | C | MIT License | hathach/tinyusb | Save current EP before querying other EPs |
281,098 | 05.12.2021 18:08:01 | -28,800 | 64b81fd4d316ff8e0390c843bdff236ed4151147 | Close all EPs upon reset | [
{
"change_type": "MODIFY",
"old_path": "src/portable/sunxi/dcd_sunxi_musb.c",
"new_path": "src/portable/sunxi/dcd_sunxi_musb.c",
"diff": "@@ -839,6 +839,7 @@ void dcd_init(uint8_t rhport)\nUSBC_ForceIdToHigh(); // Force device mode\nUSBC_ForceVbusValidToHigh();\nUSBC_SelectBus(USBC_IO_TYPE_PIO, 0, 0... | C | MIT License | hathach/tinyusb | Close all EPs upon reset |
281,098 | 05.12.2021 18:18:41 | -28,800 | 702698ee293727d31efb0c7134a15a261d878cb9 | Add FIFO size check | [
{
"change_type": "MODIFY",
"old_path": "src/portable/sunxi/dcd_sunxi_musb.c",
"new_path": "src/portable/sunxi/dcd_sunxi_musb.c",
"diff": "@@ -388,6 +388,12 @@ static inline void print_block_list(free_block_t const *blk, unsigned num)\n#define print_block_list(a,b)\n#endif\n+#if CFG_TUSB_MCU == OPT_M... | C | MIT License | hathach/tinyusb | Add FIFO size check |
281,098 | 05.12.2021 22:31:09 | -28,800 | f308603a3aeffcf77e83d2cfb1c76a28e543272d | Fix a typo that leads to incorrect RX handling | [
{
"change_type": "MODIFY",
"old_path": "src/portable/sunxi/dcd_sunxi_musb.c",
"new_path": "src/portable/sunxi/dcd_sunxi_musb.c",
"diff": "@@ -598,7 +598,7 @@ static bool handle_xfer_out(uint_fast8_t ep_addr)\npipe->buf = buf + len;\n}\npipe->remaining = rem - len;\n- __USBC_Dev_ep0_ReadDataComplete(... | C | MIT License | hathach/tinyusb | Fix a typo that leads to incorrect RX handling |
281,098 | 05.12.2021 22:40:05 | -28,800 | 1ffc366aa9bb9c2dda8210956c2ac9a6fbafc88b | Change FIFO size to 4KB (not sure)
The datasheet says 2KB FIFO, but accroding to many
code examples, the F1C100s has at least 4KB of FIFO memory.
This is working with cdc_msc example,
but I'm not sure, this should be checked. | [
{
"change_type": "MODIFY",
"old_path": "src/portable/sunxi/dcd_sunxi_musb.c",
"new_path": "src/portable/sunxi/dcd_sunxi_musb.c",
"diff": "@@ -389,7 +389,7 @@ static inline void print_block_list(free_block_t const *blk, unsigned num)\n#endif\n#if CFG_TUSB_MCU == OPT_MCU_F1C100S\n-#define USB_FIFO_SIZ... | C | MIT License | hathach/tinyusb | Change FIFO size to 4KB (not sure)
The datasheet says 2KB FIFO, but accroding to many
code examples, the F1C100s has at least 4KB of FIFO memory.
This is working with cdc_msc example,
but I'm not sure, this should be checked. |
281,098 | 06.12.2021 19:56:27 | -28,800 | 96979a2c4a43902a3051c678858e788e7ffc8c60 | Fix handling of RXRDY bit | [
{
"change_type": "MODIFY",
"old_path": "src/portable/sunxi/dcd_sunxi_musb.c",
"new_path": "src/portable/sunxi/dcd_sunxi_musb.c",
"diff": "@@ -598,12 +598,12 @@ static bool handle_xfer_out(uint_fast8_t ep_addr)\npipe->buf = buf + len;\n}\npipe->remaining = rem - len;\n- __USBC_Dev_Rx_ReadDataComplete... | C | MIT License | hathach/tinyusb | Fix handling of RXRDY bit |
281,090 | 06.12.2021 18:49:58 | -7,200 | ef879e8a8a43dfa34160f50d7f432c3140dec7fa | Support disabling feedback format correction | [
{
"change_type": "MODIFY",
"old_path": "src/class/audio/audio_device.c",
"new_path": "src/class/audio/audio_device.c",
"diff": "@@ -2248,12 +2248,13 @@ static void audiod_parse_for_AS_params(audiod_function_t* audio, uint8_t const *\n#if CFG_TUD_AUDIO_ENABLE_FEEDBACK_EP\n// Input value feedback has ... | C | MIT License | hathach/tinyusb | Support disabling feedback format correction #1234 |
281,090 | 07.12.2021 15:35:30 | -7,200 | 36e69b86bf0f95916a66a35874da15fb420296e1 | Remove buffer reclaim logs | [
{
"change_type": "MODIFY",
"old_path": "src/portable/raspberrypi/rp2040/dcd_rp2040.c",
"new_path": "src/portable/raspberrypi/rp2040/dcd_rp2040.c",
"diff": "@@ -115,7 +115,6 @@ static void _hw_endpoint_close(struct hw_endpoint *ep)\n}\nif (reclaim_buffers)\n{\n- pico_info(\" reclaim buffer space\\n\"... | C | MIT License | hathach/tinyusb | Remove buffer reclaim logs |
281,098 | 07.12.2021 22:53:52 | -28,800 | 75f7fb3d9d267f168bc45fc218e1c443701ff11d | Add mksunxi tool to make flashable image | [
{
"change_type": "MODIFY",
"old_path": "examples/rules.mk",
"new_path": "examples/rules.mk",
"diff": "@@ -182,10 +182,12 @@ flash-jlink: $(BUILD)/$(PROJECT).hex\nflash-stlink: $(BUILD)/$(PROJECT).elf\nSTM32_Programmer_CLI --connect port=swd --write $< --go\n-flash-xfel: $(BUILD)/$(PROJECT).bin\n- xf... | C | MIT License | hathach/tinyusb | Add mksunxi tool to make flashable image |
281,098 | 08.12.2021 13:39:27 | -28,800 | 527036b1f5a3f0aa3994f62e3ab18fa990a40cf8 | Initialize MMU if we are executing from DDR | [
{
"change_type": "MODIFY",
"old_path": "hw/mcu/allwinner/f1c100s/machine/start.S",
"new_path": "hw/mcu/allwinner/f1c100s/machine/start.S",
"diff": "@@ -111,37 +111,38 @@ reset:\nldmia r0!, {r2-r8, r10}\nstmia r1!, {r2-r8, r10}\n- /* Initial system clock, ddr add uart */\n+ /* Initial system clock, d... | C | MIT License | hathach/tinyusb | Initialize MMU if we are executing from DDR |
281,060 | 08.12.2021 09:34:29 | 0 | 5039a5e54c184d6cc281890b6f328caef116bce7 | Update code to implement changes from upstream master | [
{
"change_type": "MODIFY",
"old_path": "hw/bsp/brtmm90x/family.c",
"new_path": "hw/bsp/brtmm90x/family.c",
"diff": "@@ -63,7 +63,8 @@ void board_init(void)\n// Use sizeof to avoid pulling in strlen unnecessarily.\nboard_uart_write(WELCOME_MSG, sizeof(WELCOME_MSG));\n-#if 1\n+#if 0\n+ // Ethernet LED... | C | MIT License | hathach/tinyusb | Update code to implement changes from upstream master |
281,060 | 08.12.2021 10:03:33 | 0 | 45869958f6066fe4d195c62423cba2fec1886cbc | Add FT9xx to more examples which support High-Speed | [
{
"change_type": "MODIFY",
"old_path": "examples/device/hid_boot_interface/src/tusb_config.h",
"new_path": "examples/device/hid_boot_interface/src/tusb_config.h",
"diff": "// Default to Highspeed for MCU with internal HighSpeed PHY (can be port specific), otherwise FullSpeed\n#ifndef BOARD_DEVICE_RH... | C | MIT License | hathach/tinyusb | Add FT9xx to more examples which support High-Speed |
281,090 | 08.12.2021 12:33:30 | -7,200 | ae970ba2e2cc83881c52e66cd79fad5947e5e59e | Handle xfer events before closing EP | [
{
"change_type": "MODIFY",
"old_path": "src/portable/raspberrypi/rp2040/dcd_rp2040.c",
"new_path": "src/portable/raspberrypi/rp2040/dcd_rp2040.c",
"diff": "@@ -247,6 +247,14 @@ static void dcd_rp2040_irq(void)\nuint32_t const status = usb_hw->ints;\nuint32_t handled = 0;\n+ // xfer events are handle... | C | MIT License | hathach/tinyusb | Handle xfer events before closing EP |
281,060 | 08.12.2021 11:24:39 | 0 | bcbcdf87de303a4db1724de2a813b80f13d7d906 | Fix spelling mistakes and verify endpoint numbering. | [
{
"change_type": "MODIFY",
"old_path": "examples/device/cdc_msc/src/usb_descriptors.c",
"new_path": "examples/device/cdc_msc/src/usb_descriptors.c",
"diff": "@@ -118,7 +118,7 @@ enum\n#define EPNUM_MSC_IN 0x84\n#elif CFG_TUSB_MCU == OPT_MCU_FT90X || CFG_TUSB_MCU == OPT_MCU_FT93X\n- // FT9XX don't su... | C | MIT License | hathach/tinyusb | Fix spelling mistakes and verify endpoint numbering. |
281,060 | 08.12.2021 13:56:23 | 0 | 21fa7ea468cf34e6d775c92de580796d2c7eec4f | Correct path for using the ft90x-sdk submodule (BRTSG-FOSS / ft90x-sdk). Default to ft90x-sdk instead of pre-built library. | [
{
"change_type": "MODIFY",
"old_path": "hw/bsp/brtmm90x/family.mk",
"new_path": "hw/bsp/brtmm90x/family.mk",
"diff": "@@ -3,23 +3,24 @@ CROSS_COMPILE = ft32-elf-\nSKIP_NANOLIB = 1\n# Set to use FT90X prebuilt libraries.\n-FT90X_PREBUILT_LIBS = 1\n+FT90X_PREBUILT_LIBS = 0\nifeq ($(FT90X_PREBUILT_LIBS... | C | MIT License | hathach/tinyusb | Correct path for using the ft90x-sdk submodule (BRTSG-FOSS / ft90x-sdk). Default to ft90x-sdk instead of pre-built library. |
281,040 | 08.12.2021 14:31:44 | 28,800 | 59dcf2062f77137d0246944ed2279d30a4907627 | adding support for KUIIC board | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "hw/bsp/kuiic/K32L2B31xxxxA_flash.ld",
"diff": "+/*\n+** ###################################################################\n+** Processors: K32L2B31VFM0A\n+** K32L2B31VFT0A\n+** K32L2B31VLH0A\n+** K32L2B31VMP0A\n+**\n+** Compiler: GNU C Compile... | C | MIT License | hathach/tinyusb | adding support for KUIIC board |
281,060 | 15.12.2021 12:23:58 | 0 | 8d373b08879ac382c59dcbfb2d351d4af35e3d00 | Update midi_test endpoints and FT9xx code | [
{
"change_type": "MODIFY",
"old_path": "examples/device/midi_test/src/usb_descriptors.c",
"new_path": "examples/device/midi_test/src/usb_descriptors.c",
"diff": "@@ -83,9 +83,15 @@ enum\n#if CFG_TUSB_MCU == OPT_MCU_LPC175X_6X || CFG_TUSB_MCU == OPT_MCU_LPC177X_8X || CFG_TUSB_MCU == OPT_MCU_LPC40XX\n... | C | MIT License | hathach/tinyusb | Update midi_test endpoints and FT9xx code |
281,040 | 15.12.2021 14:18:27 | 28,800 | 469ecdd28c0968fc15fe1d69b943d325d9b89d67 | added KUIIC to supported boards list | [
{
"change_type": "MODIFY",
"old_path": "docs/reference/supported.rst",
"new_path": "docs/reference/supported.rst",
"diff": "@@ -245,6 +245,7 @@ Kinetis\n- `Freedom FRDM-KL25Z <https://www.nxp.com/design/development-boards/freedom-development-boards/mcu-boards/freedom-development-platform-for-kinetis... | C | MIT License | hathach/tinyusb | added KUIIC to supported boards list |
281,085 | 20.12.2021 15:43:16 | -28,800 | 9b2e78c91555f3e50baaf0df30ab18927a65cb65 | samd21: make uart_init() static
Avoids a linker conflict if programs are using the same function name. | [
{
"change_type": "MODIFY",
"old_path": "hw/bsp/samd21/family.c",
"new_path": "hw/bsp/samd21/family.c",
"diff": "@@ -47,7 +47,7 @@ void USB_Handler(void)\n//--------------------------------------------------------------------+\n// UART support\n//------------------------------------------------------... | C | MIT License | hathach/tinyusb | samd21: make uart_init() static
Avoids a linker conflict if programs are using the same function name. |
281,156 | 21.12.2021 18:24:05 | -3,600 | 6de423606fc9d512efb830b198c76f095a182a1c | nucleo-f439zi support | [
{
"change_type": "MODIFY",
"old_path": "docs/reference/supported.rst",
"new_path": "docs/reference/supported.rst",
"diff": "@@ -344,6 +344,7 @@ F4\n- `STM32 F411ve Discovery <https://www.st.com/en/evaluation-tools/32f411ediscovery.html>`__\n- `STM32 F412zg Discovery <https://www.st.com/en/evaluation... | C | MIT License | hathach/tinyusb | nucleo-f439zi support |
281,156 | 22.12.2021 22:56:53 | -7,200 | 103817b8b61115e67addfbd696b647f00e47cd30 | Fix typo
Oops. Made a typo in | [
{
"change_type": "MODIFY",
"old_path": "docs/reference/supported.rst",
"new_path": "docs/reference/supported.rst",
"diff": "@@ -344,7 +344,7 @@ F4\n- `STM32 F411ve Discovery <https://www.st.com/en/evaluation-tools/32f411ediscovery.html>`__\n- `STM32 F412zg Discovery <https://www.st.com/en/evaluation... | C | MIT License | hathach/tinyusb | Fix typo
Oops. Made a typo in 6de423606fc9d512efb830b198c76f095a182a1c |
281,158 | 27.12.2021 01:22:57 | -32,400 | a76799b085ae157243ed002f8cf11a2d3eb0c6b9 | Add hcd for Renesas RX | [
{
"change_type": "MODIFY",
"old_path": "hw/bsp/rx/boards/rx65n_target/rx65n_target.c",
"new_path": "hw/bsp/rx/boards/rx65n_target/rx65n_target.c",
"diff": "@@ -176,7 +176,12 @@ void INT_Excep_SCI5_RXI5(void)\n//--------------------------------------------------------------------+\nvoid INT_Excep_USB... | C | MIT License | hathach/tinyusb | Add hcd for Renesas RX |
281,158 | 27.12.2021 21:36:49 | -32,400 | 2c0fcc2fa7e9eec26211760c9d69dcd564e48f2a | Add statements for control VBUS | [
{
"change_type": "MODIFY",
"old_path": "src/portable/renesas/usba/hcd_usba.c",
"new_path": "src/portable/renesas/usba/hcd_usba.c",
"diff": "@@ -538,6 +538,9 @@ bool hcd_init(uint8_t rhport)\nUSB0.SYSCFG.BIT.DPRPU = 0;\nUSB0.SYSCFG.BIT.DRPD = 0;\nUSB0.SYSCFG.BIT.DCFM = 1;\n+\n+ USB0.DVSTCTR0.BIT.VBUS... | C | MIT License | hathach/tinyusb | Add statements for control VBUS |
281,158 | 27.12.2021 22:55:28 | -32,400 | 2b8b8a3a97e8e895409104689d16387967648c6d | Fix hcd_edpt_clear_stall | [
{
"change_type": "MODIFY",
"old_path": "src/portable/renesas/usba/hcd_usba.c",
"new_path": "src/portable/renesas/usba/hcd_usba.c",
"diff": "@@ -765,19 +765,17 @@ bool hcd_edpt_clear_stall(uint8_t dev_addr, uint8_t ep_addr)\n{\nuint16_t volatile *ctr = addr_to_pipectr(dev_addr, ep_addr);\nTU_ASSERT(c... | C | MIT License | hathach/tinyusb | Fix hcd_edpt_clear_stall |
281,102 | 26.12.2021 21:50:48 | -3,600 | 2f69649bb6a2dcd583b52005dc946e08580323fd | Add register file for Microchip PIC32MZ | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/portable/microchip/pic32mz/usbhs_registers.h",
"diff": "+/*******************************************************************************\n+* Copyright (C) 2019 Microchip Technology Inc. and its subsidiaries.\n+*\n+* Subject to your complian... | C | MIT License | hathach/tinyusb | Add register file for Microchip PIC32MZ |
281,118 | 02.01.2022 02:06:53 | 18,000 | 5f9e361f5cf2a8946b5bc4002dd7f5adac856f6c | [rt-thread] add rt-thread os in readme | [
{
"change_type": "MODIFY",
"old_path": "README.rst",
"new_path": "README.rst",
"diff": "@@ -90,6 +90,7 @@ TinyUSB is completely thread-safe by pushing all Interrupt Service Request (ISR)\n- **No OS**\n- **FreeRTOS**\n+- **RT-Thread** (https://github.com/tfx2001/tinyusb)\n- **Mynewt** Due to the newt... | C | MIT License | hathach/tinyusb | [rt-thread] add rt-thread os in readme |
281,078 | 06.01.2022 09:56:45 | -3,600 | 44406a8940a96bbe03e103a4f4895ec19183941f | Enable breakpoints for ARM8M (e.g. cortex-m33) | [
{
"change_type": "MODIFY",
"old_path": "src/common/tusb_verify.h",
"new_path": "src/common/tusb_verify.h",
"diff": "#define _MESS_FAILED() do {} while (0)\n#endif\n-// Halt CPU (breakpoint) when hitting error, only apply for Cortex M3, M4, M7\n-#if defined(__ARM_ARCH_7M__) || defined (__ARM_ARCH_7EM... | C | MIT License | hathach/tinyusb | Enable breakpoints for ARM8M (e.g. cortex-m33) |
281,090 | 07.01.2022 15:02:52 | -7,200 | a284e438f1952315631f354dee2b30b264afb324 | Disable feedback format correction by default | [
{
"change_type": "MODIFY",
"old_path": "src/class/audio/audio_device.c",
"new_path": "src/class/audio/audio_device.c",
"diff": "@@ -2247,14 +2247,12 @@ static void audiod_parse_for_AS_params(audiod_function_t* audio, uint8_t const *\n#if CFG_TUD_AUDIO_ENABLE_FEEDBACK_EP\n-// Input value feedback has... | C | MIT License | hathach/tinyusb | Disable feedback format correction by default #1234 |
281,102 | 26.12.2021 22:37:27 | -3,600 | 340309561dbf10f17798dc74731e9804e892e0f4 | Add driver for PIC32MZ MCUs
Device-only driver for PIC32MZ MCUs. | [
{
"change_type": "MODIFY",
"old_path": "src/device/dcd_attr.h",
"new_path": "src/device/dcd_attr.h",
"diff": "#define DCD_ATTR_ENDPOINT_MAX 10\n#define DCD_ATTR_ENDPOINT_EXCLUSIVE_NUMBER\n+#elif TU_CHECK_MCU(OPT_MCU_PIC32MZ)\n+ #define DCD_ATTR_ENDPOINT_MAX 8\n+ #define DCD_ATTR_ENDPOINT_EXCLUSIVE_N... | C | MIT License | hathach/tinyusb | Add driver for PIC32MZ MCUs
Device-only driver for PIC32MZ MCUs. |
281,102 | 26.12.2021 22:43:45 | -3,600 | fff4a248bea532f34b5cc27dfc64b7f85c5bef73 | Add BSPs for Microchip PIC32MZ MCUs
Two boards from Olimex are added:
olimex_hmz144 with PIC32MZ2048EFM144
olimex_emz64.c with PIC32MZ2048EFH064
Both can be programmed with Segger JLINK probe using ICSP
interface. (JTAG not tested but could also work but header
is not mounted). | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "hw/bsp/pic32mz/boards/olimex_emz64/board.mk",
"diff": "+JLINK_DEVICE=PIC32MZ2048EFH064\n+JLINK_IF=ICSP\n+\n+CFLAGS += \\\n+ -mprocessor=32MZ2048EFH064 \\\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "hw/bsp/pic32mz... | C | MIT License | hathach/tinyusb | Add BSPs for Microchip PIC32MZ MCUs
Two boards from Olimex are added:
olimex_hmz144 with PIC32MZ2048EFM144
olimex_emz64.c with PIC32MZ2048EFH064
Both can be programmed with Segger JLINK probe using ICSP
interface. (JTAG not tested but could also work but header
is not mounted). |
281,158 | 13.01.2022 00:24:56 | -32,400 | c5d825450ab35f11bf9370b5cacc21706d3d0780 | Fix dwFrameIntervalStep and dwMaxFrameInterval
dwMaxFrameInterval minus dwMinFrameInterval should be evenly divisible by
dwFrameIntervalStep. | [
{
"change_type": "MODIFY",
"old_path": "examples/device/video_capture/src/usb_descriptors.h",
"new_path": "examples/device/video_capture/src/usb_descriptors.h",
"diff": "@@ -103,7 +103,7 @@ enum {\nTUD_VIDEO_DESC_CS_VS_FRM_UNCOMPR_CONT(/*bFrameIndex */1, 0, _width, _height, \\\n_width * _height * 16... | C | MIT License | hathach/tinyusb | Fix dwFrameIntervalStep and dwMaxFrameInterval
dwMaxFrameInterval minus dwMinFrameInterval should be evenly divisible by
dwFrameIntervalStep. |
281,166 | 13.01.2022 13:42:28 | 0 | 3db9cf354795603dd815aa4b85995f52bf9fc530 | Fix family_support.cmake to use new skip.txt and only.txt files for skipping mcus | [
{
"change_type": "MODIFY",
"old_path": "hw/bsp/family_support.cmake",
"new_path": "hw/bsp/family_support.cmake",
"diff": "@@ -11,23 +11,52 @@ if (NOT TARGET _family_support_marker)\nfunction(family_filter RESULT DIR)\nget_filename_component(DIR ${DIR} ABSOLUTE BASE_DIR ${CMAKE_CURRENT_SOURCE_DIR})\n... | C | MIT License | hathach/tinyusb | Fix family_support.cmake to use new skip.txt and only.txt files for skipping mcus |
281,102 | 16.01.2022 16:13:21 | -3,600 | 168c7095e849e448cb7d3b755ea3b6e236f502ed | pic32mz: Fix remote_wakeup without OS
Remote wakeup requires 10ms of delay when RESUME bit
is toggled.
It was covered for OS build.
For non-OS build simple delay based on board_millis() is
used to wait required amount of time.
Without this remote wakup may not work. | [
{
"change_type": "MODIFY",
"old_path": "src/portable/microchip/pic32mz/dcd_pic32mz.c",
"new_path": "src/portable/microchip/pic32mz/dcd_pic32mz.c",
"diff": "@@ -163,6 +163,10 @@ void dcd_remote_wakeup(uint8_t rhport)\nUSB_REGS->POWERbits.RESUME = 1;\n#if CFG_TUSB_OS != OPT_OS_NONE\nosal_task_delay(10... | C | MIT License | hathach/tinyusb | pic32mz: Fix remote_wakeup without OS
Remote wakeup requires 10ms of delay when RESUME bit
is toggled.
It was covered for OS build.
For non-OS build simple delay based on board_millis() is
used to wait required amount of time.
Without this remote wakup may not work. |
281,102 | 16.01.2022 16:16:00 | -3,600 | 45d56915d157b4c38949a148391dcd10c19b50a5 | pic32/olimex boards: Fix active state of button
Buttons for olimex_emz64 and olimex_hmz144 should be set
to active low in board configuration. | [
{
"change_type": "MODIFY",
"old_path": "hw/bsp/pic32mz/boards/olimex_emz64/olimex_emz64.c",
"new_path": "hw/bsp/pic32mz/boards/olimex_emz64/olimex_emz64.c",
"diff": "@@ -63,7 +63,7 @@ void led_init(void)\n// RB8 - LED\n// ANASELB RB8 not analog\nANSELBCLR = TU_BIT(8);\n- // TRISH RH2 input\n+ // TRI... | C | MIT License | hathach/tinyusb | pic32/olimex boards: Fix active state of button
Buttons for olimex_emz64 and olimex_hmz144 should be set
to active low in board configuration. |
281,165 | 19.01.2022 09:00:32 | -3,600 | af9a3f646cecd8895f488a8bc3b3c39838b55296 | fix idfgh-6508: return type in tu_fifo_peek_n() | [
{
"change_type": "MODIFY",
"old_path": "src/common/tusb_fifo.c",
"new_path": "src/common/tusb_fifo.c",
"diff": "@@ -716,7 +716,7 @@ bool tu_fifo_peek(tu_fifo_t* f, void * p_buffer)\nuint16_t tu_fifo_peek_n(tu_fifo_t* f, void * p_buffer, uint16_t n)\n{\n_ff_lock(f->mutex_rd);\n- bool ret = _tu_fifo_p... | C | MIT License | hathach/tinyusb | fix idfgh-6508: return type in tu_fifo_peek_n()
https://github.com/espressif/esp-idf/issues/8161 |
281,063 | 24.01.2022 20:56:13 | 0 | a80f23711eefb8d59f76bc70183705d7c368de64 | Some platforms require SDKs and use of cmake | [
{
"change_type": "MODIFY",
"old_path": "docs/reference/getting_started.rst",
"new_path": "docs/reference/getting_started.rst",
"diff": "@@ -52,6 +52,8 @@ Some TinyUSB examples also requires external submodule libraries in ``/lib`` suc\nIn addition, MCU driver submodule is also needed to provide low-... | C | MIT License | hathach/tinyusb | Some platforms require SDKs and use of cmake |
281,118 | 26.01.2022 20:08:34 | 18,000 | 6085999e2be6974bfb59475213331ba21a7b5872 | add rt-thread's tinyusb repo address | [
{
"change_type": "MODIFY",
"old_path": "README.rst",
"new_path": "README.rst",
"diff": "@@ -91,7 +91,7 @@ TinyUSB is completely thread-safe by pushing all Interrupt Service Request (ISR)\n- **No OS**\n- **FreeRTOS**\n-- `RT-Thread <https://github.com/RT-Thread/rt-thread>`_\n+- `RT-Thread <https://gi... | C | MIT License | hathach/tinyusb | add rt-thread's tinyusb repo address |
281,158 | 21.11.2021 16:17:50 | -32,400 | a4bc6075cef1685ecc896730e704400b35e2392a | Add HCD functions for KL25Z | [
{
"change_type": "MODIFY",
"old_path": "hw/bsp/frdm_kl25z/frdm_kl25z.c",
"new_path": "hw/bsp/frdm_kl25z/frdm_kl25z.c",
"diff": "//--------------------------------------------------------------------+\nvoid USB0_IRQHandler(void)\n{\n+#if TUSB_OPT_HOST_ENABLED\n+ tuh_int_handler(0);\n+#endif\n+#if TUS... | C | MIT License | hathach/tinyusb | Add HCD functions for KL25Z |
281,158 | 29.12.2021 21:45:32 | -32,400 | cdab869472e18d393d43769c8a087ff1e69deb02 | Fix handling control transfer | [
{
"change_type": "MODIFY",
"old_path": "src/portable/nxp/khci/hcd_khci.c",
"new_path": "src/portable/nxp/khci/hcd_khci.c",
"diff": "@@ -88,10 +88,9 @@ typedef struct TU_ATTR_PACKED\nunion {\nuint32_t state;\nstruct {\n- uint32_t max_packet_size :11;\n- uint32_t : 5;\n+ uint32_t pipenum:16;\nuint32_t... | C | MIT License | hathach/tinyusb | Fix handling control transfer |
281,158 | 10.01.2022 23:50:32 | -32,400 | cc06a3585e9f499bd2412f4f88e5d785e8e1a23f | Add handling for NAK response | [
{
"change_type": "MODIFY",
"old_path": "src/portable/nxp/khci/hcd_khci.c",
"new_path": "src/portable/nxp/khci/hcd_khci.c",
"diff": "@@ -93,12 +93,11 @@ typedef struct TU_ATTR_PACKED\nuint32_t : 0;\n};\n};\n+ uint8_t *buffer;\nuint16_t length;\nuint16_t remaining;\n} endpoint_state_t;\n-TU_VERIFY_STA... | C | MIT License | hathach/tinyusb | Add handling for NAK response |
281,158 | 27.01.2022 22:25:36 | -32,400 | 60a0be82da93b653d55b9a62b0d80cd58f47a869 | Change hcd_edpt_xfer to send at the next SOF | [
{
"change_type": "MODIFY",
"old_path": "src/portable/nxp/khci/hcd_khci.c",
"new_path": "src/portable/nxp/khci/hcd_khci.c",
"diff": "@@ -268,7 +268,7 @@ static void suspend_transfer(int pipenum, buffer_descriptor_t *bd)\n{\npipe_state_t *pipe = &_hcd.pipe[pipenum];\npipe->buffer = bd->addr;\n- pipe->... | C | MIT License | hathach/tinyusb | Change hcd_edpt_xfer to send at the next SOF |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.