summaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)Author
2021-03-25Fix shadowing parameter in fifo.cReinhard Panhuber
2021-03-25Implement unaligned word copy.Reinhard Panhuber
2021-03-25Rework to copy wrapped word bytes by byte in copy_to_cont_dst etc.Reinhard Panhuber
2021-03-23Fix bug in writing to constant src/dst address.Reinhard Panhuber
Copying has to be conduct in full words (at least for STM32). Renamed copy function to tu_fifo_write_n_const_addr_full_words()
2021-03-13fix fifo unlock typo, also clean up a bithathach
2021-03-10Merge remote-tracking branch 'upstream/edpt_ISO_xfer' into edpt_ISO_xferReinhard Panhuber
2021-03-10Implement audio PCM type I enc./decoding acc. to 2.3.1.5 Audio StreamsReinhard Panhuber
Extending capabilities of support FIFOs Removing copy from to FIFO Adjusting audio examples Remove peek/read into other FIFO
2021-03-10fix ci build with rp2040hathach
2021-03-10fix build with freertoshathach
2021-03-04Adapt mutexes in fifo.cReinhard Panhuber
2021-03-04Remove TODOs done.Reinhard Panhuber
2021-03-04Extend FIFO mutex to use separate write and read mutexes.Reinhard Panhuber
Adjust all USB drivers using FIFO and mutexes.
2021-03-03Fix unused parameter in _ff_push_copy_fct() and _ff_pull_copy_fctReinhard Panhuber
2021-03-02Remove set_copy_modes(), implement:Reinhard Panhuber
tu_fifo_read_n_const_addr(), tu_fifo_write_n_const_addr()
2021-02-25Revert tusb_fifo.h include form to original.Reinhard Panhuber
2021-02-23Fix missing , in tusb_fifo.hReinhard Panhuber
2021-02-23Merge remote-tracking branch 'upstream/master' into edpt_ISO_xferReinhard Panhuber
Conflicts: src/common/tusb_fifo.h src/osal/osal_none.h
2021-02-19add TU_FIFO_INIT() to help with tu_fifo declarationhathach
tu_fifo_clear() also reset max_pointer_idx and non_used_index_space
2021-02-19Merge pull request #654 from xmos-jmccarthy/masterHa Thach
Add alternate bitfield padding option
2021-02-18Exclude #include "osal/osal.h" for OPT_OS_NONEReinhard Panhuber
2021-02-18Add #include "osal/osal.h" in tu_fifo.hReinhard Panhuber
2021-02-18Implement requested PR changesJeremiah McCarthy
Removes CFG_TUSB_ALT_BIT_PACKING_ALIGNMENT, and makes the manual padding behavior standard. Replaced unused variable name with TU_RESERVED.
2021-02-18Correct for wrong pointer type in audio_device.cReinhard Panhuber
2021-02-17Merge remote-tracking branch 'upstream/master' into edpt_ISO_xferReinhard Panhuber
Conflicts: src/common/tusb_fifo.h
2021-02-17Improve tu_fifo capabilitesReinhard Panhuber
Added tu_fifo_get_linear_write_info(), tu_fifo_backward_write_pointer(), and tu_fifo_backward_read_pointer()
2021-02-16This fixes the overflow mathmatic in the fifoNicholas R Dinsmore
2021-02-16Add alternate bitfield padding optionJeremiah McCarthy
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 if the option is not explicitly enabled.
2021-02-12Merge remote-tracking branch 'upstream/master' into edpt_ISO_xferReinhard Panhuber
2021-01-25fix host buildhathach
2021-01-20Add __restrict keyword and memore alignment to src/dst pointer ofReinhard Panhuber
_tu_fifo_read_from_const_src_ptr() _tu_fifo_write_to_const_dst_ptr()
2021-01-18Explicitly add cast to uint32_t before shifting uint8 to leftReinhard Panhuber
2021-01-18Clean upReinhard Panhuber
2021-01-18Add FIFO copy modes: tu_fifo_copy_mode_tReinhard Panhuber
Allows to copy from/to constant pointers required for STM32 hardware FIFO copies.
2021-01-17Add tu_fifo_read_n_into_other_fifo() to copy into from FIFO into anotherReinhard Panhuber
Fix overflow in tu_fifo_write_n()
2020-12-24Merge pull request #571 from HiFiPhile/iar_fifoHa Thach
Fix IAR error on memcpy and warnings.
2020-12-23Fix IAR error on memcpy and warnings.HiFIPhile
Signed-off-by: MasterPhi <[email protected]>
2020-12-20Fix error if "Required Prototype" is selected.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2020-11-24msc only invoke scsi complete callback after status transaction is completehathach
2020-11-23add tud_ready() check in tud_cdc_n_write_flush()hathach
other clean up
2020-11-23Merge branch 'master' into cdc_without_dtrHa Thach
2020-11-23have tusb_init() return true instead of TUSB_ERROR_NONEhathach
2020-11-19merge class driver control_request & control_complete to control_xfer_cb()hathach
migrated msc_device
2020-11-18Implementation of the discussed changesJan Dümpelmann
- 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
2020-11-07Merge pull request #553 from hathach/host-async-controlHa Thach
Host async control
2020-11-04Merge remote-tracking branch 'hathach/master' into cdc_without_dtrJan Dümpelmann
2020-11-01house keeping: make tu_print_mem format easier to compare with hex2dumphathach
2020-10-11Merge branch 'master' into host-async-controlhathach
2020-10-11Merge pull request #520 from salkinium/feature/misc_enhancementsHa Thach
STM32F3 IRQ remap option and some minor improvements
2020-10-07fix audio_test buildhathach
2020-10-03Allow overwriting TU_ASSERT etc macrosNiklas Hauser