summaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)Author
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-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-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-01-25fix host buildhathach
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
2020-10-03Use tu_printf instead of printfNiklas Hauser
2020-10-03Use C++11 static_assert when availableNiklas Hauser
2020-09-26Change modulo substitute to while ( idx >= depth) idx -= depth;Reinhard Panhuber
2020-09-25Fix wrong comments, rename pos to offset, rename overflow().Reinhard Panhuber
2020-09-23Fix bug in modulo substitute.Reinhard Panhuber
2020-09-23Change maximum depth to 2^15 which allows for a fast modulo substitute.Reinhard Panhuber
Thus, however, overflows are detectable only for one time FIFO depth.
2020-09-19Final cleanup.Reinhard Panhuber
2020-09-15Tested, working.Reinhard Panhuber
2020-09-14Implementation done, yet to be tested.Reinhard Panhuber
2020-09-07rework usbh control transferhathach
use series of complete callback instead of blocking semaphore, which is more noOS friendly. still working with hid host
2020-09-03New function to modify fifo overwritabilityJan Dümpelmann
2020-08-01correct isr context for nrf DCD_EVENT_UNPLUGGEDhathach
also rename debug lookup to prevent conflict
2020-06-30Merge branch 'master' into add-stm-hshathach
2020-05-31able to detect as hshathach
2020-05-28initial transfer failed in open() shouldn't cause the driver open to fail.hathach
2020-05-17enable -Wcast-alignhathach
suppress vendor sdk driver at board.mk
2020-05-14refactor copy to and from fifohathach
2020-05-13Optimize FIFO for byte transfer.Mengsk
Signed-off-by: Mengsk <[email protected]>
2020-05-08Add IAR compiler attribute and endian support.Mengsk
2020-05-08add CFG_TUSB_DEBUG_PRINTF() for log retargetinghathach
2020-04-26fix missing debug log macroshathach
2020-04-26add usbd edpt openhathach
- RTT mode is blocking to prevent log lost - Improve logging message
2020-04-20add uart for ea4357hathach
2020-04-14adding subclass & protocol to class driver structurehathach
2020-04-02tu_verify: Change some define functions use do-while statement.Nathan Conrad
2020-03-14Use CRLF on UART.Nathan Conrad
2020-01-15Normalize line endingsNathan Conrad
2019-12-30fix missing parentheses in TU_MIN and TU_MAX macros (#256)majbthrd