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,055
14.04.2021 18:07:28
-3,600
62a0d5b42decf9e0bdb2032ff3f7afcca86e6dc8
Changed LED_PIN to 17, LED_STATE_ON to 0
[ { "change_type": "MODIFY", "old_path": "hw/bsp/samd21/boards/seeeduino_xiao/board.h", "new_path": "hw/bsp/samd21/boards/seeeduino_xiao/board.h", "diff": "#endif\n// LED\n-#define LED_PIN 26\n-#define LED_STATE_ON 1\n+#define LED_PIN 17\n+#define LED_STATE_ON 0\n// Button\n#define BUTTON_PIN 9 // PA4...
C
MIT License
hathach/tinyusb
Changed LED_PIN to 17, LED_STATE_ON to 0
281,097
15.04.2021 19:40:57
-7,200
c7e4a8616640165b48cfb0ba4f9346982faa4344
Fix bug in audio_4_channel_mic.c
[ { "change_type": "MODIFY", "old_path": "examples/device/audio_4_channel_mic/src/main.c", "new_path": "examples/device/audio_4_channel_mic/src/main.c", "diff": "@@ -400,7 +400,7 @@ bool tud_audio_tx_done_pre_load_cb(uint8_t rhport, uint8_t itf, uint8_t ep_in, u\nfor (uint8_t cnt=0; cnt < CFG_TUD_AUDI...
C
MIT License
hathach/tinyusb
Fix bug in audio_4_channel_mic.c
281,142
16.04.2021 15:49:21
-7,200
91e574075d159a7f04280743d93279e6c6efd227
espressif: temporarily remove the espressif_addax_1 board from test
[ { "change_type": "MODIFY", "old_path": ".github/workflows/build.yml", "new_path": ".github/workflows/build.yml", "diff": "@@ -192,7 +192,7 @@ jobs:\n- 'adafruit_feather_esp32s2'\n- 'adafruit_magtag_29gray'\n- 'adafruit_metro_esp32s2'\n- - 'espressif_addax_1'\n+ # - 'espressif_addax_1' # temporarily ...
C
MIT License
hathach/tinyusb
espressif: temporarily remove the espressif_addax_1 board from test
281,055
16.04.2021 15:51:19
-3,600
70c89da7ba550b398f83068ca342cfe23e9c720c
Change LED_STATE_ON to 0 for f401 and f411 blackpill boards
[ { "change_type": "MODIFY", "old_path": "hw/bsp/stm32f4/boards/stm32f401blackpill/board.h", "new_path": "hw/bsp/stm32f4/boards/stm32f401blackpill/board.h", "diff": "// LED\n#define LED_PORT GPIOC\n#define LED_PIN GPIO_PIN_13\n-#define LED_STATE_ON 1\n+#define LED_STATE_ON 0\n// Button\n#define BUTTON...
C
MIT License
hathach/tinyusb
Change LED_STATE_ON to 0 for f401 and f411 blackpill boards
281,055
17.04.2021 23:43:03
-3,600
9fceed39fc3eebb37344a9f3d99f03272f0c27d0
When used with FreeRTOS, lower the interrupt priority for OTG_FS_IRQn
[ { "change_type": "MODIFY", "old_path": "hw/bsp/stm32f4/family.c", "new_path": "hw/bsp/stm32f4/family.c", "diff": "@@ -51,7 +51,7 @@ void board_init(void)\nSysTick_Config(SystemCoreClock / 1000);\n#elif CFG_TUSB_OS == OPT_OS_FREERTOS\n// If freeRTOS is used, IRQ priority is limit by max syscall ( sma...
C
MIT License
hathach/tinyusb
When used with FreeRTOS, lower the interrupt priority for OTG_FS_IRQn
281,097
20.04.2021 18:44:56
-7,200
4408ffce88a46bb7f2b07b99a9df60b24e17700f
Fix pointer alt_setting to be cleared when driver gets initialized
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.c", "new_path": "src/class/audio/audio_device.c", "diff": "@@ -265,17 +265,17 @@ typedef struct\nuint8_t ep_int_ctr; // Audio control interrupt EP.\n#endif\n- uint8_t * alt_setting; // We need to save the current alternate setting ...
C
MIT License
hathach/tinyusb
Fix pointer alt_setting to be cleared when driver gets initialized
281,097
20.04.2021 19:56:40
-7,200
fef0d54559e957575a5f0adebb1af94b7a81dd4f
Refactor static function for better performance
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.c", "new_path": "src/class/audio/audio_device.c", "diff": "@@ -347,7 +347,7 @@ typedef struct\n#define USE_LINEAR_BUFFER_TX 1\n#endif\n-} audiod_interface_t;\n+} audiod_function_t;\n#ifndef USE_LINEAR_BUFFER_TX\n#define USE_LINEAR_...
C
MIT License
hathach/tinyusb
Refactor static function for better performance
281,097
21.04.2021 17:01:38
-7,200
29bcc83d0f9bb132eee24a0585ed3565a3e2eaee
Remove unnecessary volatile and short audio function index to func_id
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.c", "new_path": "src/class/audio/audio_device.c", "diff": "@@ -383,11 +383,11 @@ static uint16_t audiod_encode_type_I_pcm(uint8_t rhport, audiod_function_t* audi\nstatic bool audiod_get_interface(uint8_t rhport, tusb_control_reques...
C
MIT License
hathach/tinyusb
Remove unnecessary volatile and short audio function index to func_id
281,139
22.04.2021 14:56:52
14,400
01661b3f281c4e044a370b33bf6617b8d2481407
Replace dfu_mode with dfu
[ { "change_type": "MODIFY", "old_path": "src/class/dfu/dfu.h", "new_path": "src/class/dfu/dfu.h", "diff": "@@ -73,7 +73,7 @@ typedef enum {\nDFU_MANIFEST_WAIT_RESET = 8,\nDFU_UPLOAD_IDLE = 9,\nDFU_ERROR = 10,\n-} dfu_mode_state_t;\n+} dfu_state_t;\n// DFU Status\ntypedef enum {\n@@ -93,7 +93,7 @@ typ...
C
MIT License
hathach/tinyusb
Replace dfu_mode with dfu
281,139
22.04.2021 15:02:50
14,400
88dea7a0a8f7cb1bc21eaa45a3abb9a912b030d6
Move debug from .h to .c
[ { "change_type": "MODIFY", "old_path": "src/class/dfu/dfu.h", "new_path": "src/class/dfu/dfu.h", "diff": "@@ -111,86 +111,6 @@ typedef struct TU_ATTR_PACKED\nTU_VERIFY_STATIC( sizeof(dfu_status_req_payload_t) == 6, \"size is not correct\");\n-\n-//----------------------------------------------------...
C
MIT License
hathach/tinyusb
Move debug from .h to .c
281,139
22.04.2021 15:59:49
14,400
0936a76dc905a104f03cd1135fc22a8652ee8c7f
Remove nonstd behaviour
[ { "change_type": "MODIFY", "old_path": "src/class/dfu/dfu_device.c", "new_path": "src/class/dfu/dfu_device.c", "diff": "@@ -269,7 +269,7 @@ bool dfu_moded_control_xfer_cb(uint8_t rhport, uint8_t stage, tusb_control_reque\ndefault:\n{\nTU_LOG2(\" DFU Nonstandard Request: %u\\r\\n\", request->bRequest...
C
MIT License
hathach/tinyusb
Remove nonstd behaviour
281,139
22.04.2021 16:04:09
14,400
18e9d253e986670f77a0f15f687eec258011605f
Remove usb reset callback
[ { "change_type": "MODIFY", "old_path": "src/class/dfu/dfu_device.c", "new_path": "src/class/dfu/dfu_device.c", "diff": "@@ -159,10 +159,6 @@ void dfu_moded_reset(uint8_t rhport)\nif (_dfu_state_ctx.state == APP_DETACH)\n{\n_dfu_state_ctx.state = DFU_IDLE;\n- } else {\n- if ( tud_dfu_usb_reset_cb )\n...
C
MIT License
hathach/tinyusb
Remove usb reset callback
281,139
22.04.2021 16:06:06
14,400
289af581bb796f730324ac663b3f20d57d03e487
Remove uunused code
[ { "change_type": "MODIFY", "old_path": "src/class/dfu/dfu_device.h", "new_path": "src/class/dfu/dfu_device.h", "diff": "@@ -45,15 +45,6 @@ bool tud_dfu_firmware_valid_check_cb(void);\n// Invoked when the device must reboot to dfu runtime mode\nvoid tud_dfu_reboot_to_rt_cb(void);\n-// Invoked during ...
C
MIT License
hathach/tinyusb
Remove uunused code
281,139
22.04.2021 16:42:54
14,400
45e401e69df87353f528d0e3ce313d5af5a4f90c
Remove unused alt_setting
[ { "change_type": "MODIFY", "old_path": "src/device/usbd.h", "new_path": "src/device/usbd.h", "diff": "@@ -546,10 +546,10 @@ TU_ATTR_WEAK bool tud_vendor_control_xfer_cb(uint8_t rhport, uint8_t stage, tusb\n#define TUD_DFU_MODE_DESC_LEN (9 + 9)\n// DFU runtime descriptor\n-// Interface number, string...
C
MIT License
hathach/tinyusb
Remove unused alt_setting
281,139
22.04.2021 16:47:05
14,400
cc440ade81a72df3a605e0abc427a284b8bbc424
Remove custom status description table
[ { "change_type": "MODIFY", "old_path": "src/class/dfu/dfu_device.c", "new_path": "src/class/dfu/dfu_device.c", "diff": "@@ -292,7 +292,7 @@ static void dfu_req_getstatus_reply(uint8_t rhport, tusb_control_request_t const\nmemset((uint8_t *)&resp.bwPollTimeout, 0x00, 3);\n}\nresp.bState = _dfu_state_...
C
MIT License
hathach/tinyusb
Remove custom status description table
281,139
22.04.2021 17:00:57
14,400
8c80ddeb542007efd547eced028d9bb3e933d434
Fix statte check on DATA stage
[ { "change_type": "MODIFY", "old_path": "src/class/dfu/dfu_device.c", "new_path": "src/class/dfu/dfu_device.c", "diff": "@@ -58,7 +58,7 @@ CFG_TUSB_MEM_SECTION static dfu_state_ctx_t _dfu_state_ctx;\nstatic void dfu_req_dnload_setup(uint8_t rhport, tusb_control_request_t const * request);\nstatic voi...
C
MIT License
hathach/tinyusb
Fix statte check on DATA stage
281,139
22.04.2021 17:45:33
14,400
b8e5885c2b97725e30ff57e6adc8cb7696711f28
Removes polltimeout behaviour and restructures Moves dfu_req_dnload_reply to ACK stage of a DNREQUEST. Removes unneeded variables due to other simplifications.
[ { "change_type": "MODIFY", "old_path": "src/class/dfu/dfu_device.c", "new_path": "src/class/dfu/dfu_device.c", "diff": "@@ -44,10 +44,6 @@ typedef struct TU_ATTR_PACKED\ndfu_state_t state;\nuint8_t attrs;\nbool blk_transfer_in_proc;\n-\n- uint8_t itf_num;\n- uint16_t last_block_num;\n- uint16_t last...
C
MIT License
hathach/tinyusb
Removes polltimeout behaviour and restructures Moves dfu_req_dnload_reply to ACK stage of a DNREQUEST. Removes unneeded variables due to other simplifications.
281,042
22.04.2021 21:47:51
14,400
7998f11258cec71dd1ea5703a7e7f241fbfbc756
USBTMC: remove reference to visa DLL (which only was for windows, and auto-select instead.
[ { "change_type": "MODIFY", "old_path": "examples/device/usbtmc/visaQuery.py", "new_path": "examples/device/usbtmc/visaQuery.py", "diff": "@@ -143,7 +143,7 @@ def test_stall_ep0():\nassert (inst.read_stb() == 0)\n-rm = visa.ResourceManager(\"/c/Windows/system32/visa64.dll\")\n+rm = visa.ResourceManag...
C
MIT License
hathach/tinyusb
USBTMC: remove reference to visa DLL (which only was for windows, and auto-select instead.
281,097
23.04.2021 10:27:48
-7,200
03f974c9b92bf9e0fc6e74ab4d15ad77a4a8b339
Implement functions to allow for DMA usage in audio driver. Add tud_audio_n_get_ep_out_ff(), tud_audio_n_get_ep_in_ff(), tud_audio_n_get_rx_support_ff(), and tud_audio_n_get_tx_support_ff() Change get_linear_read/write_info() to return linear and wrapped part at once Adjusted affected code in audio_device.c and tested with audio_4_channel.
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.c", "new_path": "src/class/audio/audio_device.c", "diff": "@@ -447,27 +447,39 @@ bool tud_audio_n_clear_ep_out_ff(uint8_t func_id)\nreturn tu_fifo_clear(&_audiod_fct[func_id].ep_out_ff);\n}\n+tu_fifo_t* tud_audio_n_get_ep_out_ff(ui...
C
MIT License
hathach/tinyusb
Implement functions to allow for DMA usage in audio driver. - Add tud_audio_n_get_ep_out_ff(), tud_audio_n_get_ep_in_ff(), tud_audio_n_get_rx_support_ff(), and tud_audio_n_get_tx_support_ff() - Change get_linear_read/write_info() to return linear and wrapped part at once - Adjusted affected code in audio_device.c and tested with audio_4_channel.
281,097
23.04.2021 10:47:22
-7,200
a98d0217a05129b36d2eef76f36b986c31f84e92
Init len_wrap = 0 to fix compiler complains.
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.c", "new_path": "src/class/audio/audio_device.c", "diff": "@@ -650,7 +650,7 @@ static bool audiod_decode_type_I_pcm(uint8_t rhport, audiod_function_t* audio, u\nvoid * dst, * dst_wrap;\nuint8_t * src;\nuint8_t * dst_end;\n- uint16_...
C
MIT License
hathach/tinyusb
Init len_wrap = 0 to fix compiler complains.
281,097
23.04.2021 11:48:54
-7,200
7072f0155e994005d8a0ccf5658f765df8a443b8
Change tu_fifo_get_linear_write/read_info() to return a struct Compilers always complain that variables set by function via pointer might be uninitialized so to avoid that return values are now delivered via struct.
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.c", "new_path": "src/class/audio/audio_device.c", "diff": "@@ -647,26 +647,26 @@ static bool audiod_decode_type_I_pcm(uint8_t rhport, audiod_function_t* audio, u\nuint8_t cnt_ff;\n// Decode\n- void * dst, * dst_wrap;\nuint8_t * src...
C
MIT License
hathach/tinyusb
Change tu_fifo_get_linear_write/read_info() to return a struct Compilers always complain that variables set by function via pointer might be uninitialized so to avoid that return values are now delivered via struct.
281,113
26.04.2021 10:26:46
-7,200
fd7337fe0460efd0426ec0d38fca5b9a8ba1ad2c
mcu_link: Board support for MCU_LINK with LPC55S69JBD64
[ { "change_type": "ADD", "old_path": null, "new_path": "hw/bsp/lpc55/boards/mcu_link/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 software and ...
C
MIT License
hathach/tinyusb
mcu_link: Board support for MCU_LINK with LPC55S69JBD64
281,139
29.04.2021 16:04:18
14,400
f830800d00520ed2a91d9095e77738f4558324b2
Fix typo and clean up reset
[ { "change_type": "MODIFY", "old_path": "src/class/dfu/dfu_device.c", "new_path": "src/class/dfu/dfu_device.c", "diff": "@@ -140,7 +140,7 @@ static tu_lookup_table_t const _dfu_status_table =\n//--------------------------------------------------------------------+\nvoid dfu_moded_init(void)\n{\n- _df...
C
MIT License
hathach/tinyusb
Fix typo and clean up reset
281,097
30.04.2021 12:59:12
-7,200
8f72c97f7b0fa14badbc36497fba2c6d21cb59d0
Change read infos to pointer type
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.c", "new_path": "src/class/audio/audio_device.c", "diff": "@@ -650,13 +650,15 @@ static bool audiod_decode_type_I_pcm(uint8_t rhport, audiod_function_t* audio, u\nuint8_t * src;\nuint8_t * dst_end;\n- tu_fifo_linear_wr_info info;\n...
C
MIT License
hathach/tinyusb
Change read infos to pointer type
281,097
30.04.2021 13:39:55
-7,200
5f268608d7c15551adddaf20f4b96c0ac1df4633
Remove offset feature from fifo.c
[ { "change_type": "MODIFY", "old_path": "src/common/tusb_fifo.c", "new_path": "src/common/tusb_fifo.c", "diff": "@@ -348,9 +348,9 @@ static uint16_t backward_pointer(tu_fifo_t* f, uint16_t p, uint16_t offset)\n}\n// get relative from absolute pointer\n-static uint16_t get_relative_pointer(tu_fifo_t* ...
C
MIT License
hathach/tinyusb
Remove offset feature from fifo.c
281,097
30.04.2021 14:56:14
-7,200
de933c45bc627f930e1951ee606aa76784af47cf
Remove all remainings with peek_at
[ { "change_type": "MODIFY", "old_path": "src/class/cdc/cdc_device.c", "new_path": "src/class/cdc/cdc_device.c", "diff": "@@ -146,9 +146,9 @@ uint32_t tud_cdc_n_read(uint8_t itf, void* buffer, uint32_t bufsize)\nreturn num_read;\n}\n-bool tud_cdc_n_peek(uint8_t itf, int pos, uint8_t* chr)\n+bool tud_c...
C
MIT License
hathach/tinyusb
Remove all remainings with peek_at
281,097
30.04.2021 15:08:14
-7,200
14e2c004cd9db7d386beb2b91804f8e4dfea55f1
Remove variable n in tu_fifo_get_read_info()
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.c", "new_path": "src/class/audio/audio_device.c", "diff": "@@ -985,13 +985,19 @@ static uint16_t audiod_encode_type_I_pcm(uint8_t rhport, audiod_function_t* audi\n{\ndst = &audio->lin_buf_in[cnt_ff*audio->n_channels_per_ff_tx*audio...
C
MIT License
hathach/tinyusb
Remove variable n in tu_fifo_get_read_info()
281,097
30.04.2021 15:42:27
-7,200
54f332fae095c1bc15d631fd3b5ef79f8a707578
Fix cdc peeks()
[ { "change_type": "MODIFY", "old_path": "src/class/cdc/cdc_device.h", "new_path": "src/class/cdc/cdc_device.h", "diff": "@@ -117,7 +117,7 @@ static inline uint32_t tud_cdc_available (void);\nstatic inline int32_t tud_cdc_read_char (void);\nstatic inline uint32_t tud_cdc_read (void* buffer, uint32_t b...
C
MIT License
hathach/tinyusb
Fix cdc peeks()
281,097
30.04.2021 17:23:34
-7,200
6acfa14fec1805b6f875f4bdbe00360065e72731
Fix bug in cdc_peek
[ { "change_type": "MODIFY", "old_path": "src/class/cdc/cdc_device.h", "new_path": "src/class/cdc/cdc_device.h", "diff": "@@ -209,7 +209,7 @@ static inline void tud_cdc_read_flush (void)\nstatic inline bool tud_cdc_peek (uint8_t* u8)\n{\n- return tud_cdc_n_peek(u8);\n+ return tud_cdc_n_peek(0, u8);\n}...
C
MIT License
hathach/tinyusb
Fix bug in cdc_peek
281,097
30.04.2021 17:37:14
-7,200
5add664874f4855491e28c3a869105eb25c5f4d7
Remove n from tu_fifo_get_write_info() and fix bug in vendor class
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.c", "new_path": "src/class/audio/audio_device.c", "diff": "@@ -654,15 +654,17 @@ static bool audiod_decode_type_I_pcm(uint8_t rhport, audiod_function_t* audio, u\nfor (cnt_ff = 0; cnt_ff < n_ff_used; cnt_ff++)\n{\n- tu_fifo_get_wri...
C
MIT License
hathach/tinyusb
Remove n from tu_fifo_get_write_info() and fix bug in vendor class
281,139
05.05.2021 17:42:38
14,400
dab1ed6b327a41976a2d4968d80747ac35fde113
Add example to be tested Update API description.
[ { "change_type": "ADD", "old_path": null, "new_path": "examples/device/dfu/CMakeLists.txt", "diff": "+# use directory name for project id\n+get_filename_component(PROJECT ${CMAKE_CURRENT_SOURCE_DIR} NAME)\n+set(PROJECT ${BOARD}-${PROJECT})\n+\n+# TOP is absolute path to root directory of TinyUSB git...
C
MIT License
hathach/tinyusb
Add example to be tested Update API description.
281,155
07.05.2021 16:35:22
14,400
5316c4e84adbe68571970f988b4e03e94dd3fac8
Update main.c Added new RTOS names to the name string array in print_greeting() in the host example program. The program seemed to hang when a new RTOS was indexed in CFG_TUSB_OS.
[ { "change_type": "MODIFY", "old_path": "examples/host/cdc_msc_hid/src/main.c", "new_path": "examples/host/cdc_msc_hid/src/main.c", "diff": "@@ -310,6 +310,10 @@ void print_greeting(void)\n{\n[OPT_OS_NONE] = \"None\",\n[OPT_OS_FREERTOS] = \"FreeRTOS\",\n+ [OPT_OS_MYNEWT] = \"Mynewt OS\",\n+ [OPT_OS_C...
C
MIT License
hathach/tinyusb
Update main.c Added new RTOS names to the name string array in print_greeting() in the host example program. The program seemed to hang when a new RTOS was indexed in CFG_TUSB_OS.
281,155
07.05.2021 16:49:48
14,400
13b510ad8e6c76e36cf63ec2931d6cf3f6840114
Update hcd_rp2040.c Remove reference to the deprecated "num" and "in" members of struct hw_endpoint which still exist in an assert statement and break DEBUG builds.
[ { "change_type": "MODIFY", "old_path": "src/portable/raspberrypi/rp2040/hcd_rp2040.c", "new_path": "src/portable/raspberrypi/rp2040/hcd_rp2040.c", "diff": "@@ -487,7 +487,6 @@ bool hcd_setup_send(uint8_t rhport, uint8_t dev_addr, uint8_t const setup_packet\n// EP0 out\n_hw_endpoint_init(ep, dev_addr...
C
MIT License
hathach/tinyusb
Update hcd_rp2040.c Remove reference to the deprecated "num" and "in" members of struct hw_endpoint which still exist in an assert statement and break DEBUG builds.
281,155
09.05.2021 19:11:29
14,400
0621df8d26a860ec31a2c66e8ba55f3366df7071
Update main.c Fix code where HID keyboard was being stuffed into the HID mouse buffer.
[ { "change_type": "MODIFY", "old_path": "examples/host/cdc_msc_hid/src/main.c", "new_path": "examples/host/cdc_msc_hid/src/main.c", "diff": "@@ -262,7 +262,7 @@ void hid_task(void)\nif ( !tuh_hid_keyboard_is_busy(addr) )\n{\nprocess_kbd_report(&usb_keyboard_report);\n- tuh_hid_keyboard_get_report(add...
C
MIT License
hathach/tinyusb
Update main.c Fix code where HID keyboard was being stuffed into the HID mouse buffer.
281,094
10.05.2021 17:19:44
-32,400
5d69b2ac4ddd7dd1cf54b0bad5fd74f6bbbaf2f5
fix hid report descriptor
[ { "change_type": "MODIFY", "old_path": "src/class/hid/hid_device.h", "new_path": "src/class/hid/hid_device.h", "diff": "@@ -184,9 +184,9 @@ static inline bool tud_hid_mouse_report(uint8_t report_id, uint8_t buttons, int8\n/* 6-byte Keycodes */ \\\nHID_USAGE_PAGE ( HID_USAGE_PAGE_KEYBOARD ) ,\\\nHID_...
C
MIT License
hathach/tinyusb
fix hid report descriptor
281,155
10.05.2021 10:09:09
14,400
72f52020864bb8980fa6c5adc7bf31d1c233d133
Update trace statements that referenced deprecated structure elements.
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "@@ -26,3 +26,4 @@ cov-int\n# cppcheck build directories\n*-build-dir\n/_bin/\n+examples/host/cdc_msc_hid/setup.bat\n" }, { "change_type": "MODIFY", "old_path": "src/portable/raspberrypi/rp2040/hcd_rp2...
C
MIT License
hathach/tinyusb
Update trace statements that referenced deprecated structure elements.
281,080
20.05.2021 17:41:07
-28,800
0b1257266bd301d7eaf7f11634f5fb193c2811a8
fix uac2_headset example: type of bRequest should be uint8_t, not enumerate
[ { "change_type": "MODIFY", "old_path": "examples/device/uac2_headset/src/main.c", "new_path": "examples/device/uac2_headset/src/main.c", "diff": "@@ -149,7 +149,7 @@ typedef struct TU_ATTR_PACKED\nuint8_t bmRequestType;\n};\n- audio_cs_req_t bRequest;\n+ uint8_t bRequest; ///< Request type audio_cs_...
C
MIT License
hathach/tinyusb
fix uac2_headset example: type of bRequest should be uint8_t, not enumerate
281,080
26.05.2021 11:45:45
-28,800
aca2320075e6cad95e7c53a68c7633585d8db7e4
fix uac2_headset example tud_audio_rx_done_cb() is departed, replace with tud_audio_rx_done_pre_read_cb()
[ { "change_type": "MODIFY", "old_path": "examples/device/uac2_headset/src/main.c", "new_path": "examples/device/uac2_headset/src/main.c", "diff": "@@ -332,13 +332,14 @@ bool tud_audio_set_itf_cb(uint8_t rhport, tusb_control_request_t const * p_reque\nreturn true;\n}\n-bool tud_audio_rx_done_cb(uint8_...
C
MIT License
hathach/tinyusb
fix uac2_headset example tud_audio_rx_done_cb() is departed, replace with tud_audio_rx_done_pre_read_cb()
281,035
08.04.2021 12:15:15
18,000
3973ec4b5e457aecf742da47dac3c91d1a143865
rp2040: fix debug compilation error
[ { "change_type": "MODIFY", "old_path": "src/portable/raspberrypi/rp2040/hcd_rp2040.c", "new_path": "src/portable/raspberrypi/rp2040/hcd_rp2040.c", "diff": "@@ -294,7 +294,6 @@ static void _hw_endpoint_init(struct hw_endpoint *ep, uint8_t dev_addr, uint8_t\nuint8_t const num = tu_edpt_number(ep_addr)...
C
MIT License
hathach/tinyusb
rp2040: fix debug compilation error
281,035
30.05.2021 18:37:51
18,000
edbccb5e19692a95d72f0467901818a0e1cf7251
don't override CFG_TUSB_OS in cdc_dual_ports example
[ { "change_type": "MODIFY", "old_path": "examples/device/cdc_dual_ports/src/tusb_config.h", "new_path": "examples/device/cdc_dual_ports/src/tusb_config.h", "diff": "#error \"Incorrect RHPort configuration\"\n#endif\n-// This example doesn't use an RTOS\n+#ifndef CFG_TUSB_OS\n#define CFG_TUSB_OS OPT_O...
C
MIT License
hathach/tinyusb
don't override CFG_TUSB_OS in cdc_dual_ports example
281,035
31.05.2021 10:06:07
18,000
5d161b79bbf9116d36ecf4b08d24dfae1738235f
Fix up build_family style builds: - added back pre-existing board directories which now just select PICO_BOARD - added boards/pico_sdk which just uses the pre-existing PICO_BOARD setting - fixed rp2040/family.cmake to include the magic string "CFG_TUSB_MCU=OPT_MCU_RP2040" expected by build_family.py
[ { "change_type": "MODIFY", "old_path": "examples/device/board_test/CMakeLists.txt", "new_path": "examples/device/board_test/CMakeLists.txt", "diff": "@@ -17,12 +17,14 @@ if(FAMILY MATCHES \"^esp32s[2-3]\")\nelse()\n- # Family chooses name based on passed name and vars (e.g. <BOARD>-<DIR_NAME>)\n- ge...
C
MIT License
hathach/tinyusb
Fix up build_family style builds: - added back pre-existing board directories which now just select PICO_BOARD - added boards/pico_sdk which just uses the pre-existing PICO_BOARD setting - fixed rp2040/family.cmake to include the magic string "CFG_TUSB_MCU=OPT_MCU_RP2040" expected by build_family.py
281,035
31.05.2021 10:58:14
18,000
13951b43c22ffe5bad531c2d7e5d22d540e82118
set PICO_TINYUSB_PATH for when building from within tinyusb without pico-sdk/tinyusb submodule
[ { "change_type": "MODIFY", "old_path": "hw/bsp/rp2040/family.cmake", "new_path": "hw/bsp/rp2040/family.cmake", "diff": "@@ -20,6 +20,10 @@ if (NOT TARGET _rp2040_family_inclusion_marker)\nset(TOP \"../../..\")\nget_filename_component(TOP \"${TOP}\" REALPATH)\n+ if (NOT PICO_TINYUSB_PATH)\n+ set(PICO...
C
MIT License
hathach/tinyusb
set PICO_TINYUSB_PATH for when building from within tinyusb without pico-sdk/tinyusb submodule
281,035
31.05.2021 11:10:55
18,000
db138a530cadfc91241ac158a188cefe7452c90e
Switch checks to use tinyusb-0.10.0 branch of pico-sdk due to circular dependency
[ { "change_type": "MODIFY", "old_path": ".github/workflows/build.yml", "new_path": ".github/workflows/build.yml", "diff": "@@ -68,6 +68,7 @@ jobs:\nif: matrix.family == 'rp2040'\nrun: |\ngit clone --depth 1 https://github.com/raspberrypi/pico-sdk ~/pico-sdk\n+ git checkout tinyusb-0.10.0\necho >> $GI...
C
MIT License
hathach/tinyusb
Switch checks to use tinyusb-0.10.0 branch of pico-sdk due to circular dependency
281,035
31.05.2021 11:18:26
18,000
90d7483d925eab3ab2c05d286d0671cb8ec66ecc
guard stdio_uart_init_full with LIB_PICO_STDUI_UART as the function doesn't exist otherwise
[ { "change_type": "MODIFY", "old_path": "hw/bsp/rp2040/family.c", "new_path": "hw/bsp/rp2040/family.c", "diff": "@@ -127,7 +127,7 @@ void board_init(void)\n#ifndef BUTTON_BOOTSEL\n#endif\n-#ifdef UART_DEV\n+#if defined(UART_DEV) && defined(LIB_PICO_STDIO_UART)\nbi_decl(bi_2pins_with_func(UART_TX_PIN,...
C
MIT License
hathach/tinyusb
guard stdio_uart_init_full with LIB_PICO_STDUI_UART as the function doesn't exist otherwise
281,035
31.05.2021 11:23:14
18,000
9b17acd1683cc6cd4ea1835991daf15fe8e2e368
actually fix pico-sdk checkout to checkout the right branch
[ { "change_type": "MODIFY", "old_path": ".github/workflows/build.yml", "new_path": ".github/workflows/build.yml", "diff": "@@ -67,8 +67,7 @@ jobs:\n- name: Checkout pico-sdk\nif: matrix.family == 'rp2040'\nrun: |\n- git clone --depth 1 https://github.com/raspberrypi/pico-sdk ~/pico-sdk\n- git checkou...
C
MIT License
hathach/tinyusb
actually fix pico-sdk checkout to checkout the right branch
281,100
01.06.2021 13:36:19
-25,200
abf83c6985c62234256f56cf0872fe93e7451ff3
add note for custom class driver
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -65,6 +65,8 @@ Supports multiple device configurations by dynamically changing usb descriptors.\n- Vendor-specific class support with generic In & Out endpoints. Can be used with MS OS 2.0 compatible descriptor ...
C
MIT License
hathach/tinyusb
add note for custom class driver
281,035
01.06.2021 09:04:08
18,000
8782d0b8df507a0d2e1f7a12a27a76d50e0d4477
fix rp2040 examples build from local tinyusb tree
[ { "change_type": "MODIFY", "old_path": "hw/bsp/rp2040/family.cmake", "new_path": "hw/bsp/rp2040/family.cmake", "diff": "@@ -17,7 +17,7 @@ if (NOT TARGET _rp2040_family_inclusion_marker)\ninclude(${CMAKE_CURRENT_LIST_DIR}/boards/${BOARD}/board.cmake)\n# TOP is absolute path to root directory of TinyU...
C
MIT License
hathach/tinyusb
fix rp2040 examples build from local tinyusb tree
281,035
01.06.2021 09:09:25
18,000
6e29bf6e54ce08edb2ad5936805af0746639ff39
rename family.cmake to family_common.cmake
[ { "change_type": "MODIFY", "old_path": "hw/bsp/esp32s2/family.cmake", "new_path": "hw/bsp/esp32s2/family.cmake", "diff": "@@ -7,4 +7,4 @@ set(SUPPORTED_TARGETS esp32s2)\n# include basic family CMake functionality\nset(FAMILY_MCUS ESP32S2)\n-include(${CMAKE_CURRENT_LIST_DIR}/../family.cmake)\n+includ...
C
MIT License
hathach/tinyusb
rename family.cmake to family_common.cmake
281,035
01.06.2021 11:21:19
18,000
109d02531e3ba208627b4dfab29d29df3d8a4565
remove TINYUSB_FAMILT_PROJECT_NAME_INCLUDES_BOARD setting
[ { "change_type": "MODIFY", "old_path": "hw/bsp/family_common.cmake", "new_path": "hw/bsp/family_common.cmake", "diff": "@@ -35,11 +35,7 @@ endfunction()\nfunction(family_get_project_name OUTPUT_NAME DIR)\nget_filename_component(SHORT_NAME ${DIR} NAME)\n- if (TINYUSB_FAMILY_PROJECT_NAME_INCLUDES_BOAR...
C
MIT License
hathach/tinyusb
remove TINYUSB_FAMILT_PROJECT_NAME_INCLUDES_BOARD setting
281,035
02.06.2021 08:32:21
18,000
bef33d108a2f183227ccbc1f2027f354415a39fb
move core definition of source file includes from SDK into family.cmake only build webserver example if lwip submodule initialized
[ { "change_type": "MODIFY", "old_path": "examples/device/net_lwip_webserver/CMakeLists.txt", "new_path": "examples/device/net_lwip_webserver/CMakeLists.txt", "diff": "cmake_minimum_required(VERSION 3.5)\n+if (EXISTS ${TOP}/lib/lwip/src)\nset(TOP \"../../..\")\nget_filename_component(TOP \"${TOP}\" RE...
C
MIT License
hathach/tinyusb
move core definition of source file includes from SDK into family.cmake only build webserver example if lwip submodule initialized
281,035
02.06.2021 09:52:49
18,000
1fb211f3900d4ce27083930edf4d8a107c7d4610
minor comment change to force rebuild
[ { "change_type": "MODIFY", "old_path": "hw/bsp/rp2040/family.cmake", "new_path": "hw/bsp/rp2040/family.cmake", "diff": "@@ -2,9 +2,6 @@ cmake_minimum_required(VERSION 3.13)\nif (NOT TARGET _rp2040_family_inclusion_marker)\nadd_library(_rp2040_family_inclusion_marker INTERFACE)\n- # include basic fam...
C
MIT License
hathach/tinyusb
minor comment change to force rebuild
281,035
02.06.2021 11:30:42
18,000
de436e1f766c136edaec298d11c55edd937678fe
undo search replace error
[ { "change_type": "MODIFY", "old_path": "hw/bsp/rp2040/family.cmake", "new_path": "hw/bsp/rp2040/family.cmake", "diff": "@@ -19,8 +19,8 @@ if (NOT TARGET _rp2040_family_inclusion_marker)\nset(TOP \"${CMAKE_CURRENT_LIST_DIR}/../../..\")\nget_filename_component(TOP \"${TOP}\" REALPATH)\n- if (NOT TOP)\...
C
MIT License
hathach/tinyusb
undo search replace error
281,035
02.06.2021 12:37:12
18,000
fea5cbaf74a033d3f0c462b6bf2d334a67f6a732
fixed net_lwip_webserver cmake build
[ { "change_type": "MODIFY", "old_path": "examples/device/net_lwip_webserver/CMakeLists.txt", "new_path": "examples/device/net_lwip_webserver/CMakeLists.txt", "diff": "cmake_minimum_required(VERSION 3.5)\n-if (EXISTS ${TOP}/lib/lwip/src)\nset(TOP \"../../..\")\nget_filename_component(TOP \"${TOP}\" RE...
C
MIT License
hathach/tinyusb
fixed net_lwip_webserver cmake build
281,100
03.06.2021 01:16:27
-25,200
d49938d0f5052bce70e55c652b657c0a6a7e84fe
change ci to pico-sdk develop
[ { "change_type": "MODIFY", "old_path": ".github/workflows/build.yml", "new_path": ".github/workflows/build.yml", "diff": "@@ -67,7 +67,7 @@ jobs:\n- name: Checkout pico-sdk\nif: matrix.family == 'rp2040'\nrun: |\n- git clone --depth 1 -b tinyusb-0.10.0 https://github.com/raspberrypi/pico-sdk ~/pico-...
C
MIT License
hathach/tinyusb
change ci to pico-sdk develop
281,069
02.06.2021 21:33:32
-7,200
e26cf6b26ca0d7c54f71332896d4bed9c418844a
Missing RX device dependency corrected
[ { "change_type": "MODIFY", "old_path": "src/portable/renesas/usba/dcd_usba.c", "new_path": "src/portable/renesas/usba/dcd_usba.c", "diff": "@@ -566,9 +566,9 @@ void dcd_init(uint8_t rhport)\nUSB0.SYSCFG.BIT.DCFM = 0;\nUSB0.SYSCFG.BIT.USBE = 1;\n- USB0.PHYSLEW.LONG = 0x5;\nUSB.DPUSR0R.BIT.FIXPHY0 = 0...
C
MIT License
hathach/tinyusb
Missing RX device dependency corrected
281,035
03.06.2021 10:10:44
18,000
c81bc38d422f419cd8949019fd5f2eadc9ec2333
Add __unused to variables that are only used if TU_LOG does something
[ { "change_type": "MODIFY", "old_path": "src/portable/raspberrypi/rp2040/rp2040_usb.h", "new_path": "src/portable/raspberrypi/rp2040/rp2040_usb.h", "diff": "@@ -134,11 +134,11 @@ typedef union TU_ATTR_PACKED\nTU_VERIFY_STATIC(sizeof(rp2040_buffer_control_t) == 2, \"size is not correct\");\n-static in...
C
MIT License
hathach/tinyusb
Add __unused to variables that are only used if TU_LOG does something
281,134
07.06.2021 18:32:46
-28,800
26b9fc38ed5a525428d81e4ebfc05bfc366083e8
Add MM32 SDK and USB driver * Add MM32 SDK and USB driver * add mindmotion mm32sdk as submodule remove the local copy of mm32 * mit license
[ { "change_type": "MODIFY", "old_path": ".gitmodules", "new_path": ".gitmodules", "diff": "[submodule \"hw/mcu/nxp/nxp_sdk\"]\npath = hw/mcu/nxp/nxp_sdk\nurl = https://github.com/hathach/nxp_sdk.git\n+[submodule \"hw/mcu/mindmotion/mm32sdk\"]\n+ path = hw/mcu/mindmotion/mm32sdk\n+ url = https://githu...
C
MIT License
hathach/tinyusb
Add MM32 SDK and USB driver (#869) * Add MM32 SDK and USB driver * add mindmotion mm32sdk as submodule remove the local copy of mm32 * mit license Signed-off-by: zhangslice <1304224508@qq.com> Co-authored-by: hathach <thach@tinyusb.org>
281,082
09.06.2021 12:14:04
-7,200
a8abbcc34df72ff5a63d5567d26276ce84e6d162
Change buttons to start from 0
[ { "change_type": "MODIFY", "old_path": "src/class/hid/hid.h", "new_path": "src/class/hid/hid.h", "diff": "@@ -222,24 +222,23 @@ typedef enum\nGAMEPAD_BUTTON_MODE = TU_BIT(12), ///< Mode button\nGAMEPAD_BUTTON_THUMBL = TU_BIT(13), ///< L3 button\nGAMEPAD_BUTTON_THUMBR = TU_BIT(14), ///< R3 button\n- ...
C
MIT License
hathach/tinyusb
Change buttons to start from 0
281,039
03.03.2021 10:14:41
-3,600
f8aa4b3ff3e3db71e752d9278bc248fb9e066f75
Add sketchy SAME70 DCD driver.
[ { "change_type": "MODIFY", "old_path": "examples/device/cdc_dual_ports/src/tusb_config.h", "new_path": "examples/device/cdc_dual_ports/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_SPE...
C
MIT License
hathach/tinyusb
Add sketchy SAME70 DCD driver.
281,039
03.03.2021 19:33:36
-3,600
e7bee80948bdb5132e815eaaf957b75f691cfaa3
Add OPT_MCU_SAME70 option value.
[ { "change_type": "MODIFY", "old_path": "src/tusb_option.h", "new_path": "src/tusb_option.h", "diff": "#define OPT_MCU_SAME5X 203 ///< MicroChip SAM E5x\n#define OPT_MCU_SAMD11 204 ///< MicroChip SAMD11\n#define OPT_MCU_SAML22 205 ///< MicroChip SAML22\n+#define OPT_MCU_SAME70 206 ///< MicroChip SAME...
C
MIT License
hathach/tinyusb
Add OPT_MCU_SAME70 option value.
281,039
03.03.2021 19:34:53
-3,600
4f4a33b3784729ff4d7bc91224350291d2367ea3
Seems like fixed ep0 issues, code format.
[ { "change_type": "MODIFY", "old_path": "src/portable/microchip/same70/dcd_same70.c", "new_path": "src/portable/microchip/same70/dcd_same70.c", "diff": "* The MIT License (MIT)\n*\n* Copyright (c) 2018, hathach (tinyusb.org)\n-* Copyright (c) 2020, HiFiPhile\n+* Copyright (c) 2021, HiFiPhile\n*\n* Pe...
C
MIT License
hathach/tinyusb
Seems like fixed ep0 issues, code format. Signed-off-by: HiFiPhile <admin@hifiphile.com>
281,039
05.03.2021 17:15:02
-3,600
1dafcd1132deb10c824a0587b333e646b102e8aa
Add Full Speed switch Add DMA support Add Dual bank support
[ { "change_type": "MODIFY", "old_path": "src/portable/microchip/same70/dcd_same70.c", "new_path": "src/portable/microchip/same70/dcd_same70.c", "diff": "#include \"device/dcd.h\"\n#include \"sam.h\"\n-\n//--------------------------------------------------------------------+\n// MACRO TYPEDEF CONSTANT...
C
MIT License
hathach/tinyusb
- Add Full Speed switch - Add DMA support - Add Dual bank support Signed-off-by: HiFiPhile <admin@hifiphile.com>
281,039
11.06.2021 12:14:14
-7,200
c291deccfac7725a4e1f26357e133f32887e65aa
Add fifo & DMA linked list mode support.
[ { "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
Add fifo & DMA linked list mode support.
281,039
12.06.2021 12:28:28
-7,200
85fc42356977cac4d893c33eff80937e6ff9b45a
Rename SAM7X to SAMX7X
[ { "change_type": "MODIFY", "old_path": "examples/device/cdc_dual_ports/src/tusb_config.h", "new_path": "examples/device/cdc_dual_ports/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_SPE...
C
MIT License
hathach/tinyusb
Rename SAM7X to SAMX7X Signed-off-by: MasterPhi <admin@hifiphile.com>
281,157
15.06.2021 00:01:28
18,000
7bed7d70f06e291bf4ba4f5d6cfcc238b11c563b
add support SAML21
[ { "change_type": "MODIFY", "old_path": "hw/bsp/board_mcu.h", "new_path": "hw/bsp/board_mcu.h", "diff": "#elif CFG_TUSB_MCU == OPT_MCU_SAMD11 || CFG_TUSB_MCU == OPT_MCU_SAMD21 || \\\nCFG_TUSB_MCU == OPT_MCU_SAMD51 || CFG_TUSB_MCU == OPT_MCU_SAME5X || \\\n- CFG_TUSB_MCU == OPT_MCU_SAML22\n+ CFG_TUSB_M...
C
MIT License
hathach/tinyusb
add support SAML21
281,039
15.06.2021 17:53:09
-7,200
ca8e8041ef05ba06d7d01bf1567106a76a793cab
Fix resume, always init FS clock.
[ { "change_type": "MODIFY", "old_path": "examples/device/hid_composite/src/tusb_config.h", "new_path": "examples/device/hid_composite/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...
C
MIT License
hathach/tinyusb
Fix resume, always init FS clock. Signed-off-by: MasterPhi <admin@hifiphile.com>
281,039
15.06.2021 19:11:53
-7,200
54dc694be4430e51d153405afa3b80d949479558
Use byte copy.
[ { "change_type": "MODIFY", "old_path": "src/portable/microchip/samx7x/dcd_samx7x.c", "new_path": "src/portable/microchip/samx7x/dcd_samx7x.c", "diff": "@@ -243,7 +243,9 @@ static void dcd_ep_handler(uint8_t ep_ix)\nuint8_t *ptr = EP_GET_FIFO_PTR(0,8);\nif (xfer->buffer)\n{\n- memcpy(xfer->buffer + x...
C
MIT License
hathach/tinyusb
Use byte copy.
281,039
15.06.2021 21:16:51
-7,200
6cc702e9ece9bbf32ac9ad4283407b4937c671a9
Prevent buffer overflow.
[ { "change_type": "MODIFY", "old_path": "src/portable/microchip/samx7x/dcd_samx7x.c", "new_path": "src/portable/microchip/samx7x/dcd_samx7x.c", "diff": "@@ -238,8 +238,13 @@ static void dcd_ep_handler(uint8_t ep_ix)\nif (int_status & USBHS_DEVEPTISR_RXOUTI)\n{\nxfer_ctl_t *xfer = &xfer_status[0];\n- ...
C
MIT License
hathach/tinyusb
Prevent buffer overflow. Signed-off-by: MasterPhi <admin@hifiphile.com>
281,039
15.06.2021 21:34:42
-7,200
67a6560ec9f379418cccc312ee09bb021e464716
Default use dual bank for FS, use dcd irq switch.
[ { "change_type": "MODIFY", "old_path": "src/portable/microchip/samx7x/dcd_samx7x.c", "new_path": "src/portable/microchip/samx7x/dcd_samx7x.c", "diff": "# if TUD_OPT_HIGH_SPEED\n# define USE_DUAL_BANK 0\n# else\n-# define USE_DUAL_BANK 0\n+# define USE_DUAL_BANK 1\n# endif\n#endif\n@@ -151,8 +151,7 @...
C
MIT License
hathach/tinyusb
Default use dual bank for FS, use dcd irq switch.
281,134
07.06.2021 16:58:27
-28,800
7b27607f1ae68b1348e12e3fb0264474bb825f9e
mit license
[ { "change_type": "MODIFY", "old_path": "src/portable/mm32/dcd_mm32f327x_otg.c", "new_path": "src/portable/mm32/dcd_mm32f327x_otg.c", "diff": "-////////////////////////////////////////////////////////////////////////////////\n-/// @file dcd_mm32f327x_otg.c\n-/// @author SE TEAM\n-/// @brief tinyusb d...
C
MIT License
hathach/tinyusb
mit license Signed-off-by: zhangslice <1304224508@qq.com>
281,134
17.06.2021 17:11:37
-28,800
0ae83458d517777c9f37857a182b0553dd647ffe
dsp updata
[ { "change_type": "ADD", "old_path": null, "new_path": "hw/bsp/mm32/mm32f327x/flash.ld", "diff": "+/*\n+ * The MIT License (MIT)\n+ *\n+ * Copyright (c) 2020 MM32 SE TEAM\n+ *\n+ * Permission is hereby granted, free of charge, to any person obtaining a copy\n+ * of this software and associated docume...
C
MIT License
hathach/tinyusb
dsp updata Signed-off-by: zhangslice <1304224508@qq.com>
281,105
18.06.2021 14:50:55
25,200
76336a67a05ee4b6676a438578819a48cb0f0420
Changed order of struct initializer to avoid compiler error
[ { "change_type": "MODIFY", "old_path": "src/common/tusb_fifo.h", "new_path": "src/common/tusb_fifo.h", "diff": "@@ -86,8 +86,8 @@ typedef struct\n.depth = _depth, \\\n.item_size = sizeof(_type), \\\n.overwritable = _overwritable, \\\n- .max_pointer_idx = 2*(_depth)-1, \\\n.non_used_index_space = UIN...
C
MIT License
hathach/tinyusb
Changed order of struct initializer to avoid compiler error
281,039
20.06.2021 15:38:20
-7,200
8433f638e64ce1b13fead28b4395d9a32c480548
Add bracket to switch case, fix warning.
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.c", "new_path": "src/class/audio/audio_device.c", "diff": "@@ -393,12 +393,12 @@ static uint8_t audiod_get_audio_fct_idx(audiod_function_t * audio);\n#if CFG_TUD_AUDIO_ENABLE_ENCODING || CFG_TUD_AUDIO_ENABLE_DECODING\nstatic void a...
C
MIT License
hathach/tinyusb
Add bracket to switch case, fix warning.
281,147
21.06.2021 05:32:43
-7,200
264dc35b95a2313201845f3612d3e807afad62c3
Fix typo in TUH configuration define
[ { "change_type": "MODIFY", "old_path": "examples/host/cdc_msc_hid/src/tusb_config.h", "new_path": "examples/host/cdc_msc_hid/src/tusb_config.h", "diff": "//--------------------------------------------------------------------\n// Size of buffer to hold descriptors and other data used for enumeration\...
C
MIT License
hathach/tinyusb
Fix typo in TUH configuration define
281,158
22.06.2021 00:20:08
-32,400
dccb3b1a4675b2ece3d860f5903eed70930b7478
change stdio channel to SCI5 from SCI0. change ports settings for LED and button. add PLL setting for 240MHz based on HOCO into HardwareSetup().
[ { "change_type": "MODIFY", "old_path": "hw/bsp/rx63n/boards/rx65n_cloud_kit/r5f565ne.ld", "new_path": "hw/bsp/rx63n/boards/rx65n_cloud_kit/r5f565ne.ld", "diff": "+__USTACK_SIZE = 0x00000200;\n+__ISTACK_SIZE = 0x00000200;\n+\nMEMORY\n{\n- RAM : ORIGIN = 0x0, LENGTH = 262144\n- RAM2 : ORIGIN = 0x00800...
C
MIT License
hathach/tinyusb
change stdio channel to SCI5 from SCI0. change ports settings for LED and button. add PLL setting for 240MHz based on HOCO into HardwareSetup().
281,139
23.06.2021 10:58:18
14,400
f5f087b2f85ebf4ff41c84c5f1a70a598d32cb21
Add dfu function memory access protection Adds TU_VERIFY to dfu internal buffer access from host. Adds TU_ASSERT to dfu internal buffer access by application.
[ { "change_type": "MODIFY", "old_path": "src/class/dfu/dfu_device.c", "new_path": "src/class/dfu/dfu_device.c", "diff": "@@ -249,6 +249,7 @@ static uint16_t dfu_req_upload(uint8_t rhport, tusb_control_request_t const * re\n{\nTU_VERIFY( wLength <= CFG_TUD_DFU_TRANSFER_BUFFER_SIZE);\nuint16_t retval =...
C
MIT License
hathach/tinyusb
Add dfu function memory access protection Adds TU_VERIFY to dfu internal buffer access from host. Adds TU_ASSERT to dfu internal buffer access by application.
281,039
24.06.2021 11:34:29
-7,200
9d6fd78b632db5b40e84e4c019f00286aae5d1ad
Add fifo helper function to CDC class for DMA transfer.
[ { "change_type": "MODIFY", "old_path": "src/class/cdc/cdc_device.c", "new_path": "src/class/cdc/cdc_device.c", "diff": "@@ -483,4 +483,18 @@ bool cdcd_xfer_cb(uint8_t rhport, uint8_t ep_addr, xfer_result_t result, uint32_\nreturn true;\n}\n+// Get the Receive FIFO (for DMA transfer)\n+tu_fifo_t* tud...
C
MIT License
hathach/tinyusb
Add fifo helper function to CDC class for DMA transfer.
281,158
26.06.2021 21:13:35
-32,400
60fedaa050b68201f03682bec3a5b16f4abc739e
fix baudrate setting
[ { "change_type": "MODIFY", "old_path": "hw/bsp/rx63n/boards/rx65n_cloud_kit/rx65n_cloud_kit.c", "new_path": "hw/bsp/rx63n/boards/rx65n_cloud_kit/rx65n_cloud_kit.c", "diff": "@@ -201,7 +201,9 @@ void board_init(void)\nSYSTEM.PRCR.WORD = SYSTEM_PRCR_PRKEY | SYSTEM_PRCR_PRC1;\nMSTP(SCI5) = 0;\nSYSTEM.P...
C
MIT License
hathach/tinyusb
fix baudrate setting
281,158
26.06.2021 22:42:27
-32,400
511b2d47d1be37bfa1d6f35ddee80393ec93d39c
add handling for software configurable interrupts.
[ { "change_type": "MODIFY", "old_path": "hw/bsp/rx63n/boards/rx65n_cloud_kit/board.mk", "new_path": "hw/bsp/rx63n/boards/rx65n_cloud_kit/board.mk", "diff": "CFLAGS += \\\n-mcpu=rx64m \\\n-misa=v2 \\\n- -DCFG_TUSB_MCU=OPT_MCU_RX65X\n+ -DCFG_TUSB_MCU=OPT_MCU_RX65X \\\n+ -DIR_USB0_USBI0=IR_PERIB_INTB185...
C
MIT License
hathach/tinyusb
add handling for software configurable interrupts.
281,158
26.06.2021 23:09:18
-32,400
393a9120ac0725ba525aa09fcf8e24fd32735391
add the entry for RX65N
[ { "change_type": "MODIFY", "old_path": "src/portable/renesas/usba/dcd_usba.c", "new_path": "src/portable/renesas/usba/dcd_usba.c", "diff": "#include \"tusb_option.h\"\n-#if TUSB_OPT_DEVICE_ENABLED && ( CFG_TUSB_MCU == OPT_MCU_RX63X )\n-\n+#if TUSB_OPT_DEVICE_ENABLED && ( CFG_TUSB_MCU == OPT_MCU_RX63...
C
MIT License
hathach/tinyusb
add the entry for RX65N
281,122
26.06.2021 17:03:46
-7,200
b5ce269675c4d220806126cc76f8c57406da27d2
GCC 11 build fix During Adafruit Bootloader compilation, I spotted bellow error which do not allow me build project. ``` c inlined from 'hfclk_running' at lib/tinyusb/src/portable/nordic/nrf5x/dcd_nrf5x.c:785:13: lib/tinyusb/src/portable/nordic/nrf5x/dcd_nrf5x.c:792:31: error: 'is_running' may be used uninitialized [-Werror=maybe-uninitialized] 792 | return (is_running ? true : false); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ ```
[ { "change_type": "MODIFY", "old_path": "src/portable/nordic/nrf5x/dcd_nrf5x.c", "new_path": "src/portable/nordic/nrf5x/dcd_nrf5x.c", "diff": "@@ -787,7 +787,7 @@ static bool hfclk_running(void)\n#ifdef SOFTDEVICE_PRESENT\nif ( is_sd_enabled() )\n{\n- uint32_t is_running;\n+ uint32_t is_running = 0;\...
C
MIT License
hathach/tinyusb
GCC 11 build fix During Adafruit Bootloader compilation, I spotted bellow error which do not allow me build project. ``` c inlined from 'hfclk_running' at lib/tinyusb/src/portable/nordic/nrf5x/dcd_nrf5x.c:785:13: lib/tinyusb/src/portable/nordic/nrf5x/dcd_nrf5x.c:792:31: error: 'is_running' may be used uninitialized [-Werror=maybe-uninitialized] 792 | return (is_running ? true : false); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ ```
281,158
27.06.2021 23:39:50
-32,400
239ecadeca9312af8c0777b9e41fbd25187f45be
add options for e2l
[ { "change_type": "MODIFY", "old_path": "hw/bsp/rx63n/boards/rx65n_cloud_kit/board.mk", "new_path": "hw/bsp/rx63n/boards/rx65n_cloud_kit/board.mk", "diff": "@@ -52,4 +52,4 @@ PYOCD_TARGET =\n# flash using rfp-cli\nflash: $(BUILD)/$(PROJECT).mot\n- rfp-cli -device rx65x -tool e2l -auto $^\n+ rfp-cli -...
C
MIT License
hathach/tinyusb
add options for e2l
281,039
29.06.2021 10:57:26
-7,200
5877f20d4b5d54b2dfe310fedddf1c30fe6dc66c
Fix IAR compile error on pointer type. Clean up warnings.
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.c", "new_path": "src/class/audio/audio_device.c", "diff": "@@ -885,7 +885,7 @@ range [-1, +1)\n* */\n// Helper function\n-static inline uint8_t * audiod_interleaved_copy_bytes_fast_encode(uint16_t const nBytesToCopy, void * src, ui...
C
MIT License
hathach/tinyusb
Fix IAR compile error on pointer type. Clean up warnings. Signed-off-by: MasterPhi <admin@hifiphile.com>
281,069
29.06.2021 21:45:18
-7,200
4c0cce4b1df707aa1aeb5e861971b5b31e94a416
Make toolchain dependency more consistent
[ { "change_type": "MODIFY", "old_path": "src/portable/renesas/usba/dcd_usba.c", "new_path": "src/portable/renesas/usba/dcd_usba.c", "diff": "@@ -521,10 +521,10 @@ static void process_set_address(uint8_t rhport)\nconst uint32_t addr = USB0.USBADDR.BIT.USBADDR;\nif (!addr) return;\nconst tusb_control_r...
C
MIT License
hathach/tinyusb
Make toolchain dependency more consistent
281,039
30.06.2021 16:50:32
-7,200
2b2549b57316033e544e3261334e3e20224563ce
Fix fifo overflow correction.
[ { "change_type": "MODIFY", "old_path": "src/common/tusb_fifo.c", "new_path": "src/common/tusb_fifo.c", "diff": "@@ -342,7 +342,7 @@ static uint16_t backward_pointer(tu_fifo_t* f, uint16_t p, uint16_t offset)\n// We limit the index space of p such that a correct wrap around happens\n// Check for a wr...
C
MIT License
hathach/tinyusb
Fix fifo overflow correction.
281,039
30.06.2021 20:26:27
-7,200
7321972380b7bf74557293ba975e912f2941ae02
Force unsigned compare on advance_pointer.
[ { "change_type": "MODIFY", "old_path": "src/common/tusb_fifo.c", "new_path": "src/common/tusb_fifo.c", "diff": "@@ -325,7 +325,7 @@ static uint16_t advance_pointer(tu_fifo_t* f, uint16_t p, uint16_t offset)\n// We are exploiting the wrap around to the correct index\n// TODO warning: assuming signed ...
C
MIT License
hathach/tinyusb
Force unsigned compare on advance_pointer.
281,039
30.06.2021 20:26:44
-7,200
74b51d43e1e8e14def49c140f8f063eb56c9e4d2
Add test CI.
[ { "change_type": "MODIFY", "old_path": "test/test/test_fifo.c", "new_path": "test/test/test_fifo.c", "diff": "@@ -292,3 +292,27 @@ void test_full(void)\n// write info\n}\n+\n+void test_rd_idx_wrap()\n+{\n+ tu_fifo_t ff10;\n+ uint8_t buf[10];\n+ uint8_t dst[10];\n+\n+ tu_fifo_config(&ff10, buf, 10, 1...
C
MIT License
hathach/tinyusb
Add test CI.
281,158
01.07.2021 00:19:03
-32,400
ea9ec1fb43eec29c00611335ea1c0585074f2b1b
extend stack areas to enable logging add dummy functions to avoid warnings when logging is enable remove codes regarding OPTLIB
[ { "change_type": "MODIFY", "old_path": "hw/bsp/board.c", "new_path": "hw/bsp/board.c", "diff": "#include \"board.h\"\n-#if defined(__MSP430__)\n+#if defined(__MSP430__) || defined(__RX__)\n#define sys_write write\n#define sys_read read\n#else\n" }, { "change_type": "MODIFY", "old_path": ...
C
MIT License
hathach/tinyusb
extend stack areas to enable logging add dummy functions to avoid warnings when logging is enable remove codes regarding OPTLIB
281,158
03.07.2021 00:48:49
-32,400
3019c6eb40f5e577a5075a4fccd275c5537c5a34
Add SUSPEND/RESUME handling for Renesas RX family.
[ { "change_type": "MODIFY", "old_path": "src/portable/renesas/usba/dcd_usba.c", "new_path": "src/portable/renesas/usba/dcd_usba.c", "diff": "#define USB_IS0_CTSQ_SETUP (1u)\n#define USB_IS0_DVSQ_DEF (1u<<4)\n#define USB_IS0_DVSQ_ADDR (2u<<4)\n-#define USB_IS0_DVSQ_SUSP (4u<<4)\n+#define USB_IS0_DVSQ_...
C
MIT License
hathach/tinyusb
Add SUSPEND/RESUME handling for Renesas RX family.
281,158
05.07.2021 21:27:08
-32,400
1ff3b76451c446cfd79fb7728f4e457e4dc0d7cb
remove unnecessary blocking operation. add comments why resume event is sent manually.
[ { "change_type": "MODIFY", "old_path": "src/portable/renesas/usba/dcd_usba.c", "new_path": "src/portable/renesas/usba/dcd_usba.c", "diff": "@@ -553,7 +553,6 @@ void dcd_remote_wakeup(uint8_t rhport)\n{\n(void)rhport;\nUSB0.DVSTCTR0.BIT.WKUP = 1;\n- while (USB0.DVSTCTR0.BIT.WKUP) ;\n}\nvoid dcd_conne...
C
MIT License
hathach/tinyusb
remove unnecessary blocking operation. add comments why resume event is sent manually.
281,039
05.07.2021 17:56:21
-7,200
c2d8ed3fd1fdb722d67a30a6768720c9ed578779
Add alt settings support in DFU class.
[ { "change_type": "MODIFY", "old_path": "examples/device/dfu/src/main.c", "new_path": "examples/device/dfu/src/main.c", "diff": "@@ -115,25 +115,20 @@ void tud_resume_cb(void)\nblink_interval_ms = BLINK_MOUNTED;\n}\n-// Invoked on DFU_DETACH request to reboot to the bootloader\n-void tud_dfu_runtime_...
C
MIT License
hathach/tinyusb
Add alt settings support in DFU class.
281,039
05.07.2021 17:57:23
-7,200
c2b9ac9dd415505350c40f6830c1d211de67c342
Fix ATTR_MANIFESTATION_TOLERANT logic.
[ { "change_type": "MODIFY", "old_path": "src/class/dfu/dfu_device.c", "new_path": "src/class/dfu/dfu_device.c", "diff": "@@ -310,7 +310,7 @@ void tud_dfu_dnload_complete(void)\n_dfu_state_ctx.state = DFU_DNLOAD_SYNC;\n} else if (_dfu_state_ctx.state == DFU_MANIFEST)\n{\n- _dfu_state_ctx.state = ((_df...
C
MIT License
hathach/tinyusb
Fix ATTR_MANIFESTATION_TOLERANT logic.
281,039
05.07.2021 21:00:04
-7,200
05a1b854ffcebe8144481a8af9e447d0eac2ae1f
ENCODE -> DECODE
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.c", "new_path": "src/class/audio/audio_device.c", "diff": "@@ -1481,9 +1481,14 @@ static bool audiod_set_interface(uint8_t rhport, tusb_control_request_t const *\naudio->ep_in_as_intf_num = 0;\nusbd_edpt_close(rhport, audio->ep_in)...
C
MIT License
hathach/tinyusb
ENCODE -> DECODE
281,039
06.07.2021 00:25:00
-7,200
82d355aefe5251f6dd15a7406920efaf516df705
Remove alt_setting alignment
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.c", "new_path": "src/class/audio/audio_device.c", "diff": "@@ -183,12 +183,12 @@ CFG_TUSB_MEM_SECTION CFG_TUSB_MEM_ALIGN uint8_t ctrl_buf_3[CFG_TUD_AUDIO_FUNC_3_\n#endif\n// Active alternate setting of interfaces\n-CFG_TUSB_MEM_SEC...
C
MIT License
hathach/tinyusb
- Remove alt_setting alignment
281,039
06.07.2021 10:56:13
-7,200
72f916423e85083a090186ecc05a6a5b8962685a
Fix copy byte count
[ { "change_type": "MODIFY", "old_path": "src/class/audio/audio_device.c", "new_path": "src/class/audio/audio_device.c", "diff": "@@ -643,7 +643,6 @@ static bool audiod_decode_type_I_pcm(uint8_t rhport, audiod_function_t* audio, u\n// Determine amount of samples\nuint8_t const n_ff_used = audio->n_ff_...
C
MIT License
hathach/tinyusb
Fix copy byte count
281,039
07.07.2021 11:55:36
-7,200
bc49ee7f2fc74932c332520b0fd8eccefbae659a
Better alt settings support
[ { "change_type": "MODIFY", "old_path": "src/class/dfu/dfu_device.c", "new_path": "src/class/dfu/dfu_device.c", "diff": "// MACRO CONSTANT TYPEDEF\n//--------------------------------------------------------------------+\n+#define DFU_INTF_UNUSED 0xFF\n+\n//--------------------------------------------...
C
MIT License
hathach/tinyusb
Better alt settings support
281,039
07.07.2021 12:07:10
-7,200
3949fb9e8c1b9a9646223e3edf7a0df4f010b5be
Add DFU_DETACH support
[ { "change_type": "MODIFY", "old_path": "src/class/dfu/dfu_device.c", "new_path": "src/class/dfu/dfu_device.c", "diff": "@@ -263,6 +263,12 @@ bool dfu_moded_control_xfer_cb(uint8_t rhport, uint8_t stage, tusb_control_reque\nswitch (request->bRequest)\n{\n+ case DFU_REQUEST_DETACH:\n+ {\n+ tud_control...
C
MIT License
hathach/tinyusb
Add DFU_DETACH support
281,039
07.07.2021 12:18:25
-7,200
71c00432610780f07d0e0776eacdda1186481854
TU_ASSERT return 0.
[ { "change_type": "MODIFY", "old_path": "src/class/dfu/dfu_device.c", "new_path": "src/class/dfu/dfu_device.c", "diff": "@@ -204,14 +204,14 @@ uint16_t dfu_moded_open(uint8_t rhport, tusb_desc_interface_t const * itf_desc,\nelse\n{\n// Only one DFU interface is supported\n- TU_ASSERT(_dfu_state_ctx.i...
C
MIT License
hathach/tinyusb
TU_ASSERT return 0.
281,039
07.07.2021 18:02:04
-7,200
941b02c6a98cd34eb84cf499db9810108871d49b
Reactor to one functional descriptor.
[ { "change_type": "MODIFY", "old_path": "examples/device/dfu/src/tusb_config.h", "new_path": "examples/device/dfu/src/tusb_config.h", "diff": "#define CFG_TUD_ENDPOINT0_SIZE 64\n#endif\n-// DFU buffer size, must to be set to the largest buffer size used by an any given storage type\n-#define CFG_TUD_...
C
MIT License
hathach/tinyusb
Reactor to one functional descriptor.
281,039
07.07.2021 19:01:00
-7,200
7e883e0f41a4fdda699bbaf1d64a28d82527b8f9
Refactor with one DFU functionnal descriptor
[ { "change_type": "MODIFY", "old_path": "examples/device/dfu/src/tusb_config.h", "new_path": "examples/device/dfu/src/tusb_config.h", "diff": "#define CFG_TUD_ENDPOINT0_SIZE 64\n#endif\n-// DFU buffer size, must to be set to the largest buffer size used by an any given storage type\n-#define CFG_TUD_...
C
MIT License
hathach/tinyusb
Refactor with one DFU functionnal descriptor