Ha Thach
f13835a2fb
Merge pull request #290 from majbthrd/usbnet-stm32rndis
...
usbnet RNDIS correction (STM32 RNDIS now valid)
2020-03-16 11:16:57 +07:00
Peter Lawrence
aafddfe637
following suggestion by @kasjer
2020-03-15 18:32:02 -05:00
Peter Lawrence
e7efcb6fd5
merge with current master
2020-03-15 18:28:13 -05:00
Peter Lawrence
5e8ff1f7c2
usb RNDIS revision on @pigrew suggestions
2020-03-15 16:05:45 -05:00
Nathan Conrad
7f6316dbe1
Use CRLF on UART.
2020-03-14 14:26:14 -04:00
hathach
85a3315a99
Adding lwip_webserver to ci
...
- buil_al.py skip specific MCU if .skip.MCU_ exists
- reduce stm32f070 heap & stack size to compile webserver
2020-03-09 15:51:29 +07:00
Ha Thach
5f5ee465a6
Merge pull request #291 from hathach/port-samg55
...
Port samg55
2020-03-07 16:38:59 +07:00
Peter Lawrence
d74facfd0a
usbnet RNDIS correction
2020-03-04 17:54:11 -06:00
Peter Lawrence
4a4682a80a
update net class to follow API naming convention
2020-03-03 10:31:46 -06:00
Peter Lawrence
fee79d7466
add CDC-ECM/RNDIS/CDC-EEM network device class with example
2020-03-02 21:15:01 -06:00
hathach
087e3c7f56
Merge branch 'master' into port-samg55
2020-02-07 16:50:07 +07:00
hathach
b6b9fe42af
more log for debugging
2020-02-07 16:43:44 +07:00
Kay Sievers
73228a67ef
MIDI: Add packet interface
...
This changes the internal buffering to the raw 4-byte messages. The
conversion of the messages to a byte-stream moved to the read/write
methods.
It adds a raw packet interface to send and retrieve the raw 4-byte
USB MIDI message:
static inline bool tud_midi_receive (uint8_t packet[4]);
static inline bool tud_midi_send (uint8_t const packet[4]);
MIDI USB packets carry virtual cable/wire/plug data in the packet header,
which cannot be exported in the byte-stream interface. The raw packet
interface allows to send and and receive the complete USB message.
2020-01-16 10:11:37 +01:00
hathach
05fd02194e
correct return value of midid_xfer_cb
2020-01-16 11:12:26 +07:00
Nathan Conrad
25c1bea782
Normalize line endings
2020-01-15 14:47:43 -05:00
Peter Lawrence
53732805b7
CDC device: help ensure code is consistent with the size of the buffers it operates on
2020-01-11 15:31:42 -06:00
Peter Lawrence
33c715bdd0
CDC device: fix behavior for transfers that are a whole multiple of endpoint buffer
2020-01-11 14:21:43 -06:00
Ha Thach
744674bb28
Merge pull request #240 from majbthrd/master
...
implement multiple interfaces support
2020-01-11 12:23:13 +07:00
Peter Lawrence
ff0e7d2bed
implement multiple interfaces support
2019-12-28 14:27:32 -06:00
hathach
605129eb66
invoke scsi complete callback before queue for csw status
...
there is racing issue with samd + qspi flash testing with arduino
otherwise.
2019-12-24 21:24:43 +07:00
hathach
bbada1d3e6
adding lookup table for debugging
...
add msc scsi command list
2019-12-23 18:54:06 +07:00
hathach
94e70f9b01
Merge branch 'master' into port-samg55
2019-12-21 23:53:48 +07:00
hathach
421221baa5
making more progress, but failed with WRITE10
...
incorrect queue 448 bytes instead of 512
2019-12-21 23:51:57 +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
samveen
ba8a232970
add "`" and "~" to keycode -> ASCII table
2019-12-17 12:47:05 +05:30
samveen
fdce63b268
[tusb]fix typo in comment
2019-12-16 23:01:26 +05:30
hathach
fe1eadf177
fix #229
2019-11-27 12:34:30 +07:00
hathach
fc86a308f6
clean up
2019-11-05 11:45:02 +07:00
hathach
5209091c28
Merge branch 'master' into fix-issue-207
2019-11-05 10:20:30 +07:00
Nathan Conrad
c98acd3873
Use control transfer function to send control data (in usbtmc)
2019-11-04 08:54:18 -05:00
hathach
79fbc0b23c
wait for scsi status complete before queueing for next scsi command
...
fix #207
2019-11-01 18:43:18 +07:00
hathach
d0d87d98f6
add assert to prevent div by zero
2019-11-01 18:03:43 +07:00
hathach
164d0db825
Merge branch 'ZLP_Request2' into pigrew-ZLP_Request2
2019-11-01 10:16:59 +07:00
hathach
981e64d8a1
implement pigrew review
2019-11-01 10:07:56 +07:00
Nathan Conrad
d35f86993f
Merge remote-tracking branch 'origin/master' into ZLP_Request2
2019-10-31 12:23:54 -04:00
hathach
f58726887a
update doc, hid set report
2019-10-31 21:28:46 +07:00
hathach
8a57997c0f
Merge branch 'master' into pigrew-ZLP_Request2
2019-10-31 09:57:52 +07:00
Sylvain Munaut
ec4ecfa817
Add support for DFU Runtime class for devices
...
This is really just a few descriptors and then answering to the
request from the host to reboot into DFU mode.
That latter part is delegated to the app since this is platform
specific.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-10-28 16:11:08 +01:00
Nathan Conrad
cef388b7bd
Merge branch 'master' into ZLP_Request2
2019-10-02 01:15:47 -04:00
hathach
204791b3e7
2nd attempt to fix #161
2019-10-01 22:19:04 +07:00
hathach
d27291f288
Merge branch 'master' into develop
2019-09-30 14:45:34 +07:00
Nathan Conrad
91fa24d99c
Merge branch 'master' into ZLP_Request2
2019-09-27 00:37:21 -04:00
hathach
6183dbd0ce
add -Wextra for more warnings to example
...
non-stack warning (probably mcu driver) should be suppressed in the
board.mk
2019-09-27 00:15:43 +07:00
Nathan Conrad
6841b236e8
Remove _app from callback function names.
2019-09-25 12:47:05 -04:00
Nathan Conrad
3a87dd65d7
Change getting the capabilities structure to a callback instead of an extern struct.
2019-09-25 12:46:35 -04:00
Nathan Conrad
2d4352bfe9
Rename USBTMC functions.
2019-09-25 12:46:25 -04:00
Nathan Conrad
412a279073
I never understood why I need to write void as empty function arguments.
2019-09-24 13:54:45 -04:00
Nathan Conrad
624f4bf4ce
Remove rhport from app code. If anything, it should be the interface_id. Assume a single interface, for now.
2019-09-24 13:42:29 -04:00
Nathan Conrad
10105557dc
Let application control interface latency...
2019-09-24 13:11:45 -04:00
Nathan Conrad
e61f2b7393
Retool stalling EP on xfer errors.
2019-09-22 09:55:28 -04:00