changelog.rst 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719
  1. *********
  2. Changelog
  3. *********
  4. 0.14.0
  5. ======
  6. - Improve compiler support for CCRX and IAR
  7. - Add timeout to osal_queue_receive()
  8. - Add tud_task_ext(timeout, in_isr) as generic version of tud_task(). Same as tuh_task_ext(), tuh_task()
  9. - Enable more warnings -Wnull-dereference -Wuninitialized -Wunused -Wredundant-decls -Wconversion
  10. - Add new examples
  11. - host/bare_api to demonstrate generic (app-level) enumeration and endpoint transfer
  12. - dual/host_hid_to_device_cdc to run both device and host stack concurrently, get HID report from host and print out to device CDC. This example only work with multiple-controller MCUs and rp2040 with the help of pio-usb as added controller.
  13. Controller Driver (DCD & HCD)
  14. -----------------------------
  15. - Enhance rhports management to better support dual roles
  16. - CFG_TUD_ENABLED/CFG_TUH_ENABLED, CFG_TUD_MAX_SPEED/CFG_TUH_MAX_SPEED can be used to replace CFG_TUSB_RHPORT0_MODE/CFG_TUSB_RHPORT1_MODE
  17. - tud_init(rphort), tuh_init(rhport) can be used to init stack on specified roothub port (controller) instead of tusb_init(void)
  18. - Add dcd/hcd port specific defines TUP_ (stand for tinyusb port-specific)
  19. - [dwc2]
  20. - Update to support stm32 h72x, h73x with only 1 otg controller
  21. - Fix overwrite with grstctl when disable endpoint
  22. - [EHCI] Fix an issue with EHCI driver
  23. - [msp430] Fix for possible bug in msp430-elf-gcc 9.3.0
  24. - [nrf5x] Fix DMA access race condition using atomic function
  25. - [pic32] Fix PIC32 santiy
  26. - [rp2040]
  27. - Add PICO-PIO-USB as controller (device/host) support for rp2040
  28. - Use shared IRQ handlers, so user can also hook the USB IRQ
  29. - Fix resumed signal not reported to device stack
  30. - [stm32fsdev] Add support for stm32wb55
  31. Device Stack
  32. ------------
  33. - [Audio] Add support for feedback endpoint computation
  34. - New API tud_audio_feedback_params_cb(), tud_audio_feedback_interval_isr().
  35. - Supported computation method are: frequency with fixed/float or power of 2. Feedback with fifo count is not yet supported.
  36. - Fix nitfs (should be 3) in TUD_AUDIO_HEADSET_STEREO_DESCRIPTOR
  37. - Fix typo in audiod_rx_done_cb()
  38. - [DFU] Fix coexistence with other interfaces BTH, RNDIS
  39. - [MSC] Fix inquiry response additional length field
  40. - [Venndor] Improve write performance
  41. Host Stack
  42. ----------
  43. - Add new API tuh_configure(rhport, cfg_id, cfg_param) for dynamnic port specific behavior configuration
  44. - [HID] Open OUT endpoint if available
  45. - [Hub] hub clear port and device interrupts
  46. - [USBH] Major improvement
  47. - Rework usbh control transfer with complete callback. New API tuh_control_xfer() though still only carry 1 usbh (no queueing) at a time.
  48. - Add generic endpoint transfer with tuh_edpt_open(), tuh_edpt_xfer(). Require `CFG_TUH_API_EDPT_XFER=1`
  49. - Support app-level enumeration with new APIs
  50. - tuh_descriptor_get(), tuh_descriptor_get_device(), tuh_descriptor_get_configuration(), tuh_descriptor_get_hid_report()
  51. - tuh_descriptor_get_string(), tuh_descriptor_get_manufacturer_string(), tuh_descriptor_get_product_string(), tuh_descriptor_get_serial_string()
  52. - Also add _sync() as sync/blocking version for above APIs
  53. 0.13.0
  54. ======
  55. - [tu_fifo] Fix locked mutex when full, and return type in peek_n()
  56. Controller Driver (DCD & HCD)
  57. -----------------------------
  58. - [DWC2] Generalize synopsys dwc2 with synopsys/dwc2 which support both FS and HS phy (UTMI and ULPI) for various MCUs.
  59. - Broadcom 28/27xx on raspberrypi SBC
  60. - Silicon Labs EFM32
  61. - Espressif ESP32 Sx
  62. - GigaDevice GD32
  63. - ST STM32
  64. - Infineon XMC
  65. - [KL25] Add new HCD for NXP KL25
  66. - [MUSB] Add new DCD and HCD for Mentor musb with TI MSP432E4
  67. - [F1C100s] Add new DCD for Allwinner F1C100s family
  68. - [PIC32MZ] Add new DCD for PIC32MZ
  69. - [nRF] Fix/Enhance varous race condtion with: EASY DMA, request HFXO, EPOUT
  70. - [ChipIdea] rename Transdimension to more popular ChipIdea Highspeed,
  71. - [RP2040] various update/fix for hcd/dcd
  72. - [FT9XX] new DCD port for Bridgetek FT90x and FT93x devices
  73. - [DA1469X] Fix resume
  74. - [OHCI] Fix device array out of bound
  75. Note: legacy drivers such as st/synopsys, nxp/transdimension are still present in this release but won't recieve more update and could be removed in the future.
  76. Device Stack
  77. ------------
  78. - [Audio] Support disabling feedback format correction (16.16 <-> 10.14 format)
  79. - [MSC] Add tud_msc_request_sense_cb() callback, change most default sense error to medium not present (0x02, 0x3A, 0x00)
  80. - [Video] Fix video_capture example fails enumeration when 8FPS
  81. Host Stack
  82. ----------
  83. No notable changes
  84. 0.12.0
  85. ======
  86. - add CFG_TUSB_OS_INC_PATH for os include path
  87. Device Controller Driver (DCD)
  88. ------------------------------
  89. - Getting device stack to pass USB Compliance Verification test (chapter9, HID, MSC). Ports are tested:
  90. nRF, SAMD 21/51, rp2040, stm32f4, Renesas RX, iMXRT, ESP32-S2/3, Kinetic KL25/32, DA146xx
  91. - Added dcd_edpt_close_all() for switching configuration
  92. - [Transdimension] Support dcd_edpt_xfer_fifo() with auto wrap over if fifo buffer is 4K aligned and size is multiple of 4K.
  93. - [DA146xx] Improve vbus, reset, suspend, resume detection, and remote wakeup.
  94. Device Stack
  95. ------------
  96. - Add new network driver Network Control Model (CDC-NCM), update net_lwip_webserver to work with NCM (need re-configure example)
  97. - Add new USB Video Class UVC 1.5 driver and video_capture example ((work in progress)
  98. - Fix potential buffer overflow for HID, bluetooth drivers
  99. Host Controller Driver (HCD)
  100. ----------------------------
  101. No notable changes
  102. Host Stack
  103. ----------
  104. No notable changes
  105. 0.11.0 (2021-08-29)
  106. ===================
  107. - Add host/hid_controller example: only worked/tested with Sony PS4 DualShock controller
  108. - Add device/hid_boot_interface example
  109. - Add support for Renesas CCRX toolchain for RX mcu
  110. Device Controller Driver (DCD)
  111. ------------------------------
  112. - Add new DCD port for SAMx7x (E70, S70, V70, V71)
  113. - Add new mcu K32L2Bxx
  114. - Add new mcu GD32VF103
  115. - Add new mcu STM32l151
  116. - Add new mcu SAML21
  117. - Add new mcu RX65n RX72n
  118. - Fix NUC120/121/126 USBRAM can only be accessed in byte manner. Also improve set_address & disable sof
  119. - Add Suspend/Resume handling for Renesas RX family.
  120. - Fix DA1469x no VBUS startup
  121. Synopsys
  122. ^^^^^^^^
  123. - Fix Synopsys set address bug which could cause re-enumeration failed
  124. - Fix dcd_synopsys driver integer overflow in HS mode (issue #968)
  125. nRF5x
  126. ^^^^^
  127. - Add nRF5x suspend, resume and remote wakeup
  128. - Fix nRF5x race condition with TASKS_EP0RCVOUT
  129. RP2040
  130. ^^^^^^
  131. - Add RP2040 suspend & resume support
  132. - Implement double buffer for both host and device (#891). Howver device EPOUT is still single bufferred due to techinical issue with short packet
  133. Device Stack
  134. ------------
  135. USBD
  136. ^^^^
  137. - Better support big endian mcu
  138. - Add tuh_inited() and tud_inited(), will separte tusb_init/inited() to tud/tuh init/inited
  139. - Add dcd_attr.h for defining common controller attribute such as max endpoints
  140. Bluetooth
  141. ^^^^^^^^^
  142. - Fix stridx error in descriptor template
  143. DFU
  144. ^^^
  145. - Enhance DFU implementation to support multiple alternate interface and better support bwPollTimeout
  146. - Rename CFG_TUD_DFU_MODE to simply CFG_TUD_DFU
  147. HID
  148. ^^^
  149. - Fix newline usage keyboard (ENTER 0x28)
  150. - Better support Hid Get/Set report
  151. - Change max gamepad support from 16 to 32 buttons
  152. MIDI
  153. ^^^^
  154. - Fix midi available
  155. - Fix midi data
  156. - Fix an issue when calling midi API when not enumerated yet
  157. UAC2
  158. ^^^^
  159. - Fix bug and enhance of UAC2
  160. Vendor
  161. ^^^^^^
  162. - Fix vendor fifo deadlock in certain case
  163. - Add tud_vendor_n_read_flush
  164. Host Controller Driver (HCD)
  165. ----------------------------
  166. RP2040
  167. ^^^^^^
  168. - Implement double bufferred to fix E4 errata and boost performance
  169. - Lots of rp2040 update and enhancment
  170. Host Stack
  171. ----------
  172. - Major update and rework most of host stack, still needs more improvement
  173. - Lots of improvement and update in parsing configuration and control
  174. - Rework and major update to HID driver. Will default to enable boot interface if available
  175. - Sepearate CFG_TUH_DEVICE_MAX and CFG_TUH_HUB for better management and reduce SRAM usage
  176. 0.10.1 (2021-06-03)
  177. ===================
  178. - rework rp2040 examples and CMake build, allow better integration with pico-sdk
  179. Host Controller Driver (HCD)
  180. ----------------------------
  181. - Fix rp2040 host driver: incorrect PID with low speed device with max packet size of 8 bytes
  182. - Improve hub driver
  183. - Remove obsolete hcd_pipe_queue_xfer()/hcd_pipe_xfer()
  184. - Use hcd_frame_number() instead of micro frame
  185. - Fix OHCI endpoint address and xferred_bytes in xfer complete event
  186. 0.10.0 (2021-05-28)
  187. ===================
  188. - Rework tu_fifo_t with separated mutex for read and write, better support DMA with read/write buffer info. And constant address mode
  189. - Improve audio_test example and add audio_4_channel_mic example
  190. - Add new dfu example
  191. - Remove pico-sdk from submodule
  192. Device Controller Driver (DCD)
  193. ------------------------------
  194. - Add new DCD port for Silabs EFM32GG12 with board Thunderboard Kit (SLTB009A)
  195. - Add new DCD port Renesas RX63N, board GR-CITRUS
  196. - Add new (optional) endpoint API dcd_edpt_xfer_fifo
  197. - Fix build with nRF5340
  198. - Fix build with lpc15 and lpc54
  199. - Fix build with lpc177x_8x
  200. - STM32 Synopsys: greatly improve Isochronous transfer with edpt_xfer_fifo API
  201. - Support LPC55 port1 highspeed
  202. - Add support for Espressif esp32s3
  203. - nRF: fix race condition that could cause drop packet of Bulk OUT transfer
  204. USB Device Driver (USBD)
  205. ------------------------
  206. - Add new (optional) endpoint ADPI usbd_edpt_xfer_fifo
  207. Device Class Driver
  208. -------------------
  209. CDC
  210. - [Breaking] tud_cdc_peek(), tud_vendor_peek() no longer support random offset and dropped position parameter.
  211. DFU
  212. - Add new DFU 1.1 class driver (WIP)
  213. HID
  214. - Fix keyboard report descriptor template
  215. - Add more hid keys constant from 0x6B to 0xA4
  216. - [Breaking] rename API
  217. - HID_PROTOCOL_NONE/KEYBOARD/MOUST to HID_ITF_PROTOCOL_NONE/KEYBOARD/MOUSE
  218. - tud_hid_boot_mode() to tud_hid_get_protocol()
  219. - tud_hid_boot_mode_cb() to tud_hid_set_protocol_cb()
  220. MIDI
  221. - Fix MIDI buffer overflow issue
  222. - [Breaking] rename API
  223. - Rename tud_midi_read() to tud_midi_stream_read()
  224. - Rename tud_midi_write() to tud_midi_stream_write()
  225. - Rename tud_midi_receive() to tud_midi_packet_read()
  226. - Rename tud_midi_send() to tud_midi_packet_write()
  227. Host Controller Driver (HCD)
  228. ----------------------------
  229. - No noticable changes
  230. USB Host Driver (USBH)
  231. ----------------------
  232. - No noticable changes
  233. Host Class Driver
  234. -----------------
  235. - HID: Rework host hid driver, basically everything changes
  236. 0.9.0 (2021-03-12)
  237. ==================
  238. Device Stack
  239. ------------
  240. Device Controller Driver (DCD)
  241. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  242. RP2040
  243. - Fix endpoint buffer reallocation overrun problem
  244. - Fix osal_pico queue overflow in initialization
  245. - Fix Isochronous endpoint buffer size in transfer
  246. - Optimize hardware endpoint struct to reduce RAM usage
  247. - Fix enum walkaround forever check for SE0 when pull up is disabled
  248. Sony CXD56
  249. - Pass the correct speed on Spresense
  250. - Fix setup processed flag
  251. NXP Transdimention
  252. - Update dcd_init() to reset controller to device mode
  253. USB Device Driver (USBD)
  254. ^^^^^^^^^^^^^^^^^^^^^^^^
  255. - Fix issue with status zlp (tud_control_status) is returned by class driver with SET/CLEAR_FEATURE for endpoint.
  256. - Correct endpoint size check for fullspeed bulk, can be 8, 16, 32, 64
  257. - Ack SET_INTERFACE even if it is not implemented by class driver.
  258. Device Class Driver
  259. ^^^^^^^^^^^^^^^^^^^
  260. DFU Runtime
  261. - rename dfu_rt to dfu_runtime for easy reading
  262. CDC
  263. - Add tud_cdc_send_break_cb() to support break request
  264. - Improve CDC receive, minor behavior changes: when tud_cdc_rx_wanted_cb() is invoked wanted_char may not be the last byte in the fifo
  265. HID
  266. - [Breaking] Add itf argument to hid API to support multiple instances, follow API has signature changes
  267. - tud_hid_descriptor_report_cb()
  268. - tud_hid_get_report_cb()
  269. - tud_hid_set_report_cb()
  270. - tud_hid_boot_mode_cb()
  271. - tud_hid_set_idle_cb()
  272. - Add report complete callback tud_hid_report_complete_cb() API
  273. - Add DPad/Hat support for HID Gamepad
  274. - `TUD_HID_REPORT_DESC_GAMEPAD()` now support 16 buttons, 2 joysticks, 1 hat/dpad
  275. - Add hid_gamepad_report_t along with `GAMEPAD_BUTTON_` and `GAMEPAD_HAT_` enum
  276. - Add Gamepad to hid_composite / hid_composite_freertos example
  277. MIDI
  278. - Fix dropping MIDI sysex message when fifo is full
  279. - Fix typo in tud_midi_write24(), make example less ambigous for cable and channel
  280. - Fix incorrect endpoint descriptor length, MIDI v1 use Audio v1 which has 9-byte endpoint descriptor (instead of 7)
  281. Host Stack
  282. ----------
  283. Host Controller Driver (HCD)
  284. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  285. - Add rhport to hcd_init()
  286. - Improve EHCI/OHCI driver abstraction
  287. - Move echi/ohci files to portable/
  288. - Rename hcd_lpc18_43 to hcd_transdimension
  289. - Sub hcd API with hcd_ehci_init(), hcd_ehci_register_addr()
  290. - Update NXP transdimention hcd_init() to reset controller to host mode
  291. - Ported hcd to rt10xx
  292. USB Host Driver (USBH)
  293. ^^^^^^^^^^^^^^^^^^^^^^
  294. - No noticeable changes to usbh
  295. Host Class Driver
  296. ^^^^^^^^^^^^^^^^^
  297. MSC
  298. - Rename tuh_msc_scsi_inquiry() to tuh_msc_inquiry()
  299. - Rename tuh_msc_mounted_cb/tuh_msc_unmounted_cb to tuh_msc_mount_cb/tuh_msc_unmount_cb to match device stack naming
  300. - Change tuh_msc_is_busy() to tuh_msc_ready()
  301. - Add read10 and write10 function: tuh_msc_read10(), tuh_msc_write10()
  302. - Read_Capacity is invoked as part of enumeration process
  303. - Add tuh_msc_get_block_count(), tuh_msc_get_block_size()
  304. - Add CFG_TUH_MSC_MAXLUN (default to 4) to hold lun capacities
  305. Others
  306. ------
  307. - Add basic support for rt-thread OS
  308. - Change zero bitfield length to more explicit padding
  309. - Build example now fetch required submodules on the fly while running `make` without prio submodule init for mcu drivers
  310. - Update pico-sdk to v1.1.0
  311. **New Boards**
  312. - Microchip SAM E54 Xplained Pro
  313. - LPCXpresso 55s28
  314. - LPCXpresso 18s37
  315. 0.8.0 (2021-02-05)
  316. ==================
  317. Device Controller Driver
  318. ------------------------
  319. - Added new device support for Raspberry Pi RP2040
  320. - Added new device support for NXP Kinetis KL25ZXX
  321. - Use dcd_event_bus_reset() with link speed to replace bus_signal
  322. - ESP32-S2:
  323. - Add bus suspend and wakeup support
  324. - SAMD21:
  325. - Fix (walkaround) samd21 setup_packet overflow by USB DMA
  326. - STM32 Synopsys:
  327. - Rework USB FIFO allocation scheme and allow RX FIFO size reduction
  328. - Sony CXD56
  329. - Update Update Spresense SDK to 2.0.2
  330. - Fix dcd issues with setup packets
  331. - Correct EP number for cdc_msc example
  332. USB Device
  333. ----------
  334. **USBD**
  335. - Rework usbd control transfer to have additional stage parameter for setup, data, status
  336. - Fix tusb_init() return true instead of TUSB_ERROR_NONE
  337. - Added new API tud_connected() that return true after device got out of bus reset and received the very first setup packet
  338. **Class Driver**
  339. - CDC
  340. - Allow to transmit data, even if the host does not support control line states i.e set DTR
  341. - HID
  342. - change default CFG_TUD_HID_EP_BUFSIZE from 16 to 64
  343. - MIDI
  344. - Fix midi sysex sending bug
  345. - MSC
  346. - Invoke only scsi complete callback after status transaction is complete.
  347. - Fix scsi_mode_sense6_t padding, which cause IAR compiler internal error.
  348. - USBTMC
  349. - Change interrupt endpoint example size to 8 instead of 2 for better compatibility with mcu
  350. **Example**
  351. - Support make from windows cmd.exe
  352. - Add HID Consumer Control (media keys) to hid_composite & hid_composite_freertos examples
  353. USB Host
  354. --------
  355. No noticeable changes to host stack
  356. New Boards
  357. ----------
  358. - NXP/Freescale Freedom FRDM-KL25Z
  359. - Feather Double M33 express
  360. - Raspberry Pi Pico
  361. - Adafruit Feather RP2040
  362. - Adafruit Itsy Bitsy RP2040
  363. - Adafruit QT RP2040
  364. - Adfruit Feather ESP32-S2
  365. - Adafruit Magtag 29" Eink
  366. - Adafruit Metro ESP32-S2
  367. - Adafruit PyBadge
  368. - Adafruit PyPortal
  369. - Great Scott Gadgets' LUNA D11 & D21
  370. 0.7.0 (2020-11-08)
  371. ==================
  372. Device Controller Driver
  373. ------------------------
  374. - Added new support for Espressif ESP32-S2
  375. - Added new support for Dialog DA1469x
  376. - Enhance STM32 Synopsys
  377. - Support bus events disconnection/suspend/resume/wakeup
  378. - Improve transfer performance with optimizing xfer and fifo size
  379. - Support Highspeed port (OTG_HS) with both internal and external PHY
  380. - Support multiple usb ports with rhport=1 is highspeed on selected MCUs e.g H743, F23. It is possible to have OTG_HS to run on Fullspeed PHY (e.g lacking external PHY)
  381. - Add ISO transfer, fix odd/even frame
  382. - Fix FIFO flush during stall
  383. - Implement dcd_edpt_close() API
  384. - Support F105, F107
  385. - Enhance STM32 fsdev
  386. - Improve dcd fifo allocation
  387. - Fix ISTR race condition
  388. - Support remap USB IRQ on supported MCUs
  389. - Implement dcd_edpt_close() API
  390. - Enhance NUC 505: enhance set configure behavior
  391. - Enhance SAMD
  392. - Fix race condition with setup packet
  393. - Add SAMD11 option `OPT_MCU_SAMD11`
  394. - Add SAME5x option `OPT_MCU_SAME5X`
  395. - Fix SAMG control data toggle and stall race condition
  396. - Enhance nRF
  397. - Fix hanged when tud_task() is called within critical section (disabled interrupt)
  398. - Fix disconnect bus event not submitted
  399. - Implement ISO transfer and dcd_edpt_close()
  400. USB Device
  401. ----------
  402. **USBD**
  403. - Add new class driver for **Bluetooth HCI** class driver with example can be found in [mynewt-tinyusb-example](https://github.com/hathach/mynewt-tinyusb-example) since it needs mynewt OS to run with.
  404. - Fix USBD endpoint usage racing condition with `usbd_edpt_claim()/usbd_edpt_release()`
  405. - Added `tud_task_event_ready()` and `osal_queue_empty()`. This API is needed to check before enter low power mode with WFI/WFE
  406. - Rename USB IRQ Handler to `dcd_int_handler()`. Application must define IRQ handler in which it calls this API.
  407. - Add `dcd_connect()` and `dcd_disconnect()` to enable/disable internal pullup on D+/D- on supported MCUs.
  408. - Add `usbd_edpt_open()`
  409. - Remove `dcd_set_config()`
  410. - Add *OPT_OS_CUMSTOM* as hook for application to overwrite and/or add their own OS implementation
  411. - Support SET_INTERFACE, GET_INTERFACE request
  412. - Add Logging for debug with optional uart/rtt/swo printf retarget or `CFG_TUSB_DEBUG_PRINTF` hook
  413. - Add IAR compiler support
  414. - Support multiple configuration descriptors. `TUD_CONFIG_DESCRIPTOR()` template has extra config_num as 1st argument
  415. - Improve USB Highspeed support with actual link speed detection with `dcd_event_bus_reset()`
  416. - Enhance class driver management
  417. - `usbd_driver_open()` add max length argument, and return length of interface (0 for not supported). Return value is used for finding appropriate driver
  418. - Add application implemented class driver via `usbd_app_driver_get_cb()`
  419. - IAD is handled to assign driver id
  420. - Added `tud_descriptor_device_qualifier_cb()` callback
  421. - Optimize `tu_fifo` bulk write/read transfer
  422. - Forward non-std control request to class driver
  423. - Let application handle Microsoft OS 1.0 Descriptors (the 0xEE index string)
  424. - Fix OSAL FreeRTOS yield from ISR
  425. **Class Drivers**
  426. - USBNET: remove ACM-EEM due to lack of support from host
  427. - USBTMC: fix descriptors when INT EP is disabled
  428. - CDC:
  429. - Send zero length packet for end of data when needed
  430. - Add `tud_cdc_tx_complete_cb()` callback
  431. - Change tud_cdc_n_write_flush() return number of bytes forced to transfer, and flush when writing enough data to fifo
  432. - MIDI:
  433. - Add packet interface
  434. - Add multiple jack descriptors
  435. - Fix MIDI driver for sysex
  436. - DFU Runtime: fix response to SET_INTERFACE and DFU_GETSTATUS request
  437. - Rename some configure macro to make it clear that those are used directly for endpoint transfer
  438. - CFG_TUD_HID_BUFSIZE to CFG_TUD_HID_EP_BUFSIZE
  439. - CFG_TUD_CDC_EPSIZE to CFG_TUD_CDC_EP_BUFSIZE
  440. - CFG_TUD_MSC_BUFSIZE to CFG_TUD_MSC_EP_BUFSIZE
  441. - CFG_TUD_MIDI_EPSIZE to CFG_TUD_MIDI_EP_BUFSIZE
  442. - HID:
  443. - Fix gamepad template descriptor
  444. - Add multiple HID interface API
  445. - Add extra comma to HID_REPORT_ID
  446. USB Host
  447. --------
  448. - Rework USB host stack (still work in progress)
  449. - Fix compile error with pipehandle
  450. - Rework usbh control and enumeration as non-blocking
  451. - Improve Hub, MSC, HID host driver
  452. Examples
  453. --------
  454. - Add new hid_composite_freertos
  455. - Add new dynamic_configuration to demonstrate how to switch configuration descriptors
  456. - Add new hid_multiple_interface
  457. - Enhance `net_lwip_webserver` example
  458. - Add multiple configuration: RNDIS for Windows, CDC-ECM for macOS (Linux will work with both)
  459. - Update lwip to STABLE-2_1_2_RELEASE for net_lwip_webserver
  460. - Added new Audio example: audio_test uac2_headsest
  461. New Boards
  462. ----------
  463. - Espressif ESP32-S2: saola_1, kaluga_1
  464. - STM32: F746 Nucleo, H743 Eval, H743 Nucleo, F723 discovery, stlink v3 mini, STM32L4r5 Nucleo
  465. - Dialog DA1469x dk pro and dk usb
  466. - Microchip: Great Scoot Gadgets' LUNA, samd11_xplained, D5035-01, atsamd21 xplained pro
  467. - nRF: ItsyBitsy nRF52840
  468. 0.6.0 (2020-03-30)
  469. ==================
  470. Added **CONTRIBUTORS.md** to give proper credit for contributors to the stack. Special thanks to `Nathan Conrad <https://github.com/pigrew>`__ , `Peter Lawrence <https://github.com/majbthrd>`__ , `William D. Jones <https://github.com/cr1901>`__ and `Sean Cross <https://github.com/xobs>`__ and others for spending their precious time to add lots of features and ports for this release.
  471. Added
  472. -----
  473. **MCU**
  474. - Added support for Microchip SAMG55
  475. - Added support for Nordic nRF52833
  476. - Added support for Nuvoton: NUC120, NUC121/NUC125, NUC126, NUC505
  477. - Added support for NXP LPC: 51Uxx, 54xxx, 55xx
  478. - Added support for NXP iMXRT: RT1011, RT1015, RT1021, RT1052, RT1062, RT1064
  479. - Added support for Sony CXD56 (Spresense)
  480. - Added support for STM32: L0, F0, F1, F2, F3, F4, F7, H7
  481. - Added support for TI MSP430
  482. - Added support for ValentyUSB's eptri
  483. **Class Driver**
  484. - Added DFU Runtime class driver
  485. - Added Network class driver with RNDIS, CDC-ECM, CDC-EEM (work in progress)
  486. - Added USBTMC class driver
  487. - Added WebUSB class driver using vendor-specific class
  488. - Added multiple instances support for CDC and MIDI
  489. - Added a handful of unit test with Ceedling.
  490. - Added LOG support for debugging with CFG_TUSB_DEBUG
  491. - Added `tud_descriptor_bos_cb()` for BOS descriptor (required for USB 2.1)
  492. - Added `dcd_edpt0_status_complete()` as optional API for DCD
  493. **Examples**
  494. Following examples are added:
  495. - board_test
  496. - cdc_dual_ports
  497. - dfu_rt
  498. - hid_composite
  499. - net_lwip_webserver
  500. - usbtmc
  501. - webusb_serial
  502. Changed
  503. -------
  504. - Changed `tud_descriptor_string_cb()` to have additional Language ID argument
  505. - Merged hal_nrf5x.c into dcd_nrf5x.c
  506. - Merged dcd_samd21.c and dcd_samd51.c into dcd_samd.c
  507. - Generalized dcd_stm32f4.c to dcd_synopsys.c
  508. - Changed cdc_msc_hid to cdc_msc (drop hid) due to limited endpoints number of some MCUs
  509. - Improved DCD SAMD stability, fix missing setup packet occasionally
  510. - Improved usbd/usbd_control with proper hanlding of zero-length packet (ZLP)
  511. - Improved STM32 DCD FSDev
  512. - Improved STM32 DCD Synopsys
  513. - Migrated CI from Travis to Github Action
  514. - Updated nrfx submodule to 2.1.0
  515. - Fixed mynewt osal queue definition
  516. - Fixed cdc_msc_freertos example build for all MCUs
  517. 0.5.0 (2019-06)
  518. ===============
  519. First release, device stack works great, host stack works but still need improvement.
  520. - Special thanks to @adafruit team, especially @tannewt to help out immensely to rework device stack: simplify osal & control transfer, adding SAMD21/SAMD51 ports, writing porting docs, adding MIDI class support etc...
  521. - Thanks to @cr1901 for adding STM32F4 port.
  522. - Thanks to @PTS93 and @todbot for HID raw API