author int64 658 755k | date stringdate 2012-06-12 08:34:29 2024-07-22 14:51:21 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods listlengths 1 16 | language stringclasses 20
values | license stringclasses 3
values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
419,672 | 24.03.2017 17:42:28 | 14,400 | 3cdfb0862b857f4894098609854962bce61fec8b | Turn local path into a single string | [
{
"change_type": "MODIFY",
"old_path": "fuel/config_parser.py",
"new_path": "fuel/config_parser.py",
"diff": "@@ -197,7 +197,7 @@ config = Configuration()\n# Define configuration options\nconfig.add_config('data_path', type_=multiple_paths_parser,\nenv_var='FUEL_DATA_PATH')\n-config.add_config('loca... | Python | MIT License | mila-iqia/fuel | Turn local path into a single string |
419,672 | 24.03.2017 17:50:12 | 14,400 | 68ff4ea9950d8f3eb2775cd641cb0057fc8fc6dd | Infer remote directory from filename | [
{
"change_type": "MODIFY",
"old_path": "fuel/utils/cache.py",
"new_path": "fuel/utils/cache.py",
"diff": "@@ -48,9 +48,8 @@ def cache_file(filename):\n\"\"\"\ndataset_local_dir = config.local_data_path\n- dataset_remote_dirs = config.data_path\n- if any([remote_dir == \"\" for remote_dir in dataset_... | Python | MIT License | mila-iqia/fuel | Infer remote directory from filename |
419,672 | 29.03.2017 14:31:36 | 14,400 | 0a4d1a0a67f1e34580851313d42fb93025856499 | Add documentaiton and logging for caching | [
{
"change_type": "MODIFY",
"old_path": "docs/api/utils.rst",
"new_path": "docs/api/utils.rst",
"diff": "@@ -5,3 +5,11 @@ Utilities\n:members:\n:undoc-members:\n:show-inheritance:\n+\n+Caching\n+-------\n+\n+.. automodule:: fuel.utils.cache\n+:members:\n+ :undoc-members:\n+ :show-inheritance:\n"
},... | Python | MIT License | mila-iqia/fuel | Add documentaiton and logging for caching |
419,672 | 29.03.2017 14:35:10 | 14,400 | 896b484f9749715f68b5db7a6f762cad7019ffd1 | Use uft-8 encoding | [
{
"change_type": "MODIFY",
"old_path": "fuel/utils/cache.py",
"new_path": "fuel/utils/cache.py",
"diff": "+# -*- coding: utf-8 -*-\n\"\"\"Dataset preloading tool\nThis file provides the ability to make a local cache of a dataset or\n"
},
{
"change_type": "MODIFY",
"old_path": "fuel/utils... | Python | MIT License | mila-iqia/fuel | Use uft-8 encoding |
419,669 | 28.08.2017 17:05:48 | 14,400 | 92889ae946dfd2c4c336998ec3f540f34df8b772 | Fixed flake8 linter failures | [
{
"change_type": "MODIFY",
"old_path": "fuel/utils/cache.py",
"new_path": "fuel/utils/cache.py",
"diff": "@@ -31,8 +31,8 @@ modification, are permitted provided that the following conditions are met:\nand/or other materials provided with the distribution.\n3. Neither the name of the copyright holder... | Python | MIT License | mila-iqia/fuel | Fixed flake8 linter failures |
419,669 | 28.08.2017 17:23:46 | 14,400 | d3ded3e56af31fb3dbf664b07aa9507fea3bc7db | Stylistic fixes to appease the OCD linter (pep257) | [
{
"change_type": "MODIFY",
"old_path": "fuel/utils/cache.py",
"new_path": "fuel/utils/cache.py",
"diff": "# -*- coding: utf-8 -*-\n-\"\"\"Dataset preloading tool\n+\"\"\"Dataset preloading tool.\nThis file provides the ability to make a local cache of a dataset or\npart of it. It is meant to help in... | Python | MIT License | mila-iqia/fuel | Stylistic fixes to appease the OCD linter (pep257) |
419,669 | 29.08.2017 15:44:58 | 14,400 | da1105fb959adba67624f2d049cd2dda3eaf8742 | Added default value for local_data_path
Caching is disabled by default, and Fuel will not complain if
this variable is not set. | [
{
"change_type": "MODIFY",
"old_path": "fuel/config_parser.py",
"new_path": "fuel/config_parser.py",
"diff": "@@ -202,7 +202,7 @@ config = Configuration()\nconfig.add_config('data_path', type_=multiple_paths_parser,\nenv_var='FUEL_DATA_PATH')\nconfig.add_config('local_data_path', type_=str,\n- env_v... | Python | MIT License | mila-iqia/fuel | Added default value for local_data_path
Caching is disabled by default, and Fuel will not complain if
this variable is not set. |
419,669 | 29.08.2017 16:19:57 | 14,400 | 7c316f7f777bec99fcf19b775a6ad795c4b0cbf7 | Added info about caching to the documentation | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "docs/caching.rst",
"diff": "+Caching datasets locally\n+========================\n+\n+In some use cases, it may be desirable to set Fuel's ``data_path`` to\n+point to a shared network drive. For example, when configuring multiple\n+machines in a... | Python | MIT License | mila-iqia/fuel | Added info about caching to the documentation |
419,669 | 30.08.2017 13:08:23 | 14,400 | 08a7b2529b3b318b54e21597ecd96bb055a7e71f | Updated docs wrt caching | [
{
"change_type": "MODIFY",
"old_path": "docs/caching.rst",
"new_path": "docs/caching.rst",
"diff": "@@ -16,3 +16,7 @@ This variable can also be set through an environment variable as follows:\n.. code-block:: bash\n$ export FUEL_LOCAL_DATA_PATH=\"/home/username/my_local_cache\"\n+\n+Please note that... | Python | MIT License | mila-iqia/fuel | Updated docs wrt caching |
419,669 | 30.08.2017 16:49:56 | 14,400 | a04d1019a0cf30da9e661f80a9421ea9b408ab06 | Stylistic changes to pass pep257 linter checks | [
{
"change_type": "MODIFY",
"old_path": "fuel/utils/cache.py",
"new_path": "fuel/utils/cache.py",
"diff": "# -*- coding: utf-8 -*-\n-\n+#\n# Some of code below is taken from\n# [pylearn2](https://github.com/lisa-lab/pylearn2) framework developed under\n# the copyright:\n# CONTRACT, STRICT LIABILITY, ... | Python | MIT License | mila-iqia/fuel | Stylistic changes to pass pep257 linter checks |
419,669 | 01.09.2017 14:47:49 | 14,400 | 384e81ae16d16712d1cccf4ad2fcd4418952fd92 | Fixed caching autodoc (failed to build). Added link to cache_file. | [
{
"change_type": "MODIFY",
"old_path": "docs/caching.rst",
"new_path": "docs/caching.rst",
"diff": "@@ -19,4 +19,7 @@ This variable can also be set through an environment variable as follows:\nPlease note that currently, caching is only implemented in the ``H5PyDataset``.\nIn order to add caching to... | Python | MIT License | mila-iqia/fuel | Fixed caching autodoc (failed to build). Added link to cache_file. |
419,669 | 01.09.2017 16:45:23 | 14,400 | bf707f09b09a139e7636cd3be7e72dab2ecc0c38 | Updated FUEL_LOCAL_DATA_PATH in docs. | [
{
"change_type": "MODIFY",
"old_path": "docs/caching.rst",
"new_path": "docs/caching.rst",
"diff": "@@ -15,7 +15,7 @@ This variable can also be set through an environment variable as follows:\n.. code-block:: bash\n- $ export FUEL_LOCAL_DATA_PATH=\"/home/username/my_local_cache\"\n+ $ export FUEL_LO... | Python | MIT License | mila-iqia/fuel | Updated FUEL_LOCAL_DATA_PATH in docs. |
419,669 | 01.09.2017 17:02:32 | 14,400 | 2af256cd651c7f652dc527b0269f0eb9783f1e62 | Linked to cache_file method with autodoc syntax | [
{
"change_type": "MODIFY",
"old_path": "docs/caching.rst",
"new_path": "docs/caching.rst",
"diff": "@@ -19,7 +19,4 @@ This variable can also be set through an environment variable as follows:\nPlease note that currently, caching is only implemented in the ``H5PyDataset``.\nIn order to add caching to... | Python | MIT License | mila-iqia/fuel | Linked to cache_file method with autodoc syntax |
419,670 | 28.08.2018 13:20:00 | 14,400 | e2d28d82cd96882fa1dbdfa646c89aaf1fd6d4ac | Update requirements, test with python 3.5 | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -17,14 +17,17 @@ before_install:\n# Setup Python environment with BLAS libraries\n- |\nif [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then\n- wget -q http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64... | Python | MIT License | mila-iqia/fuel | Update requirements, test with python 3.5 |
419,670 | 28.08.2018 13:27:38 | 14,400 | c85566a98bd946d225ee4a0c662d10bcbf512f1d | Make scrutinizer happy with newer pep8 version | [
{
"change_type": "MODIFY",
"old_path": "doctests/__init__.py",
"new_path": "doctests/__init__.py",
"diff": "@@ -49,7 +49,7 @@ def load_tests(loader, tests, ignore):\nmodule=importlib.import_module(module), setUp=setup,\noptionflags=doctest.IGNORE_EXCEPTION_DETAIL,\nchecker=Py23DocChecker()))\n- exce... | Python | MIT License | mila-iqia/fuel | Make scrutinizer happy with newer pep8 version |
281,127 | 03.09.2020 16:40:53 | -7,200 | d9eaa54e14775ebcf6a78cb84c354e69e57903d3 | Remove connected check for write flushing | [
{
"change_type": "MODIFY",
"old_path": "src/class/cdc/cdc_device.c",
"new_path": "src/class/cdc/cdc_device.c",
"diff": "@@ -165,11 +165,7 @@ uint32_t tud_cdc_n_write_flush (uint8_t itf)\nTU_VERIFY( !usbd_edpt_busy(TUD_OPT_RHPORT, p_cdc->ep_in), 0 );\nuint16_t count = tu_fifo_read_n(&p_cdc->tx_ff, p_... | C | MIT License | hathach/tinyusb | Remove connected check for write flushing |
281,127 | 03.09.2020 17:03:13 | -7,200 | fd6cf9010b522019a4434ebd02fb447b567e7131 | Turn transmit fifo overwritable in no DTR mode | [
{
"change_type": "MODIFY",
"old_path": "src/class/cdc/cdc_device.c",
"new_path": "src/class/cdc/cdc_device.c",
"diff": "@@ -197,7 +197,7 @@ void cdcd_init(void)\n// config fifo\ntu_fifo_config(&p_cdc->rx_ff, p_cdc->rx_ff_buf, TU_ARRAY_SIZE(p_cdc->rx_ff_buf), 1, false);\n- tu_fifo_config(&p_cdc->tx_f... | C | MIT License | hathach/tinyusb | Turn transmit fifo overwritable in no DTR mode |
281,127 | 03.09.2020 17:21:32 | -7,200 | 4071e490e259de5bf2891c9893ab7965b5be3d2e | New function to modify fifo overwritability | [
{
"change_type": "MODIFY",
"old_path": "src/class/cdc/cdc_device.c",
"new_path": "src/class/cdc/cdc_device.c",
"diff": "@@ -356,7 +356,7 @@ bool cdcd_control_request(uint8_t rhport, tusb_control_request_t const * request\np_cdc->line_state = (uint8_t) request->wValue;\n// Disable fifo overwriting if... | C | MIT License | hathach/tinyusb | New function to modify fifo overwritability |
281,127 | 04.09.2020 15:40:23 | -7,200 | 9cc22b635c5c4b9426b1530c3623b899dc652302 | Add functionality to abort an ongoing transfer | [
{
"change_type": "MODIFY",
"old_path": "src/class/cdc/cdc_device.c",
"new_path": "src/class/cdc/cdc_device.c",
"diff": "@@ -353,6 +353,16 @@ bool cdcd_control_request(uint8_t rhport, tusb_control_request_t const * request\nbool const dtr = tu_bit_test(request->wValue, 0);\nbool const rts = tu_bit_te... | C | MIT License | hathach/tinyusb | Add functionality to abort an ongoing transfer |
281,127 | 04.09.2020 17:25:32 | -7,200 | e09ebea7b99e3385bc1b1d326923b0a36003275d | Remove tud_cdc_connected check from examples | [
{
"change_type": "MODIFY",
"old_path": "examples/device/cdc_dual_ports/src/main.c",
"new_path": "examples/device/cdc_dual_ports/src/main.c",
"diff": "@@ -82,8 +82,6 @@ static void cdc_task(void)\nuint8_t itf;\nfor (itf = 0; itf < CFG_TUD_CDC; itf++)\n- {\n- if ( tud_cdc_n_connected(itf) )\n{\nif ( t... | C | MIT License | hathach/tinyusb | Remove tud_cdc_connected check from examples |
281,127 | 10.09.2020 13:36:07 | -7,200 | b15c209805978dc115fe38c72b3f7c235aed42ec | Set new define because of build failure | [
{
"change_type": "MODIFY",
"old_path": "src/class/cdc/cdc_device.h",
"new_path": "src/class/cdc/cdc_device.h",
"diff": "#define CFG_TUD_CDC_EP_BUFSIZE (TUD_OPT_HIGH_SPEED ? 512 : 64)\n#endif\n+#ifndef CFG_TUD_CDC_CLEAR_AT_CONNECTION\n+ #define CFG_TUD_CDC_CLEAR_AT_CONNECTION 0\n+#endif\n+\n#ifdef __... | C | MIT License | hathach/tinyusb | Set new define because of build failure |
281,106 | 31.10.2020 11:03:55 | 21,600 | bb0df2740e251ce1046afcfdb2cad2657c881d0c | Add CDC NCM driver | [
{
"change_type": "MODIFY",
"old_path": "src/class/cdc/cdc.h",
"new_path": "src/class/cdc/cdc.h",
"diff": "@@ -69,7 +69,8 @@ typedef enum\nCDC_COMM_SUBCLASS_DEVICE_MANAGEMENT , ///< Device Management [USBWMC1.1]\nCDC_COMM_SUBCLASS_MOBILE_DIRECT_LINE_MODEL , ///< Mobile Direct Line Model [USBWMC1.1]\n... | C | MIT License | hathach/tinyusb | Add CDC NCM driver |
281,106 | 04.11.2020 21:18:44 | 25,200 | a3d6e8fc52db0d1272290a7d5cb7963909254ad5 | Add default for CFG_TUD_NCM | [
{
"change_type": "MODIFY",
"old_path": "src/tusb_option.h",
"new_path": "src/tusb_option.h",
"diff": "#define CFG_TUD_BTH 0\n#endif\n+#ifndef CFG_TUD_NCM\n+ #define CFG_TUD_NCM 0\n+#endif\n+\n//--------------------------------------------------------------------\n// HOST OPTIONS\n//-----------------... | C | MIT License | hathach/tinyusb | Add default for CFG_TUD_NCM |
281,106 | 04.11.2020 23:53:03 | 25,200 | a3fdcbdf160a7780240e8b669826a917dce877f0 | Just leave the endpoints open, instead of closing/reopening | [
{
"change_type": "MODIFY",
"old_path": "src/class/cdc/cdc_ncm_device.c",
"new_path": "src/class/cdc/cdc_ncm_device.c",
"diff": "@@ -51,11 +51,6 @@ typedef struct\nuint8_t ep_in;\nuint8_t ep_out;\n- // Endpoint descriptor use to open/close when receving SetInterface\n- // TODO since configuration des... | C | MIT License | hathach/tinyusb | Just leave the endpoints open, instead of closing/reopening |
281,106 | 05.11.2020 10:18:29 | 25,200 | 377f8ce76f98ab199d808a263023432649266372 | Log on full NTBs | [
{
"change_type": "MODIFY",
"old_path": "src/class/cdc/cdc_ncm_device.c",
"new_path": "src/class/cdc/cdc_ncm_device.c",
"diff": "@@ -447,11 +447,13 @@ bool tud_ncm_xmit(void *arg, uint16_t size, void (*flatten)(void *, uint8_t *, u\nTU_VERIFY(ncm_interface.itf_data_alt == 1);\nif (ncm_interface.datag... | C | MIT License | hathach/tinyusb | Log on full NTBs |
281,106 | 05.11.2020 18:14:56 | 25,200 | 226efdcec0d880feb4af3995129b85fae9b8ddb8 | Reduce excessive poll rate on interrupt endpoint | [
{
"change_type": "MODIFY",
"old_path": "src/device/usbd.h",
"new_path": "src/device/usbd.h",
"diff": "@@ -693,7 +693,7 @@ TU_ATTR_WEAK bool tud_vendor_control_complete_cb(uint8_t rhport, tusb_control_re\n/* CDC-ECM Functional Descriptor */\\\n6, TUSB_DESC_CS_INTERFACE, CDC_FUNC_DESC_NCM, U16_TO_U8S_... | C | MIT License | hathach/tinyusb | Reduce excessive poll rate on interrupt endpoint |
281,127 | 18.11.2020 09:42:50 | -3,600 | 54e29e9ff451d5e30eb59d0411adbe5d4993c59b | Implementation of the discussed changes
remove usbd_edpt_xfer_abort
rename tu_fifo_change_mode to tu_fifo_set_mode
remove CFG_TUD_CDC_CLEAR_AT_CONNECTION definition
remove auto fifo clear at connection event
add tud_cdc_n_write_clear function | [
{
"change_type": "MODIFY",
"old_path": "src/class/cdc/cdc_device.c",
"new_path": "src/class/cdc/cdc_device.c",
"diff": "@@ -207,6 +207,10 @@ uint32_t tud_cdc_n_write_available (uint8_t itf)\nreturn tu_fifo_remaining(&_cdcd_itf[itf].tx_ff);\n}\n+bool tud_cdc_n_write_clear (uint8_t itf)\n+{\n+ return ... | C | MIT License | hathach/tinyusb | Implementation of the discussed changes
- remove usbd_edpt_xfer_abort
- rename tu_fifo_change_mode to tu_fifo_set_mode
- remove CFG_TUD_CDC_CLEAR_AT_CONNECTION definition
- remove auto fifo clear at connection event
- add tud_cdc_n_write_clear function |
281,127 | 18.11.2020 09:47:39 | -3,600 | e7069da7eb41c8af6801b1404acd81d745eb8b83 | Reset CDC examples to original state | [
{
"change_type": "MODIFY",
"old_path": "examples/device/cdc_dual_ports/src/main.c",
"new_path": "examples/device/cdc_dual_ports/src/main.c",
"diff": "@@ -82,6 +82,8 @@ static void cdc_task(void)\nuint8_t itf;\nfor (itf = 0; itf < CFG_TUD_CDC; itf++)\n+ {\n+ if ( tud_cdc_n_connected(itf) )\n{\nif ( t... | C | MIT License | hathach/tinyusb | Reset CDC examples to original state |
281,127 | 18.11.2020 10:16:32 | -3,600 | 6a72cc5d483142a6d7120fb569a6a1225d8a04b0 | Changes to CDC example code:
auto flush welcome message at connection event
provide information to the user if the terminal did not set DTR | [
{
"change_type": "MODIFY",
"old_path": "examples/device/cdc_msc/src/main.c",
"new_path": "examples/device/cdc_msc/src/main.c",
"diff": "@@ -137,6 +137,7 @@ void tud_cdc_line_state_cb(uint8_t itf, bool dtr, bool rts)\n{\n// print initial message when connected\ntud_cdc_write_str(\"\\r\\nTinyUSB CDC M... | C | MIT License | hathach/tinyusb | Changes to CDC example code:
- auto flush welcome message at connection event
- provide information to the user if the terminal did not set DTR |
281,127 | 18.11.2020 11:12:06 | -3,600 | 339b1a772350321d0f9d4f84e93c5360247e3f17 | Remove dcd_edpt_xfer_abort from DCD header | [
{
"change_type": "MODIFY",
"old_path": "src/device/dcd.h",
"new_path": "src/device/dcd.h",
"diff": "@@ -133,9 +133,6 @@ void dcd_edpt_close (uint8_t rhport, uint8_t ep_addr) TU_ATTR_WEAK;\n// Submit a transfer, When complete dcd_event_xfer_complete() is invoked to notify the stack\nbool dcd_edpt_xfe... | C | MIT License | hathach/tinyusb | Remove dcd_edpt_xfer_abort from DCD header |
281,158 | 27.11.2020 00:49:25 | -32,400 | 2bbfc56bd8b52c9d5f6cdcfb1ab76cd868ddacd7 | added support for frdm_kl25z | [
{
"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\n+ CFG_TUSB_MCU == OPT_MCU_LPC55XX || CFG_TUSB_MCU == OPT_M... | C | MIT License | hathach/tinyusb | added support for frdm_kl25z |
281,039 | 20.12.2020 23:06:32 | -3,600 | b3c0d417ef2b2d2ff3d00b7cdf623436ec7abf97 | Fix error if "Required Prototype" is selected. | [
{
"change_type": "MODIFY",
"old_path": "src/class/msc/msc_device.c",
"new_path": "src/class/msc/msc_device.c",
"diff": "@@ -71,6 +71,7 @@ CFG_TUSB_MEM_SECTION CFG_TUSB_MEM_ALIGN static uint8_t _mscd_buf[CFG_TUD_MSC_EP_\n//--------------------------------------------------------------------+\n// INTE... | C | MIT License | hathach/tinyusb | Fix error if "Required Prototype" is selected.
Signed-off-by: HiFiPhile <admin@hifiphile.com> |
281,062 | 23.12.2020 12:52:51 | -7,200 | bdee6397ebf87ba83043fec15ca03e3542deb7a3 | Added MSC read10 and write10 function | [
{
"change_type": "MODIFY",
"old_path": "src/class/msc/msc_host.c",
"new_path": "src/class/msc/msc_host.c",
"diff": "@@ -192,44 +192,46 @@ bool tuh_msc_request_sense(uint8_t dev_addr, uint8_t lun, void *resposne, tuh_ms\nreturn tuh_msc_scsi_command(dev_addr, &cbw, resposne, complete_cb);\n}\n-#if 0\n... | C | MIT License | hathach/tinyusb | Added MSC read10 and write10 function |
281,158 | 23.12.2020 20:32:29 | -32,400 | 2737166d2be7988dc3d52d34ceb7fcc6a177bd47 | fixed wrong direction to enable EP in dcd_edpt_open.
fixed incorrect handling of STALL other than EP0
convert tabs to spaces
removed unused symbols | [
{
"change_type": "MODIFY",
"old_path": "src/portable/nxp/khci/dcd_khci.c",
"new_path": "src/portable/nxp/khci/dcd_khci.c",
"diff": "@@ -49,25 +49,24 @@ typedef struct TU_ATTR_PACKED\nuint32_t head;\nstruct {\nunion {\n- uint16_t ctl;\nstruct {\n- uint16_t zeros : 2;\n+ uint16_t : 2;\nuint16_t tok_pi... | C | MIT License | hathach/tinyusb | fixed wrong direction to enable EP in dcd_edpt_open.
fixed incorrect handling of STALL other than EP0
convert tabs to spaces
removed unused symbols |
281,039 | 17.12.2020 22:20:56 | -3,600 | baa5417f3eaf3f05f414c7d6ac31e08ac7b7977a | Fix IAR error on memcpy and warnings. | [
{
"change_type": "MODIFY",
"old_path": "src/common/tusb_fifo.c",
"new_path": "src/common/tusb_fifo.c",
"diff": "#include \"osal/osal.h\"\n#include \"tusb_fifo.h\"\n+// Supress IAR warning\n+// Warning[Pa082]: undefined behavior: the order of volatile accesses is undefined in this statement\n+#if def... | C | MIT License | hathach/tinyusb | Fix IAR error on memcpy and warnings.
Signed-off-by: MasterPhi <admin@hifiphile.com> |
281,040 | 02.01.2021 22:53:15 | 0 | 56acdf67ba8c119f19d3c7fc2650e76f2873f091 | adding double_m33_express board | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "hw/bsp/double_m33_express/LPC55S69_cm33_core0_uf2.ld",
"diff": "+/*\n+** ###################################################################\n+** Processors: LPC55S69JBD100_cm33_core0\n+** LPC55S69JBD64_cm33_core0\n+** LPC55S69JEV98_cm33_core0\n... | C | MIT License | hathach/tinyusb | adding double_m33_express board |
281,097 | 03.01.2021 16:11:56 | -3,600 | 56c47188d8955686f994e2809b8986bf45efd060 | Rework USB FIFO allocation scheme and allow RX FIFO size reduction | [
{
"change_type": "MODIFY",
"old_path": "src/portable/st/synopsys/dcd_synopsys.c",
"new_path": "src/portable/st/synopsys/dcd_synopsys.c",
"diff": "@@ -139,15 +139,6 @@ typedef struct {\nuint8_t interval;\n} xfer_ctl_t;\n-// EP size and transfer type report\n-typedef struct TU_ATTR_PACKED {\n- // The ... | C | MIT License | hathach/tinyusb | Rework USB FIFO allocation scheme and allow RX FIFO size reduction |
281,040 | 03.01.2021 18:11:13 | 0 | 06642910f4e1d5c333d0a18388428e1799d230e9 | neopixel driver one byte at a time non-func | [
{
"change_type": "MODIFY",
"old_path": "hw/bsp/double_m33_express/board.mk",
"new_path": "hw/bsp/double_m33_express/board.mk",
"diff": "@@ -23,7 +23,9 @@ SRC_C += \\\n$(MCU_DIR)/drivers/fsl_clock.c \\\n$(MCU_DIR)/drivers/fsl_gpio.c \\\n$(MCU_DIR)/drivers/fsl_power.c \\\n- $(MCU_DIR)/drivers/fsl_rese... | C | MIT License | hathach/tinyusb | neopixel driver one byte at a time non-func |
281,040 | 03.01.2021 18:31:45 | 0 | 7f98d114547865a65e95376252a624e89f36f0a6 | 24 state implementation, only upsdates first LED | [
{
"change_type": "MODIFY",
"old_path": "hw/bsp/double_m33_express/double_m33_express.c",
"new_path": "hw/bsp/double_m33_express/double_m33_express.c",
"diff": "@@ -93,15 +93,15 @@ void USB1_IRQHandler(void)\n#define NEO_EVENT_NEXT 3\n#define NEO_EVENT_START 4\n#define NEO_SCT_OUTPUT 6\n-#define NEO_... | C | MIT License | hathach/tinyusb | 24 state implementation, only upsdates first LED |
281,040 | 03.01.2021 18:53:55 | 0 | f44c588dd75eceb2191efb13069123d59e3770bd | 8 state implementation, still not working | [
{
"change_type": "MODIFY",
"old_path": "hw/bsp/double_m33_express/double_m33_express.c",
"new_path": "hw/bsp/double_m33_express/double_m33_express.c",
"diff": "@@ -93,19 +93,22 @@ void USB1_IRQHandler(void)\n#define NEO_EVENT_NEXT 3\n#define NEO_EVENT_START 4\n#define NEO_SCT_OUTPUT 6\n-#define NEO_... | C | MIT License | hathach/tinyusb | 8 state implementation, still not working |
281,106 | 03.01.2021 15:16:54 | 25,200 | 3158b323d8d701f70b80dca986f8b0e8e60eba97 | Adapt to new control xfer callback | [
{
"change_type": "MODIFY",
"old_path": "src/class/cdc/cdc_ncm_device.c",
"new_path": "src/class/cdc/cdc_ncm_device.c",
"diff": "@@ -292,14 +292,6 @@ uint16_t ncmd_open(uint8_t rhport, tusb_desc_interface_t const * itf_desc, uint1\nreturn drv_len;\n}\n-// Invoked when class request DATA stage is fini... | C | MIT License | hathach/tinyusb | Adapt to new control xfer callback |
281,040 | 03.01.2021 23:01:18 | 0 | 33f0d4b314ec02a3bc4e825fd853cf1e2db4a957 | working neopixel | [
{
"change_type": "MODIFY",
"old_path": "hw/bsp/double_m33_express/double_m33_express.c",
"new_path": "hw/bsp/double_m33_express/double_m33_express.c",
"diff": "@@ -93,17 +93,20 @@ void USB1_IRQHandler(void)\n#define NEO_EVENT_NEXT 3\n#define NEO_EVENT_START 4\n#define NEO_SCT_OUTPUT 6\n-#define NEO_... | C | MIT License | hathach/tinyusb | working neopixel |
281,040 | 03.01.2021 23:26:54 | 0 | 0f11858b0e18bc3ccd789fd7bdd2bfa123d68ee0 | working neopixel minor refactor | [
{
"change_type": "MODIFY",
"old_path": "hw/bsp/double_m33_express/double_m33_express.c",
"new_path": "hw/bsp/double_m33_express/double_m33_express.c",
"diff": "@@ -100,6 +100,38 @@ void USB1_IRQHandler(void)\nvolatile uint32_t _neopixel_array[NEOPIXEL_NUMBER] = {0x404040, 0x202020};\nvolatile uint32... | C | MIT License | hathach/tinyusb | working neopixel minor refactor |
281,097 | 04.01.2021 12:02:08 | -3,600 | 09d8ead4b86049260dd6ee7e61d137b6bdccaa28 | Start changes - not yet finished | [
{
"change_type": "MODIFY",
"old_path": "src/device/usbd.c",
"new_path": "src/device/usbd.c",
"diff": "@@ -1188,6 +1188,35 @@ bool usbd_edpt_xfer(uint8_t rhport, uint8_t ep_addr, uint8_t * buffer, uint16_t\n}\n}\n+bool usbd_edpt_ISO_xfer(uint8_t rhport, uint8_t ep_addr, tu_fifo_t * ff, uint16_t total... | C | MIT License | hathach/tinyusb | Start changes - not yet finished |
281,097 | 04.01.2021 12:06:16 | -3,600 | 37bb14678a2d3fc03b75527f223f3b16b8756fc3 | Remove too verbose comment | [
{
"change_type": "MODIFY",
"old_path": "src/portable/st/synopsys/dcd_synopsys.c",
"new_path": "src/portable/st/synopsys/dcd_synopsys.c",
"diff": "@@ -585,18 +585,6 @@ bool dcd_edpt_open (uint8_t rhport, tusb_desc_endpoint_t const * desc_edpt)\n// \"USB Data FIFOs\" section in reference manual\n// Pe... | C | MIT License | hathach/tinyusb | Remove too verbose comment |
281,097 | 04.01.2021 17:00:23 | -3,600 | 2fa500af1822e4d2d882b7b5455cfd0860aa42a5 | Minor corrections for PR
externerlize code into functions
correct comments | [
{
"change_type": "MODIFY",
"old_path": "src/portable/st/synopsys/dcd_synopsys.c",
"new_path": "src/portable/st/synopsys/dcd_synopsys.c",
"diff": "@@ -151,6 +151,36 @@ static uint16_t ep0_pending[2]; // Index determines direction\nstatic uint16_t _allocated_fifo_words_tx; // TX FIFO size in words (IN... | C | MIT License | hathach/tinyusb | Minor corrections for PR
- externerlize code into functions
- correct comments |
281,040 | 07.01.2021 02:25:04 | 0 | 9c3bdd621b9040bb331b62e2f652ad1a104c9d70 | added Double M33 Express to boards.md | [
{
"change_type": "MODIFY",
"old_path": "docs/boards.md",
"new_path": "docs/boards.md",
"diff": "@@ -86,6 +86,7 @@ This code base already had supported for a handful of following boards (sorted a\n- [LPCXpresso 54114](https://www.nxp.com/design/microcontrollers-developer-resources/lpcxpresso-boards/l... | C | MIT License | hathach/tinyusb | added Double M33 Express to boards.md |
281,040 | 10.01.2021 05:17:49 | 0 | 5ca7c285f58d9ddf6d729571005f3af153f14973 | moved neopixel to its own files with additional features | [
{
"change_type": "MODIFY",
"old_path": "hw/bsp/double_m33_express/board.mk",
"new_path": "hw/bsp/double_m33_express/board.mk",
"diff": "@@ -28,6 +28,8 @@ SRC_C += \\\n$(MCU_DIR)/drivers/fsl_flexcomm.c\nINC += \\\n+ $(TOP)/hw/bsp/ \\\n+ $(TOP)/hw/bsp/$(BOARD) \\\n$(TOP)/$(MCU_DIR)/../../CMSIS/Include... | C | MIT License | hathach/tinyusb | moved neopixel to its own files with additional features |
281,040 | 10.01.2021 18:31:40 | 0 | f4300afb1ce12a6f63c1e31d2e413f59e304ce77 | moving sct neopixel driver to shared library | [
{
"change_type": "MODIFY",
"old_path": ".gitmodules",
"new_path": ".gitmodules",
"diff": "[submodule \"lib/CMSIS_5\"]\npath = lib/CMSIS_5\nurl = https://github.com/ARM-software/CMSIS_5.git\n+[submodule \"lib/sct_neopixel\"]\n+ path = lib/sct_neopixel\n+ url = https://github.com/gsteiert/sct_neopixel... | C | MIT License | hathach/tinyusb | moving sct neopixel driver to shared library |
281,158 | 10.01.2021 20:46:29 | -32,400 | 8fa083d79e1325c19f2bc0af894fdf7f8ab5e84c | added support for cmd.exe as a shell on make. | [
{
"change_type": "MODIFY",
"old_path": "examples/make.mk",
"new_path": "examples/make.mk",
"diff": "@@ -34,9 +34,14 @@ CXX = $(CROSS_COMPILE)g++\nOBJCOPY = $(CROSS_COMPILE)objcopy\nSIZE = $(CROSS_COMPILE)size\nMKDIR = mkdir\n+ifeq ($(UNAME),Windows)\n+CP = copy\n+RM = del\n+else\nSED = sed\nCP = cp\... | C | MIT License | hathach/tinyusb | added support for cmd.exe as a shell on make. |
281,158 | 12.01.2021 01:02:17 | -32,400 | fc69dd70cf3c669308240bb0a6bb05d6eda51487 | Changed some source file paths for SRC_C to relative paths.
Added statements to validate GCCVERSION on Windows Command Prompt. | [
{
"change_type": "MODIFY",
"old_path": "hw/bsp/adafruit_clue/board.mk",
"new_path": "hw/bsp/adafruit_clue/board.mk",
"diff": "@@ -14,9 +14,15 @@ CFLAGS += -Wno-error=undef -Wno-error=unused-parameter -Wno-error=cast-align\n# due to tusb_hal_nrf_power_event\nGCCVERSION = $(firstword $(subst ., ,$(she... | C | MIT License | hathach/tinyusb | Changed some source file paths for SRC_C to relative paths.
Added statements to validate GCCVERSION on Windows Command Prompt. |
281,158 | 14.01.2021 01:19:43 | -32,400 | d7cfd8b91db127459d61aa8b8d091cb08e732208 | replaced variable name to CMDEXE from UNAME.
removed the rule that .d files are converted to .P files. | [
{
"change_type": "MODIFY",
"old_path": "examples/make.mk",
"new_path": "examples/make.mk",
"diff": "@@ -34,7 +34,7 @@ CXX = $(CROSS_COMPILE)g++\nOBJCOPY = $(CROSS_COMPILE)objcopy\nSIZE = $(CROSS_COMPILE)size\nMKDIR = mkdir\n-ifeq ($(UNAME),Windows)\n+ifeq ($(CMDEXE),1)\nCP = copy\nRM = del\nelse\n"
... | C | MIT License | hathach/tinyusb | replaced variable name to CMDEXE from UNAME.
removed the rule that .d files are converted to .P files. |
281,097 | 17.01.2021 11:55:33 | -3,600 | bdbcb8df394a14ac077e5210772cff91c1f76d25 | Add tu_fifo_read_n_into_other_fifo() to copy into from FIFO into another
Fix overflow in tu_fifo_write_n() | [
{
"change_type": "MODIFY",
"old_path": "src/common/tusb_fifo.c",
"new_path": "src/common/tusb_fifo.c",
"diff": "@@ -179,7 +179,7 @@ static uint16_t get_relative_pointer(tu_fifo_t* f, uint16_t p, uint16_t offset)\nreturn _ff_mod(advance_pointer(f, p, offset), f->depth);\n}\n-// Works on local copies ... | C | MIT License | hathach/tinyusb | Add tu_fifo_read_n_into_other_fifo() to copy into from FIFO into another
Fix overflow in tu_fifo_write_n() |
281,097 | 18.01.2021 17:07:15 | -3,600 | 3a3ada0c57013fb64f69178a1c6299abc74e4f40 | Implement the usage of usbd_edpt_ISO_xfer() | [
{
"change_type": "MODIFY",
"old_path": "src/class/audio/audio_device.c",
"new_path": "src/class/audio/audio_device.c",
"diff": "*\n* */\n+// TODO: Rename CFG_TUD_AUDIO_EPSIZE_IN to CFG_TUD_AUDIO_EP_IN_BUFFER_SIZE\n+\n#include \"tusb_option.h\"\n#if (TUSB_OPT_DEVICE_ENABLED && CFG_TUD_AUDIO)\n@@ -129... | C | MIT License | hathach/tinyusb | Implement the usage of usbd_edpt_ISO_xfer() |
281,097 | 18.01.2021 17:08:59 | -3,600 | 84c383061f4af9e0fa66326a09c6c332920df6a7 | Add tusb_fifo.h header file to dcd.h | [
{
"change_type": "MODIFY",
"old_path": "src/device/dcd.h",
"new_path": "src/device/dcd.h",
"diff": "#define _TUSB_DCD_H_\n#include \"common/tusb_common.h\"\n+#include \"common/tusb_fifo.h\"\n#ifdef __cplusplus\nextern \"C\" {\n@@ -133,6 +134,9 @@ void dcd_edpt_close (uint8_t rhport, uint8_t ep_addr)... | C | MIT License | hathach/tinyusb | Add tusb_fifo.h header file to dcd.h |
281,097 | 18.01.2021 17:12:39 | -3,600 | 8450bc3225856fe6f32ef8a4b3d8038163bc0cb1 | Add FIFO copy modes: tu_fifo_copy_mode_t
Allows to copy from/to constant pointers required for STM32 hardware
FIFO copies. | [
{
"change_type": "MODIFY",
"old_path": "src/common/tusb_fifo.c",
"new_path": "src/common/tusb_fifo.c",
"diff": "@@ -76,6 +76,8 @@ bool tu_fifo_config(tu_fifo_t *f, void* buffer, uint16_t depth, uint16_t item_si\nf->max_pointer_idx = 2*depth - 1; // Limit index space to 2*depth - this allows for a fa... | C | MIT License | hathach/tinyusb | Add FIFO copy modes: tu_fifo_copy_mode_t
Allows to copy from/to constant pointers required for STM32 hardware
FIFO copies. |
281,097 | 18.01.2021 17:14:17 | -3,600 | 2284db1fb5d99c91b31ef7176ea04a8a01b3206a | Add usbd_edpt_ISO_xfer() | [
{
"change_type": "MODIFY",
"old_path": "src/device/usbd.c",
"new_path": "src/device/usbd.c",
"diff": "@@ -1206,12 +1206,12 @@ bool usbd_edpt_xfer(uint8_t rhport, uint8_t ep_addr, uint8_t * buffer, uint16_t\n}\n}\n-bool usbd_edpt_ISO_xfer(uint8_t rhport, uint8_t ep_addr, tu_fifo_t * ff, uint16_t tota... | C | MIT License | hathach/tinyusb | Add usbd_edpt_ISO_xfer() |
281,097 | 18.01.2021 17:15:23 | -3,600 | dff588d7727f63b7e8819a89c259b5edddb079e9 | Implement dcd_edpt_ISO_xfer() and adapt transmission scheme | [
{
"change_type": "MODIFY",
"old_path": "src/portable/st/synopsys/dcd_synopsys.c",
"new_path": "src/portable/st/synopsys/dcd_synopsys.c",
"diff": "@@ -670,8 +670,13 @@ bool dcd_edpt_xfer (uint8_t rhport, uint8_t ep_addr, uint8_t * buffer, uint16_t\nreturn true;\n}\n-bool dcd_edpt_ISO_xfer (uint8_t rh... | C | MIT License | hathach/tinyusb | Implement dcd_edpt_ISO_xfer() and adapt transmission scheme |
281,097 | 18.01.2021 17:38:32 | -3,600 | 595a88b34c700bfdb5bf2db04c731de06a995f5f | Correct include path to #include "common/tusb_fifo.h" | [
{
"change_type": "MODIFY",
"old_path": "src/portable/st/synopsys/dcd_synopsys.c",
"new_path": "src/portable/st/synopsys/dcd_synopsys.c",
"diff": "*/\n#include \"tusb_option.h\"\n-#include \"tusb_fifo.h\"\n+#include \"common/tusb_fifo.h\"\n// Since TinyUSB doesn't use SOF for now, and this interrupt ... | C | MIT License | hathach/tinyusb | Correct include path to #include "common/tusb_fifo.h" |
281,097 | 18.01.2021 17:54:08 | -3,600 | 99e6bc37207bc3239d00fc7e47e42b8d22b8adff | Explicitly add cast to uint32_t before shifting uint8 to left | [
{
"change_type": "MODIFY",
"old_path": "src/common/tusb_fifo.c",
"new_path": "src/common/tusb_fifo.c",
"diff": "@@ -135,7 +135,7 @@ static void _tu_fifo_write_to_const_dst_ptr(void * dst, const void * src, uint16\n// Pushing full available 32 bit words to FIFO\nuint16_t full_words = len >> 2;\nfor(u... | C | MIT License | hathach/tinyusb | Explicitly add cast to uint32_t before shifting uint8 to left |
281,097 | 19.01.2021 10:50:19 | -3,600 | 56edc2b2618e542b73c284a3116cf88fd70303e2 | Change names from edpt_ISO_xfer to edpt_iso_xfer | [
{
"change_type": "MODIFY",
"old_path": "src/class/audio/audio_device.c",
"new_path": "src/class/audio/audio_device.c",
"diff": "@@ -537,7 +537,7 @@ static bool audiod_tx_done_cb(uint8_t rhport, audiod_interface_t* audio, uint16_\n// TU_VERIFY(usbd_edpt_xfer(rhport, audio->ep_in, audio->epin_buf, aud... | C | MIT License | hathach/tinyusb | Change names from edpt_ISO_xfer to edpt_iso_xfer |
281,097 | 19.01.2021 17:10:08 | -3,600 | 93ec6f3735b30193f368458cf10d1af6c833c230 | Adjust #include "dcd.h" to "device/dcd.h", the same for usbd.h in usbd.c | [
{
"change_type": "MODIFY",
"old_path": "src/device/usbd.c",
"new_path": "src/device/usbd.c",
"diff": "#if TUSB_OPT_DEVICE_ENABLED\n#include \"tusb.h\"\n-#include \"usbd.h\"\n+#include \"device/usbd.h\"\n#include \"device/usbd_pvt.h\"\n-#include \"dcd.h\"\n+#include \"device/dcd.h\"\n#ifndef CFG_TUD_... | C | MIT License | hathach/tinyusb | Adjust #include "dcd.h" to "device/dcd.h", the same for usbd.h in usbd.c |
281,097 | 20.01.2021 20:14:23 | -3,600 | f1551d7a5fe5faccad9c1ef3f5d374869a1874e6 | Add __restrict keyword and memore alignment to src/dst pointer of
_tu_fifo_read_from_const_src_ptr()
_tu_fifo_write_to_const_dst_ptr() | [
{
"change_type": "MODIFY",
"old_path": "src/common/tusb_fifo.c",
"new_path": "src/common/tusb_fifo.c",
"diff": "@@ -95,9 +95,9 @@ static inline uint16_t _ff_mod(uint16_t idx, uint16_t depth)\n// Intended to be used to read from hardware USB FIFO in e.g. STM32 where all data is read from a constant a... | C | MIT License | hathach/tinyusb | Add __restrict keyword and memore alignment to src/dst pointer of
_tu_fifo_read_from_const_src_ptr()
_tu_fifo_write_to_const_dst_ptr() |
281,095 | 23.01.2021 20:19:10 | 21,600 | 587d1b334b9368759b2afba3114bc5590e7aee09 | rp2040_hcd: check pointer before using | [
{
"change_type": "MODIFY",
"old_path": "src/portable/raspberrypi/rp2040/hcd_rp2040.c",
"new_path": "src/portable/raspberrypi/rp2040/hcd_rp2040.c",
"diff": "@@ -444,6 +444,7 @@ bool hcd_edpt_xfer(uint8_t rhport, uint8_t dev_addr, uint8_t ep_addr, uint8_t *\n// Get appropriate ep. Either EPX or interr... | C | MIT License | hathach/tinyusb | rp2040_hcd: check pointer before using |
281,095 | 23.01.2021 20:21:58 | 21,600 | edc2224118ca18d8c9dd9d6d77d66f6a6d904230 | rp2040: start to adopt TU coding conventions | [
{
"change_type": "MODIFY",
"old_path": "src/portable/raspberrypi/rp2040/dcd_rp2040.c",
"new_path": "src/portable/raspberrypi/rp2040/dcd_rp2040.c",
"diff": "#include \"device/dcd.h\"\n-#include \"pico/stdlib.h\"\n-\n/*------------------------------------------------------------------*/\n/* Low level ... | C | MIT License | hathach/tinyusb | rp2040: start to adopt TU coding conventions |
281,099 | 22.01.2021 16:00:09 | -3,600 | 40e0e7e35f0a3e228b911f5ce684b4675ef01428 | Define Spresense EP numbers for cdc_msc example | [
{
"change_type": "MODIFY",
"old_path": "examples/device/cdc_msc/src/usb_descriptors.c",
"new_path": "examples/device/cdc_msc/src/usb_descriptors.c",
"diff": "@@ -104,6 +104,18 @@ enum\n#define EPNUM_MSC_OUT 0x04\n#define EPNUM_MSC_IN 0x85\n+#elif CFG_TUSB_MCU == OPT_MCU_CXD56\n+ // CXD56 doesn't sup... | C | MIT License | hathach/tinyusb | Define Spresense EP numbers for cdc_msc example |
281,099 | 22.01.2021 16:03:31 | -3,600 | 5f999fa6a06ecb7ebec742be0b0175943cdfb774 | Fix dcd issues on cxd56
Pass the next setup package when USB stack is ready to receive it.
When the transfer is 0 on EP0 send complete to the USB stack
Pass the data received after the setup package to the USB stack. | [
{
"change_type": "MODIFY",
"old_path": "src/portable/sony/cxd56/dcd_cxd56.c",
"new_path": "src/portable/sony/cxd56/dcd_cxd56.c",
"diff": "#include <nuttx/arch.h>\n#include \"device/dcd.h\"\n+#include \"osal/osal.h\"\n#define CXD56_EPNUM (7)\n+#define CXD56_SETUP_QUEUE_DEPTH (4)\n+#define CXD56_MAX_D... | C | MIT License | hathach/tinyusb | Fix dcd issues on cxd56
Pass the next setup package when USB stack is ready to receive it.
When the transfer is 0 on EP0 send complete to the USB stack
Pass the data received after the setup package to the USB stack. |
281,057 | 28.01.2021 20:31:11 | -39,600 | c4f7ea09f1e5df01eecc2b223728e066c1d8fc02 | Fix midi sysex sending bug | [
{
"change_type": "MODIFY",
"old_path": "src/class/midi/midi_device.c",
"new_path": "src/class/midi/midi_device.c",
"diff": "@@ -192,6 +192,7 @@ uint32_t tud_midi_n_write(uint8_t itf, uint8_t jack_id, uint8_t const* buffer, u\nif (midi->write_buffer[0] == 0x4) {\nif (data == 0xf7) {\nmidi->write_buff... | C | MIT License | hathach/tinyusb | Fix midi sysex sending bug |
281,151 | 28.01.2021 18:34:58 | 25,200 | effd82fd9c7e698b6b75521da7a109c5526700a1 | fix third attempt | [
{
"change_type": "MODIFY",
"old_path": "examples/device/usbtmc/src/usb_descriptors.c",
"new_path": "examples/device/usbtmc/src/usb_descriptors.c",
"diff": "@@ -80,8 +80,8 @@ uint8_t const * tud_descriptor_device_cb(void)\nTUD_USBTMC_BULK_DESCRIPTORS(/* OUT = */0x01, /* IN = */ 0x81, /* packet size =... | C | MIT License | hathach/tinyusb | fix #558 third attempt |
281,081 | 30.01.2021 04:11:08 | -10,800 | 2a34be2eb0654198f535afced31556d832b4bf58 | A CDC-like blocking behaviour | [
{
"change_type": "MODIFY",
"old_path": "src/class/midi/midi_device.c",
"new_path": "src/class/midi/midi_device.c",
"diff": "@@ -85,6 +85,32 @@ bool tud_midi_n_mounted (uint8_t itf)\nreturn midi->ep_in && midi->ep_out;\n}\n+static void _prep_out_transaction (midid_interface_t* p_midi)\n+{\n+ uint8_t ... | C | MIT License | hathach/tinyusb | A CDC-like blocking behaviour |
281,056 | 03.02.2021 13:33:40 | 25,200 | 6f02e5f1f85f0937bff083edb45f6ae3d17dd0d6 | add BSP for SAMD11 variant of Great Scott Gadgets' LUNA boards (SAMD11) | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "hw/bsp/samd11/boards/luna_d11/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... | C | MIT License | hathach/tinyusb | add BSP for SAMD11 variant of Great Scott Gadgets' LUNA boards (SAMD11) |
281,081 | 06.02.2021 00:01:46 | -10,800 | 9f7143af29814156482c5e80bab925687e37b16d | CDC-like blocking behaviour for MIDI
Also added a dummy readout for MIDI into examples | [
{
"change_type": "MODIFY",
"old_path": "examples/device/dynamic_configuration/src/main.c",
"new_path": "examples/device/dynamic_configuration/src/main.c",
"diff": "@@ -165,6 +165,12 @@ void midi_task(void)\n{\nstatic uint32_t start_ms = 0;\n+ // The MIDI interface always creates input and output por... | C | MIT License | hathach/tinyusb | CDC-like blocking behaviour for MIDI
Also added a dummy readout for MIDI into examples |
281,100 | 07.02.2021 15:55:45 | -25,200 | f49d47a0aa6781e8c4f86fbb7725c23f6549b14e | Mirror sources only to hathach/tinyusb_src repo
Mirror sources only to hathach/tinyusb_src repo | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/trigger.yml",
"new_path": ".github/workflows/trigger.yml",
"diff": "@@ -3,12 +3,56 @@ name: Trigger Repos\non:\npush:\nbranches: master\n+ release:\n+ types:\n+ - created\njobs:\n- trigger:\n+ trigger-mynewt:\n+ if: github.repository == 'hath... | C | MIT License | hathach/tinyusb | Mirror sources only to hathach/tinyusb_src repo (#636)
Mirror sources only to hathach/tinyusb_src repo |
281,052 | 07.02.2021 22:44:49 | -28,800 | 1b678eccf55a808cde2e9fa450b76fe5e95539ba | add basic support for rt-thread | [
{
"change_type": "MODIFY",
"old_path": "hw/bsp/board.h",
"new_path": "hw/bsp/board.h",
"diff": "@@ -86,6 +86,11 @@ static inline uint32_t board_millis(void)\n{\nreturn to_ms_since_boot(get_absolute_time());\n}\n+#elif CFG_TUSB_OS == OPT_OS_RTTHREAD\n+ static inline uint32_t board_millis(void)\n+ {\n... | C | MIT License | hathach/tinyusb | add basic support for rt-thread |
281,104 | 10.02.2021 00:48:58 | 18,000 | c8499c89dbdfec0a50b90130e49ea77df4a3ee98 | Set -DCMAKE_BUILD_TYPE=Debug when building in debug for rp2040.
This ensures that the Pico SDK, too, is built in debug mode and with
nice debugging symbols. | [
{
"change_type": "MODIFY",
"old_path": "examples/rules.mk",
"new_path": "examples/rules.mk",
"diff": "@@ -45,6 +45,10 @@ $(BUILD)/$(PROJECT).uf2: $(BUILD)/$(PROJECT).bin\nelse ifeq ($(FAMILY),rp2040)\n+ifeq ($(DEBUG), 1)\n+CMAKE_DEFSYM += -DCMAKE_BUILD_TYPE=Debug\n+endif\n+\n$(BUILD):\ncmake -S . -B... | C | MIT License | hathach/tinyusb | Set -DCMAKE_BUILD_TYPE=Debug when building in debug for rp2040.
This ensures that the Pico SDK, too, is built in debug mode and with
nice debugging symbols. |
281,104 | 10.02.2021 01:05:37 | 18,000 | ce7fb36337b409bfaf7ebea27d184d47cacd423e | Fix unintended control transfers in webserial example. | [
{
"change_type": "MODIFY",
"old_path": "examples/device/webusb_serial/src/main.c",
"new_path": "examples/device/webusb_serial/src/main.c",
"diff": "@@ -151,54 +151,49 @@ bool tud_vendor_control_xfer_cb(uint8_t rhport, uint8_t stage, tusb_control_requ\n// nothing to with DATA & ACK stage\nif (stage !... | C | MIT License | hathach/tinyusb | Fix unintended control transfers in webserial example. |
281,104 | 10.02.2021 22:14:29 | 18,000 | 5178e2af55bd8c6e4342f38cdc48a730b768282a | Address review comments:
every switch must have a default
revert formatting of unchanged lines | [
{
"change_type": "MODIFY",
"old_path": "examples/device/webusb_serial/src/main.c",
"new_path": "examples/device/webusb_serial/src/main.c",
"diff": "@@ -152,22 +152,28 @@ bool tud_vendor_control_xfer_cb(uint8_t rhport, uint8_t stage, tusb_control_requ\nif (stage != CONTROL_STAGE_SETUP ) return true;\... | C | MIT License | hathach/tinyusb | Address review comments:
- every switch must have a default
- revert formatting of unchanged lines |
281,079 | 12.02.2021 03:16:46 | 18,000 | 09868434cd9f53394350cce682333ada97f796c3 | Fixes RP2040 buffer reallocation overrun problem
Fix running out of memory on a device that repeatedly closes and opens an endpoint. This is a workaround at the moment. A better solution would be to implement reclaiming usb buffer memory when closing an endpoint (i.e. implement dcd_edpt_close). | [
{
"change_type": "MODIFY",
"old_path": "src/portable/raspberrypi/rp2040/dcd_rp2040.c",
"new_path": "src/portable/raspberrypi/rp2040/dcd_rp2040.c",
"diff": "@@ -164,9 +164,13 @@ static void _hw_endpoint_init(struct hw_endpoint *ep, uint8_t ep_addr, uint wMax\nep->endpoint_control = &usb_dpram->ep_ctr... | C | MIT License | hathach/tinyusb | Fixes RP2040 buffer reallocation overrun problem (#642)
Fix running out of memory on a device that repeatedly closes and opens an endpoint. This is a workaround at the moment. A better solution would be to implement reclaiming usb buffer memory when closing an endpoint (i.e. implement dcd_edpt_close). |
281,097 | 12.02.2021 18:31:54 | -3,600 | 9e2a1d2e6a22fb1cfb952a62f501403d372bbb45 | Fix CFG_TUD_AUDIO_EP_IN/OUT_SW_BUFFER_SIZE to be defined anyway | [
{
"change_type": "MODIFY",
"old_path": "src/class/audio/audio_device.h",
"new_path": "src/class/audio/audio_device.h",
"diff": "#ifndef CFG_TUD_AUDIO_EP_IN_SW_BUFFER_SIZE\n#define CFG_TUD_AUDIO_EP_IN_SW_BUFFER_SIZE CFG_TUD_AUDIO_EPSIZE_IN // TX\n#endif\n+#else\n+#define CFG_TUD_AUDIO_EP_IN_SW_BUFFER... | C | MIT License | hathach/tinyusb | Fix CFG_TUD_AUDIO_EP_IN/OUT_SW_BUFFER_SIZE to be defined anyway |
281,097 | 13.02.2021 12:13:10 | -3,600 | 59d6ed9ea409525899d398789b255ffb7f96660a | Implement dcd_edpt_iso_xfer() for dcd_esp32s2.c | [
{
"change_type": "MODIFY",
"old_path": "src/portable/espressif/esp32s2/dcd_esp32s2.c",
"new_path": "src/portable/espressif/esp32s2/dcd_esp32s2.c",
"diff": "*/\n#include \"tusb_option.h\"\n+#include \"common/tusb_fifo.h\"\n#if CFG_TUSB_MCU == OPT_MCU_ESP32S2 && TUSB_OPT_DEVICE_ENABLED\ntypedef struct... | C | MIT License | hathach/tinyusb | Implement dcd_edpt_iso_xfer() for dcd_esp32s2.c |
281,097 | 13.02.2021 16:36:32 | -3,600 | 7ab389db210fdab67bdcc68b5d245606b5146a03 | Implement dcd_edpt_iso_xfer() for dcd_samg.c. NOTE: ISO EP not supported | [
{
"change_type": "MODIFY",
"old_path": "src/portable/microchip/samg/dcd_samg.c",
"new_path": "src/portable/microchip/samg/dcd_samg.c",
"diff": "*/\n#include \"tusb_option.h\"\n+#include \"common/tusb_fifo.h\"\n#if CFG_TUSB_MCU == OPT_MCU_SAMG\ntypedef struct\n{\nuint8_t* buffer;\n+ tu_fifo_t* ff;\nu... | C | MIT License | hathach/tinyusb | Implement dcd_edpt_iso_xfer() for dcd_samg.c. NOTE: ISO EP not supported |
281,097 | 13.02.2021 17:06:27 | -3,600 | e6816784021959223ce740ed6946b62136778fec | Implement dcd_edpt_iso_xfer() for dcd_nuc120.c | [
{
"change_type": "MODIFY",
"old_path": "src/portable/nuvoton/nuc120/dcd_nuc120.c",
"new_path": "src/portable/nuvoton/nuc120/dcd_nuc120.c",
"diff": "*/\n#include \"tusb_option.h\"\n+#include \"common/tusb_fifo.h\"\n#if TUSB_OPT_DEVICE_ENABLED && (CFG_TUSB_MCU == OPT_MCU_NUC120)\n@@ -76,6 +77,7 @@ sta... | C | MIT License | hathach/tinyusb | Implement dcd_edpt_iso_xfer() for dcd_nuc120.c |
281,097 | 13.02.2021 17:37:13 | -3,600 | 126e46e38ae1f839262160e8e56cd99936c7451d | Fix not increment xfer->buffer if xfer->buffer == NULL in dcd_samg.c | [
{
"change_type": "MODIFY",
"old_path": "src/portable/microchip/samg/dcd_samg.c",
"new_path": "src/portable/microchip/samg/dcd_samg.c",
"diff": "@@ -82,7 +82,7 @@ void xfer_packet_done(xfer_desc_t* xfer)\n{\nuint16_t const xact_len = xfer_packet_len(xfer);\n- xfer->buffer += xact_len;\n+ if (xfer->bu... | C | MIT License | hathach/tinyusb | Fix not increment xfer->buffer if xfer->buffer == NULL in dcd_samg.c |
281,097 | 13.02.2021 17:44:59 | -3,600 | 0c3dc8f99bc3bdce40164904d6705f7112b80d9d | Implement dcd_edpt_iso_xfer() for dcd_nuc121.c | [
{
"change_type": "MODIFY",
"old_path": "src/portable/nuvoton/nuc121/dcd_nuc121.c",
"new_path": "src/portable/nuvoton/nuc121/dcd_nuc121.c",
"diff": "@@ -144,7 +144,15 @@ static void dcd_in_xfer(struct xfer_ctl_t *xfer, USBD_EP_T *ep)\n{\nuint16_t bytes_now = tu_min16(xfer->in_remaining_bytes, xfer->m... | C | MIT License | hathach/tinyusb | Implement dcd_edpt_iso_xfer() for dcd_nuc121.c |
281,097 | 13.02.2021 21:00:55 | -3,600 | b634b5958b92fc2352ea20e279e010d8bf4f2df2 | Implement dcd_edpt_iso_xfer() for INTERRUPT driven dcd_nuc505 | [
{
"change_type": "MODIFY",
"old_path": "src/portable/nuvoton/nuc505/dcd_nuc505.c",
"new_path": "src/portable/nuvoton/nuc505/dcd_nuc505.c",
"diff": "*/\n#include \"tusb_option.h\"\n+#include \"common/tusb_fifo.h\"\n#if TUSB_OPT_DEVICE_ENABLED && (CFG_TUSB_MCU == OPT_MCU_NUC505)\n@@ -94,6 +95,7 @@ sta... | C | MIT License | hathach/tinyusb | Implement dcd_edpt_iso_xfer() for INTERRUPT driven dcd_nuc505 |
281,097 | 14.02.2021 09:25:34 | -3,600 | 893f997dcb09ffef872ab7cb9a5c0a74839f5715 | Change FIFO use indication to ff == NULL to avoid future errors.
This way people don't need to pay attention for the buffer pointer | [
{
"change_type": "MODIFY",
"old_path": "src/portable/espressif/esp32s2/dcd_esp32s2.c",
"new_path": "src/portable/espressif/esp32s2/dcd_esp32s2.c",
"diff": "@@ -321,6 +321,7 @@ bool dcd_edpt_xfer(uint8_t rhport, uint8_t ep_addr, uint8_t *buffer, uint16_t to\nxfer_ctl_t * xfer = XFER_CTL_BASE(epnum, d... | C | MIT License | hathach/tinyusb | Change FIFO use indication to ff == NULL to avoid future errors.
This way people don't need to pay attention for the buffer pointer |
281,097 | 14.02.2021 14:05:15 | -3,600 | a5d7b6266dca8a4f79178f5978401b680ddfa637 | Implement dcd_edpt_iso_xfer() for msp430 | [
{
"change_type": "MODIFY",
"old_path": "src/portable/ti/msp430x5xx/dcd_msp430x5xx.c",
"new_path": "src/portable/ti/msp430x5xx/dcd_msp430x5xx.c",
"diff": "*/\n#include \"tusb_option.h\"\n+#include \"common/tusb_fifo.h\"\n#if TUSB_OPT_DEVICE_ENABLED && ( CFG_TUSB_MCU == OPT_MCU_MSP430x5xx )\n@@ -48,6 ... | C | MIT License | hathach/tinyusb | Implement dcd_edpt_iso_xfer() for msp430 |
281,139 | 16.02.2021 10:40:06 | 18,000 | f8fbc0930bd17b263ca702c0beb9f83af4429d0a | Add alternate bitfield padding option
Adds configuration option CFG_TUSB_ALT_BIT_PACKING_ALIGNMENT, which
substitutes bitfield variable " : 0" padding syntax with an unused
variable of size equal to the remaining number of bits.
This change resolves aligned access issues for some platforms.
Default behavior is original... | [
{
"change_type": "MODIFY",
"old_path": "src/class/cdc/cdc.h",
"new_path": "src/class/cdc/cdc.h",
"diff": "@@ -277,7 +277,11 @@ typedef struct TU_ATTR_PACKED\nstruct {\nuint8_t handle_call : 1; ///< 0 - Device sends/receives call management information only over the Communications Class interface. 1 ... | C | MIT License | hathach/tinyusb | Add alternate bitfield padding option
Adds configuration option CFG_TUSB_ALT_BIT_PACKING_ALIGNMENT, which
substitutes bitfield variable " : 0" padding syntax with an unused
variable of size equal to the remaining number of bits.
This change resolves aligned access issues for some platforms.
Default behavior is origi... |
281,045 | 16.02.2021 23:08:08 | 18,000 | b7ec66e33af1e24b763d855545d921ec5957f61a | This fixes the overflow mathmatic in the fifo | [
{
"change_type": "MODIFY",
"old_path": "src/common/tusb_fifo.c",
"new_path": "src/common/tusb_fifo.c",
"diff": "@@ -74,7 +74,7 @@ bool tu_fifo_config(tu_fifo_t *f, void* buffer, uint16_t depth, uint16_t item_si\nf->overwritable = overwritable;\nf->max_pointer_idx = 2*depth - 1; // Limit index space ... | C | MIT License | hathach/tinyusb | This fixes the overflow mathmatic in the fifo |
281,045 | 17.02.2021 13:22:34 | 18,000 | 79b360f0a6b980cb8b4826bbad0d2d6a4c9dae4b | Enable iso buffers per rp2040 spec | [
{
"change_type": "MODIFY",
"old_path": "src/portable/raspberrypi/rp2040/rp2040_usb.c",
"new_path": "src/portable/raspberrypi/rp2040/rp2040_usb.c",
"diff": "@@ -154,6 +154,14 @@ void _hw_endpoint_xfer_start(struct hw_endpoint *ep, uint8_t *buffer, uint16_t t\nep->total_len = total_len;\nep->len = 0;\... | C | MIT License | hathach/tinyusb | Enable iso buffers per rp2040 spec |
281,097 | 17.02.2021 20:44:26 | -3,600 | c87357c0257251f2cecfe83a29035648c5a47662 | Improve tu_fifo capabilites
Added tu_fifo_get_linear_write_info(), tu_fifo_backward_write_pointer(),
and tu_fifo_backward_read_pointer() | [
{
"change_type": "MODIFY",
"old_path": "src/common/tusb_fifo.c",
"new_path": "src/common/tusb_fifo.c",
"diff": "@@ -354,10 +354,7 @@ static uint16_t _tu_fifo_peek_at_n(tu_fifo_t* f, uint16_t offset, void * p_buffe\n// Check if we can read something at and after offset - if too less is available we r... | C | MIT License | hathach/tinyusb | Improve tu_fifo capabilites
Added tu_fifo_get_linear_write_info(), tu_fifo_backward_write_pointer(),
and tu_fifo_backward_read_pointer() |
281,097 | 17.02.2021 20:46:31 | -3,600 | 2d7b61972c669040c494899509b02bde49728a65 | Implement dcd_edpt_iso_xfer() for dcd_stm32_fsdev
Implemented a special copy strategy to copy directly from the FIFO. This
function, however, is untested and should be regarded as unreliable
until somebody was able to test it | [
{
"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": "*/\n#include \"tusb_option.h\"\n+#include \"common/tusb_fifo.h\"\n#if defined(STM32F102x6) || defined(STM32F102xB) || \\\ndefined(STM32F103x6)... | C | MIT License | hathach/tinyusb | Implement dcd_edpt_iso_xfer() for dcd_stm32_fsdev
Implemented a special copy strategy to copy directly from the FIFO. This
function, however, is untested and should be regarded as unreliable
until somebody was able to test it |
281,097 | 17.02.2021 21:42:44 | -3,600 | 189b357b54614a770232ac9fa95d56d173efe302 | Implement an evasion linear buffer for MCUs not capable for EP FIFO
Also MCUs using DMAs are within this list, however, these can use an EP
FIFO. There is just no time for implementation | [
{
"change_type": "MODIFY",
"old_path": "src/class/audio/audio_device.c",
"new_path": "src/class/audio/audio_device.c",
"diff": "@@ -125,6 +125,41 @@ typedef struct\n#if CFG_FIFO_MUTEX\nosal_mutex_def_t rx_ff_mutex[CFG_TUD_AUDIO_N_CHANNELS_RX];\n#endif\n+#endif\n+\n+ // Evasion buffer in case target ... | C | MIT License | hathach/tinyusb | Implement an evasion linear buffer for MCUs not capable for EP FIFO
Also MCUs using DMAs are within this list, however, these can use an EP
FIFO. There is just no time for implementation |
281,097 | 17.02.2021 21:47:01 | -3,600 | e407ce463d007231f0d24e55768c1d0ab3b2c049 | Add SAMD MCUs to buffer evasion list | [
{
"change_type": "MODIFY",
"old_path": "src/class/audio/audio_device.c",
"new_path": "src/class/audio/audio_device.c",
"diff": "@@ -144,7 +144,11 @@ typedef struct\nCFG_TUSB_MCU == OPT_MCU_LPC54XXX || \\\nCFG_TUSB_MCU == OPT_MCU_LPC55XX || \\\nCFG_TUSB_MCU == OPT_MCU_LPC175X_6X || \\\n- CFG_TUSB_MCU... | C | MIT License | hathach/tinyusb | Add SAMD MCUs to buffer evasion list |
281,097 | 17.02.2021 21:59:32 | -3,600 | eee47493a336eb334fdd7f1713903e2131a86650 | Fix bug in evasion buffer list | [
{
"change_type": "MODIFY",
"old_path": "src/class/audio/audio_device.c",
"new_path": "src/class/audio/audio_device.c",
"diff": "@@ -132,7 +132,7 @@ typedef struct\nCFG_TUSB_MCU == OPT_MCU_LPC18XX || /* No clue how driver works */ \\\nCFG_TUSB_MCU == OPT_MCU_LPC43XX || \\\nCFG_TUSB_MCU == OPT_MCU_MIM... | C | MIT License | hathach/tinyusb | Fix bug in evasion buffer list |
281,097 | 17.02.2021 22:29:40 | -3,600 | 53a796a92ea853ea5af16431ba2a6bed8a3c7b5a | Fix wrong pointer type. | [
{
"change_type": "MODIFY",
"old_path": "src/class/audio/audio_device.c",
"new_path": "src/class/audio/audio_device.c",
"diff": "@@ -332,7 +332,7 @@ static bool audiod_rx_done_cb(uint8_t rhport, audiod_interface_t* audio)\n// Prepare for next transmission\n#if USE_EVADE_BUFFER\n- TU_VERIFY(usbd_edpt_... | C | MIT License | hathach/tinyusb | Fix wrong pointer type. |
281,097 | 17.02.2021 22:29:51 | -3,600 | 94bf4f54dae23f0b0fcd660f0afae374f8e141d5 | Fix missing FIFO definitions | [
{
"change_type": "MODIFY",
"old_path": "src/portable/nuvoton/nuc121/dcd_nuc121.c",
"new_path": "src/portable/nuvoton/nuc121/dcd_nuc121.c",
"diff": "*/\n#include \"tusb_option.h\"\n+#include \"common/tusb_fifo.h\"\n#if TUSB_OPT_DEVICE_ENABLED && ( (CFG_TUSB_MCU == OPT_MCU_NUC121) || (CFG_TUSB_MCU == ... | C | MIT License | hathach/tinyusb | Fix missing FIFO definitions |
281,097 | 17.02.2021 22:49:10 | -3,600 | 402005c9e0804ef71606edd0490b3f853ca85593 | Fix missing pointer operator in dcd_nuc505.c | [
{
"change_type": "MODIFY",
"old_path": "src/portable/nuvoton/nuc505/dcd_nuc505.c",
"new_path": "src/portable/nuvoton/nuc505/dcd_nuc505.c",
"diff": "@@ -183,7 +183,7 @@ static void dcd_userEP_in_xfer(struct xfer_ctl_t *xfer, USBD_EP_T *ep)\n/* provided buffers are thankfully 32-bit aligned, allowing ... | C | MIT License | hathach/tinyusb | Fix missing pointer operator in dcd_nuc505.c |
281,097 | 17.02.2021 22:50:49 | -3,600 | 666e0fad358dfdbda01fadc2c04dee5de5a527c0 | Fix wrong tu_fifo_read_n() call in dcd_stm32_fsdev.c | [
{
"change_type": "MODIFY",
"old_path": "src/portable/st/stm32_fsdev/dcd_stm32_fsdev.c",
"new_path": "src/portable/st/stm32_fsdev/dcd_stm32_fsdev.c",
"diff": "@@ -1004,7 +1004,7 @@ static bool dcd_write_packet_memory_ff(tu_fifo_t * ff, uint16_t dst, uint16_t wN\n{\n// Since PMA can accessed only 16 b... | C | MIT License | hathach/tinyusb | Fix wrong tu_fifo_read_n() call in dcd_stm32_fsdev.c |
281,097 | 17.02.2021 22:52:59 | -3,600 | d8481ac7e40a2458a7df9394f487218ea35f6c2d | Fix wrong pointer call in dcd_samg.c | [
{
"change_type": "MODIFY",
"old_path": "src/portable/microchip/samg/dcd_samg.c",
"new_path": "src/portable/microchip/samg/dcd_samg.c",
"diff": "@@ -440,7 +440,7 @@ void dcd_int_handler(uint8_t rhport)\n// write to EP fifo\nif (xfer->ff)\n{\n- tu_fifo_read_n(ff, (void *) &UDP->UDP_FDR[epnum], xact_le... | C | MIT License | hathach/tinyusb | Fix wrong pointer call in dcd_samg.c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.