William D. Jones
1385d7c494
stm32: Refactor so F4 and H7 use a single Synopsys IP source file.
2019-09-09 10:48:14 -04:00
William D. Jones
82cd4b5350
dcd_stm32f4: Merge relevant changes from dcd_stm32h7.
2019-09-09 10:27:46 -04:00
William D. Jones
3efc81b285
dcd_stm32h7: Merge relevant changes from dcd_stm32f4. USB2 -> USB works as alias.
2019-09-09 10:14:20 -04:00
hathach
e123cad7bb
enhance dcd stm32f4 to support max 4 or 6 endpoints on 407 or 412
2019-09-08 23:10:51 +07:00
hathach
4663f9084d
ported board stm32f412g discovery
...
- added soft connect for enable pull up register dcd stm32f4
2019-09-08 21:57:02 +07:00
hathach
56f1ccd68a
fix #97
2019-09-05 21:59:19 +07:00
hathach
143a138028
Merge pull request #116 from hathach/develop
...
Board update
2019-09-05 16:18:34 +07:00
hathach
a90e2aa2ce
55s69 device work with usb0
2019-09-05 16:12:13 +07:00
hathach
7350e9c25c
Merge pull request #114 from cr1901/stm32h7
...
STM32H7 Support
2019-09-05 15:29:13 +07:00
William D. Jones
8f8ca77a91
stm32h7: Mark USB FIFOs as volatile, otherwise optimizations will remove
...
reads/writes to the FIFOs.
2019-09-04 01:06:07 -04:00
William D. Jones
910fd867c7
stm32h7: Fix indentation error where OUT XFER interrupt wasn't handled
...
in the correct scope.
2019-09-03 01:37:44 -04:00
William D. Jones
1a3dc9cba1
stm32h7: USB_OTG_FS -> USB2_OTG_FS.
2019-09-03 01:28:41 -04:00
William D. Jones
f703a74daa
stm32h7: Implement STALL logic for endpoints.
2019-09-03 01:28:41 -04:00
William D. Jones
28b131ea94
stm32h7: Implement dcd_edpt_open. cdc_msc_hid demo functional.
2019-09-03 00:37:50 -04:00
William D. Jones
d4302dacc5
stm32h7: Fix accidental overwrite of STUPCNT field in DOEPTSIZ register.
2019-09-03 00:25:21 -04:00
William D. Jones
9210167603
stm32h7: Implement dcd_set_address.
2019-09-02 21:00:30 -04:00
William D. Jones
0d0b802ee0
stm32h7: Implement IN and OUT receive for EP0; device descriptor returned.
2019-09-02 19:32:11 -04:00
William D. Jones
f602534536
stm32h7: Implement setup packet events.
2019-09-02 13:34:33 -04:00
hathach
ee57113981
trying to add LPC55xx support
2019-09-02 15:53:12 +07:00
hathach
80cde5b0b5
fix potential bug with mis-align issue
2019-09-01 17:20:10 +07:00
hathach
074681da8b
dma of lpc54114 can also execute up to 64 bytes each transfer
...
There is still issue with cdc_msc_hid example
2019-09-01 17:05:34 +07:00
hathach
aeea6754af
rename lpc_usbd to lpc_ip3511
2019-09-01 16:44:40 +07:00
hathach
3067809957
adding lpc54xxx to dcd, able to go through enumeration
2019-09-01 16:15:23 +07:00
hathach
403662a1d6
board_test run with lpc54114
2019-09-01 15:58:42 +07:00
hathach
957201fc58
fix undef __ARM_ARCH_6M__
2019-09-01 11:59:50 +07:00
hathach
2d041aaa1d
clean up
2019-09-01 08:11:22 +07:00
hathach
30f707cad2
rename lpc11_13_15 to simply lpc_usbd since it is almost used by in recent year for nxp mcu
2019-09-01 00:51:58 +07:00
hathach
bac75a81fd
support LPC51u68 #100
2019-08-31 22:44:08 +07:00
hathach
b7dbc98ab1
close #105 add tud_vendor_write_available()
2019-08-31 16:31:07 +07:00
William D. Jones
8b165e1024
stm32h7: Ensure FS (and the only) PHY is selected for OTG_HS2.
2019-08-30 22:07:35 -04:00
William D. Jones
7153561984
stm32h7: Enable USB peripheral (device does not enumerate yet).
2019-08-30 21:57:06 -04:00
William D. Jones
0fb9ab9a09
stm32h7: Add empty template cdc_msc_hid example for STM32H743 Nucleo board that compiles.
2019-08-24 12:40:18 -04:00
hathach
b3acce17cc
adding lpc51u68 support
2019-08-24 00:52:46 +07:00
hathach
48c7b80c57
fix warnings of template descriptor
2019-08-23 13:33:40 +07:00
Scott Shawcroft
00c440cb26
Merge pull request #99 from jepler/issue98-midi-program-change
...
midi_device: Send message classes C and D as 2 bytes
2019-08-15 23:34:42 -07:00
jepler
96d96a94b8
midi_device: Send message classes C and D as 2 bytes
...
.. sending these as two 1-byte messages with CIN of 0xF is
misinterpreted by OSes including Windows 10 and (reportedly)
Mac.
Testing performed: Ran the reproducer script, which sends Program
Change (0xCx) messages. I did not check with Change Pressure (0xDx)
messages, but expect the same thing.
Closes : #98
2019-08-14 19:15:29 -05:00
hathach
47cd08d526
clean up
2019-08-05 22:31:41 +07:00
hathach
d1df041519
nrf5x remove the depenedent on nrfx_power.h
2019-08-05 22:09:37 +07:00
hathach
d211035a0a
merge dcd/hal_nrf5x.c into dcd/dcd_nrf5x.c
2019-08-05 21:54:20 +07:00
hathach
30de17a830
clean up
...
- remove TUD_WEBUSB_URL_DESCRIPTOR to avoid flexible array member (C++
forbid in strict mode)
- remove unused TUD_DESC_STRLEN/TUD_DESC_STR_HEADER/TUD_DESC_STR_HEADER
2019-08-01 13:20:00 +07:00
hathach
bd08d0edc9
add vendor peek, change cdc peek signature, change cdc read_char() return from signed char to int32_t
2019-08-01 10:46:27 +07:00
hathach
2c2db31b09
clean up
2019-07-30 20:28:39 +07:00
hathach
00a9e492cd
clean up
2019-07-30 00:48:31 +07:00
hathach
af3c301ea5
added BOS MS OS 2.0 descriptor to webusb example, it work with windows
2019-07-30 00:34:25 +07:00
hathach
cdaf455461
fix stall response with SET_INTERFACE/GET_INTERFACE
...
webusb work with linux & macos
2019-07-26 20:14:56 +07:00
hathach
d2b60b6755
webusb work great with linux
2019-07-26 11:36:30 +07:00
hathach
8ba71be6ee
more webusb + vendor
2019-07-25 16:52:20 +07:00
hathach
caf2b6d463
move tud_vendor_control_* to usbd.h
2019-07-24 23:12:31 +07:00
hathach
2a543c0e79
update vendor device similar to cdc read/write
...
maybe refactor later
2019-07-24 23:07:30 +07:00
hathach
56b656c768
Merge branch 'master' into develop
2019-07-24 17:08:19 +07:00
hathach
1ee9ef4f2b
change tud_msc_start_stop_cb() to return void -> bool
2019-07-24 16:19:12 +07:00
hathach
8ba78ee012
adding vendor
2019-07-24 16:08:43 +07:00
hathach
c63f2b30cb
rename tud_control_vendor_request_cb/complete_cb to tud_vendor_control_request_cb/complete_cb
2019-07-24 09:45:32 +07:00
hathach
8fad8fb5c2
Merge branch 'master' into develop
2019-07-22 19:23:48 +07:00
hathach
33de35504a
more house keeping
2019-07-19 20:20:13 +07:00
hathach
ae5dc435cb
house keeping
2019-07-19 16:49:04 +07:00
hathach
a3cb2dda9e
rename custom/custom-_* to vendor/vendor_*
2019-07-19 16:37:28 +07:00
hathach
6a076d8aae
rename CFG_TUSB_HOST_CUSTOM_CLASS to CFG_TUH_VENDOR
2019-07-19 16:31:51 +07:00
hathach
b0678e1050
rename CFG_TUD_CUSTOM_CLASS to CFG_TUD_VENDOR
2019-07-19 16:23:56 +07:00
hathach
ed6fa460e9
stm32 minor change
2019-07-19 10:59:35 +07:00
hathach
83f7aacbb1
clean up
2019-07-16 18:43:06 +07:00
hathach
036e858543
add tud_control_vendor_request_cb()/tud_control_vendor_complete_cb(), expose usbd control transfer
...
rename usbd_control_transfer/status to tud_control_transfer/status
2019-07-16 18:14:47 +07:00
hathach
cb4e6837e9
clean up, rename internal driver control_request_complete to simply control_complete
2019-07-12 22:03:40 +07:00
hathach
2b7acd554a
updating webusb with cdc
2019-07-12 19:38:04 +07:00
hathach
164b26ee6b
change TUD_HID_INOUT_DESCRIPTOR epout & epin order
...
clean up, adding template for BOS & BOS platform descriptor
2019-07-12 14:53:11 +07:00
hathach
3b6013e78f
clean up
2019-07-12 14:43:01 +07:00
hathach
e74aa41552
added tud_descriptor_bos_cb(), add support for BOS get descriptor
2019-07-12 00:12:14 +07:00
hathach
5ebb606ecd
add BOS descriptor and device capability constant
2019-07-11 22:35:17 +07:00
hathach
f554a50507
release as 0.5.0
2019-07-10 23:54:11 +07:00
hathach
64e9c11b41
fix incorrect midi descriptor template
2019-07-09 10:40:14 +07:00
hathach
216ccc6e93
midi only use audio 1.0 without IAD
2019-07-05 16:46:11 +07:00
hathach
f16ebd512b
indent clean up
2019-07-04 18:45:10 +07:00
hathach
1b242cb3c6
clean up
2019-07-04 01:31:56 +07:00
hathach
b0e5a1a9ec
remove tud_midi_write_flush() send asap. rename tud_midi_connected() to tud_midi_mounted()
2019-07-04 01:27:51 +07:00
hathach
50f4c61d7c
fix midi_write prototype
2019-07-03 01:22:41 +07:00
hathach
1a0e02fa1b
tested midi example
2019-07-03 00:52:25 +07:00
hathach
62d3b91691
clean up
2019-07-02 18:23:42 +07:00
hathach
3f3ef6f4e6
clean up
2019-07-02 16:42:12 +07:00
hathach
57433135ce
fix midi template
2019-07-01 23:19:14 +07:00
hathach
e702328093
fix compiling
2019-07-01 23:11:16 +07:00
hathach
6991b28532
improving midi support, adding midi exmaple
...
rename TUSB_DESC_CLASS_SPECIFIC to TUSB_DESC_CS_INTERFACE
2019-07-01 22:38:06 +07:00
hathach
73d7ab201e
remove dcd_edpt_busy()
2019-06-10 22:29:18 +07:00
hathach
7156bfb54d
fix build error with midi, use usbd_edpt_xfer/busy for midi to replace dcd_*
2019-06-10 18:46:00 +07:00
hathach
dcfaec9efc
add HID_ASCII_TO_KEYCODE
2019-06-06 18:06:24 +07:00
hathach
13e01c7dca
add TU_ prefix to compiler ATTR to prevent name conflict with application
2019-06-06 10:39:37 +07:00
hathach
a0307bafda
added usbd_edpt_xfer/usbd_edpt_busy to replace dcd_edpt_transfer/dcd_edpt_busy()
...
- improve fifo write/read_n with only one lock
- use usbd_edpt_xfer/usbd_edpt_busy for hid/cdc/msc class driver
- replace cdc read's pending_read_from_host by usbd_edpt_busy()
2019-05-29 16:55:15 +07:00
hathach
5f34c63660
should fix and work with #58
...
- add hid_test_js
2019-05-24 12:33:56 +07:00
hathach
f4762ff012
host fix address alloc when it reach max devices
2019-05-23 10:59:43 +07:00
hathach
3846645a28
fix tud_cdc_read_char()/tud_cdc_peek() to return signed char
...
- depending on compiler option "char" can be intepreted as unsigned char
2019-05-22 00:54:21 +07:00
hathach
bcf9718f9a
clean up
2019-05-15 22:51:49 +07:00
hathach
8ccecde18e
lpc1769 work with makefile
2019-05-15 12:57:31 +07:00
hathach
6e443d1918
enable CFG_TUSB_DEBUG on DEBUG build
2019-05-14 17:36:03 +07:00
hathach
910a94e9ca
clean up
2019-05-14 13:12:16 +07:00
hathach
454496316f
more endian convert
2019-05-14 13:06:38 +07:00
hathach
3e6d911ce9
more clean up use inline bit funciton instead of macros
2019-05-14 12:54:29 +07:00
hathach
81fc7b7e2b
clean up endian convert function
2019-05-14 12:14:51 +07:00
hathach
3e24daac79
remove deprecated tusb_task, clean up tusb compiler
2019-05-14 12:03:06 +07:00
hathach
61ec407752
update license year to 2019
2019-05-14 11:48:05 +07:00
hathach
6135019230
clean up
2019-05-14 11:46:22 +07:00
hathach
f3a5ea65a9
add index to tud_descriptor_configuration_cb()
2019-05-12 19:55:15 +07:00