ea8a9e0249
remove cmake compile macro for net example (use lwipopts.h instead)
2022-06-01 15:10:05 +07:00
9352f75220
Merge pull request #1438 from Nikitarc/master
...
Update dwc2_stm32.h
2022-06-01 12:23:32 +07:00
fdeac8508b
Merge pull request #1381 from hathach/add-sof-isr
...
Add SOF IRQ Handler
2022-05-31 22:25:14 +07:00
ab7c23a787
Merge pull request #1479 from M3gaFr3ak/master
...
Fix printf long int compiler error
2022-05-31 21:53:29 +07:00
e384d16d57
clean up tud_audio_set_itf_cb() invocation
2022-05-31 21:52:54 +07:00
223aaeaecd
Merge pull request #1463 from hathach/sof-isr-update
...
changes proposal to audio feedback computation
2022-05-31 20:57:07 +07:00
f2926670cc
comment out fifo count method for now
2022-05-31 20:26:37 +07:00
a87ccee743
Fix printf long int compiler error
2022-05-28 19:48:20 +02:00
f4efb51fe2
Merge pull request #1477 from cr1901/fix-subm
...
Remove lib/Pico-PIO-USB, which has moved to hw/mcu/raspberry_pi/Pico-PIO-USB. Fixes #1475 .
2022-05-28 00:11:43 +07:00
dce2ad4ffb
adding feedback fifo count (WIP)
2022-05-27 23:11:25 +07:00
f76c7526c9
Remove lib/Pico-PIO-USB, which has moved to hw/mcu/raspberry_pi/Pico-PIO-USB.
2022-05-27 11:54:28 -04:00
15aa593790
wrap feedback and compute to its own struct/union
2022-05-27 12:27:31 +07:00
7b1344fe69
Merge pull request #1467 from kilograham/rp2040_cleanup
...
Minor cleanup of RP2040 code post addition of Pico-PIO-USB
2022-05-26 23:54:20 +07:00
c1ae13b997
Merge pull request #1473 from sknebel/patch-1
...
fix links in docs
2022-05-25 22:55:33 +07:00
16c0eb0d2f
fix links in docs
...
changed markdown formatting to rst formatting
2022-05-24 21:45:35 +02:00
0a4a28a90c
Merge pull request #1451 from kasjer/kasjer/pic32-sanity-fixes
...
pic32 sanity fixes
2022-05-24 20:42:06 +07:00
26c4d4b328
Minor cleanup of RP2040 code post addition of Pico-PIO_USB
...
* Removed some compiler warnings, and cleaned out unnecessary warning suppression from CMake suppress_tinyusb_warnings()
* Made explicit family_configure_dual_usb_example() for DUAL mode examples as family_configure_target() may not generally be called multiple times for the same target
* Renamed library pico_pio_usb to tinyusb_picio_pio_usb to be clearer and avoid conflict if someone already has a pico_pio_usb in their project
* Added family_add_pico_pio_usb() method for adding Pico-PIO_SUB support to an existing example
* Allowed tinyusb_pico_pio_usb to be added to regular apps using the Pico SDK
2022-05-20 17:25:30 -05:00
e5113a1cfc
prototype for feedback method
2022-05-19 16:05:55 +07:00
5766c9ac4e
rename tud_audio_sof_isr() to tud_audio_feedback_interval_isr()
...
- also add interval_log2 to isr callback
- also rename other variables
2022-05-19 13:44:10 +07:00
c2bcda86e2
Merge pull request #1412 from hathach/pio-host
...
PIO USB support
2022-05-16 16:29:20 +07:00
e0e9426c2a
print addres of mouse input
2022-05-16 16:00:15 +07:00
4586d8f119
add upstream Pico-PIO-USB
2022-05-16 13:44:06 +07:00
be2a51316c
remove pico-usb fork
2022-05-16 13:29:12 +07:00
20b810d25b
fix ci build
2022-05-13 23:01:06 +07:00
c5ba1ea8c1
changes proposal to audio feedback computation
2022-05-13 22:54:47 +07:00
f09df55ab9
clean up example
2022-05-11 15:40:02 +07:00
8bd923f5f1
sync with pio usb
2022-05-11 00:37:45 +07:00
8473ca16fb
clean up
2022-05-10 22:56:06 +07:00
35b77a4a81
cmake lib rename
2022-05-10 22:14:00 +07:00
717a474125
move pio-usb init to family_configure_pio_usb_example() to stay compatible
2022-05-10 21:56:47 +07:00
993f7b6a2c
include dual examples to ci
2022-05-10 13:15:07 +07:00
e3b57cea05
rename host/hid_to_cdc to dual/host_hid_to_device_cdc
2022-05-10 13:01:28 +07:00
26ee622222
move pio usb files to src
2022-05-10 12:51:48 +07:00
79b5ab822e
fix incorrect total number of interface
2022-05-06 17:22:52 +07:00
d23c9b7cd6
Merge pull request #1460 from ccrome/chc-fix-freertos-irq-imx
...
set irq priority for freertos
2022-05-06 13:04:41 +07:00
f19d913b5d
set irq priority for freertos
2022-05-05 22:29:12 -07:00
e49cad84e2
dcd_pic32: Fix memory overwrite in incoming data
...
When transfer was finished rx_fifo_read() read all that
was to read RXPKTRDY was cleared allowing next packet to
be received.
Then xfer_complete was called.
Interrupt for OUT endpoint was left enable, that would not
be a problem if data was handled fast and new transfer was
scheduled.
For MSC when host sends a lot of data this interrupt that was
enabled could cause epn_handle_rx_int() to be called after
transfer was completed and next was not scheduled yet.
Without TU_ASSERT that was added to detect this, incoming
data was written past buffer provided by user code resulting
in random memory corruption.
This just blocks RX interrupt when transfer is finished,
and also only unmasked rx interrupts are handled.
2022-05-01 14:26:24 +02:00
c145777e0e
dcd_pic32: Add asserts transfer sanity check
...
TU_ASSERTS added to detect transfer inconsistency.
2022-05-01 14:14:42 +02:00
d51743a21c
Add TU_BREAKPOINT for mips architecture
...
_mips is provided by xc32-gcc
2022-05-01 14:05:49 +02:00
c289438b75
fix ci build
2022-04-29 23:03:52 +07:00
0b30a10ab3
configure hid_to_cdc example to build with rp2040 with pio usb as host
2022-04-29 22:24:36 +07:00
608577e05c
update pio
2022-04-29 18:05:50 +07:00
85dcb73774
more clean up
2022-04-28 18:00:30 +07:00
a72d4e2462
make hcd_event_handler() fastfunc, and force inline other helper
2022-04-27 20:54:21 +07:00
ae5490e5a5
clean up
2022-04-27 20:52:56 +07:00
4a661dead0
add TU_ATTR_FAST_FUNC for rp2040 __not_in_flash() section
2022-04-27 17:57:52 +07:00
fd827a80a9
everything work great
2022-04-27 01:09:30 +07:00
455bddddcd
minor clean up
2022-04-26 18:47:09 +07:00
4d11c658ff
improve pio usb endpoint handler
2022-04-26 13:08:03 +07:00
6ec5174d8b
Merge pull request #1444 from Firefishy/gh-action-use-replacement-ruby
...
Gh action use replacement ruby
2022-04-26 01:05:33 +07:00