Reinhard Panhuber
|
99e6bc3720
|
Explicitly add cast to uint32_t before shifting uint8 to left
|
2021-01-18 17:54:08 +01:00 |
|
Reinhard Panhuber
|
51c80630f5
|
Clean up
|
2021-01-18 17:13:06 +01:00 |
|
Reinhard Panhuber
|
8450bc3225
|
Add FIFO copy modes: tu_fifo_copy_mode_t
Allows to copy from/to constant pointers required for STM32 hardware
FIFO copies.
|
2021-01-18 17:12:39 +01:00 |
|
Reinhard Panhuber
|
bdbcb8df39
|
Add tu_fifo_read_n_into_other_fifo() to copy into from FIFO into another
Fix overflow in tu_fifo_write_n()
|
2021-01-17 11:55:33 +01:00 |
|
Ha Thach
|
08f8f488a0
|
Merge pull request #571 from HiFiPhile/iar_fifo
Fix IAR error on memcpy and warnings.
|
2020-12-24 12:03:57 +07:00 |
|
HiFIPhile
|
baa5417f3e
|
Fix IAR error on memcpy and warnings.
Signed-off-by: MasterPhi <admin@hifiphile.com>
|
2020-12-23 16:54:55 +01:00 |
|
HiFiPhile
|
b3c0d417ef
|
Fix error if "Required Prototype" is selected.
Signed-off-by: HiFiPhile <admin@hifiphile.com>
|
2020-12-20 23:10:34 +01:00 |
|
hathach
|
f5e13d5898
|
msc only invoke scsi complete callback after status transaction is complete
|
2020-11-24 23:42:30 +07:00 |
|
hathach
|
4b4f880785
|
add tud_ready() check in tud_cdc_n_write_flush()
other clean up
|
2020-11-23 23:40:13 +07:00 |
|
Ha Thach
|
308028e17c
|
Merge branch 'master' into cdc_without_dtr
|
2020-11-23 23:25:55 +07:00 |
|
hathach
|
14138f105e
|
have tusb_init() return true instead of TUSB_ERROR_NONE
|
2020-11-23 13:12:51 +07:00 |
|
hathach
|
3c31d08051
|
merge class driver control_request & control_complete to control_xfer_cb()
migrated msc_device
|
2020-11-19 21:01:33 +07:00 |
|
Jan Dümpelmann
|
54e29e9ff4
|
Implementation of the discussed changes
- 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-18 09:42:50 +01:00 |
|
Ha Thach
|
a708ab6254
|
Merge pull request #553 from hathach/host-async-control
Host async control
|
2020-11-07 10:52:14 +07:00 |
|
Jan Dümpelmann
|
af9f0f1cd6
|
Merge remote-tracking branch 'hathach/master' into cdc_without_dtr
|
2020-11-04 17:11:01 +01:00 |
|
hathach
|
67ac40b98d
|
house keeping: make tu_print_mem format easier to compare with hex2dump
|
2020-11-01 13:37:56 +07:00 |
|
hathach
|
b5d4c8185d
|
Merge branch 'master' into host-async-control
|
2020-10-11 16:22:12 +07:00 |
|
Ha Thach
|
80c509a0f3
|
Merge pull request #520 from salkinium/feature/misc_enhancements
STM32F3 IRQ remap option and some minor improvements
|
2020-10-11 14:55:06 +07:00 |
|
hathach
|
3f54c27afa
|
fix audio_test build
|
2020-10-07 13:36:03 +07:00 |
|
Niklas Hauser
|
e41d9202b8
|
Allow overwriting TU_ASSERT etc macros
|
2020-10-03 20:17:53 +02:00 |
|
Niklas Hauser
|
51fb659533
|
Use tu_printf instead of printf
|
2020-10-03 20:17:53 +02:00 |
|
Niklas Hauser
|
78477077b4
|
Use C++11 static_assert when available
|
2020-10-03 20:17:36 +02:00 |
|
Reinhard Panhuber
|
8dcb104933
|
Change modulo substitute to while ( idx >= depth) idx -= depth;
|
2020-09-26 11:00:31 +02:00 |
|
Reinhard Panhuber
|
9ddcfc09d7
|
Fix wrong comments, rename pos to offset, rename overflow().
|
2020-09-25 15:58:28 +02:00 |
|
Reinhard Panhuber
|
52c9a467b4
|
Fix bug in modulo substitute.
|
2020-09-23 21:36:30 +02:00 |
|
Reinhard Panhuber
|
9bdeafb295
|
Change maximum depth to 2^15 which allows for a fast modulo substitute.
Thus, however, overflows are detectable only for one time FIFO depth.
|
2020-09-23 20:48:03 +02:00 |
|
Reinhard Panhuber
|
21299f90fa
|
Final cleanup.
|
2020-09-19 11:46:43 +02:00 |
|
Reinhard Panhuber
|
9dfb78e9d8
|
Tested, working.
|
2020-09-15 20:40:41 +02:00 |
|
Reinhard Panhuber
|
349c0f640e
|
Implementation done, yet to be tested.
|
2020-09-14 18:24:08 +02:00 |
|
hathach
|
66a10ec9c8
|
rework usbh control transfer
use series of complete callback instead of blocking semaphore, which is
more noOS friendly. still working with hid host
|
2020-09-07 15:19:20 +07:00 |
|
Jan Dümpelmann
|
4071e490e2
|
New function to modify fifo overwritability
|
2020-09-03 17:21:32 +02:00 |
|
hathach
|
9bf2b33366
|
correct isr context for nrf DCD_EVENT_UNPLUGGED
also rename debug lookup to prevent conflict
|
2020-08-01 12:02:59 +07:00 |
|
hathach
|
ab75998316
|
Merge branch 'master' into add-stm-hs
|
2020-06-30 01:55:57 +07:00 |
|
hathach
|
5ffba8536d
|
able to detect as hs
|
2020-05-31 19:41:22 +07:00 |
|
hathach
|
10cd3f24bf
|
initial transfer failed in open() shouldn't cause the driver open to fail.
|
2020-05-28 13:48:02 +07:00 |
|
hathach
|
1a8ce043ed
|
enable -Wcast-align
suppress vendor sdk driver at board.mk
|
2020-05-17 14:24:15 +07:00 |
|
hathach
|
b0d49e55de
|
refactor copy to and from fifo
|
2020-05-14 14:24:55 +07:00 |
|
Mengsk
|
46875a3912
|
Optimize FIFO for byte transfer.
Signed-off-by: Mengsk <admin@hifiphile.com>
|
2020-05-13 23:54:23 +02:00 |
|
Mengsk
|
f02ad1d0dc
|
Add IAR compiler attribute and endian support.
|
2020-05-08 13:29:33 +02:00 |
|
hathach
|
eeb076454b
|
add CFG_TUSB_DEBUG_PRINTF() for log retargeting
|
2020-05-08 12:56:32 +07:00 |
|
hathach
|
9c8517a8d2
|
fix missing debug log macros
|
2020-04-26 14:58:23 +07:00 |
|
hathach
|
017c95037f
|
add usbd edpt open
- RTT mode is blocking to prevent log lost
- Improve logging message
|
2020-04-26 14:51:44 +07:00 |
|
hathach
|
e4570c35f7
|
add uart for ea4357
|
2020-04-20 00:27:35 +07:00 |
|
hathach
|
593fe154ec
|
adding subclass & protocol to class driver structure
|
2020-04-14 18:00:59 +07:00 |
|
Nathan Conrad
|
84a9715958
|
tu_verify: Change some define functions use do-while statement.
|
2020-04-02 23:22:48 -04:00 |
|
Nathan Conrad
|
7f6316dbe1
|
Use CRLF on UART.
|
2020-03-14 14:26:14 -04:00 |
|
Nathan Conrad
|
25c1bea782
|
Normalize line endings
|
2020-01-15 14:47:43 -05:00 |
|
majbthrd
|
6b3eb5f173
|
fix missing parentheses in TU_MIN and TU_MAX macros (#256)
|
2019-12-30 23:12:18 +07:00 |
|
hathach
|
bbada1d3e6
|
adding lookup table for debugging
add msc scsi command list
|
2019-12-23 18:54:06 +07:00 |
|
hathach
|
050fa2fd39
|
able to response to scsi inquiry, but failed to response to test unit ready
|
2019-12-21 19:33:41 +07:00 |
|