New
0.18.0
General
- New MCUs:
- Add esp32p4 OTG highspeed support
- Add stm32 u0, c0, h7rs
- Better support dcache, make sure all usb-transferred buffer are cache line aligned and occupy full cache line
- Build ARM IAR with CircleCI
- Improve HIL with dual/host_info_to_device_cdc optional for pico/pico2, enable dwc2 dma test
API Changes
- Change signature of
tusb_init(rhport, tusb_rhport_init_t*), tusb_init(void) is now deprecated but still available for backward compatibility - Add new
tusb_int_handler(rhport, in_isr) - Add time-related APIs:
tusb_time_millis_api()andtusb_time_delay_ms_api()for non-RTOS, required for some ports/configuration - New configuration macros:
CFG_TUD/TUH_MEM_DCACHE_ENABLEenable data cache sync for endpoint bufferCFG_TUD/TUH_MEM_DCACHE_LINE_SIZEset cache line sizeCFG_TUD/TUH_DWC2_SLAVE_ENABLEenable dwc2 slave modeCFG_TUD/TUH_DWC2_DMA_ENABLEenable dwc2 dma mode