summaryrefslogtreecommitdiff
path: root/src/portable/raspberrypi
AgeCommit message (Collapse)Author
2023-01-23rp2040: export hw_endpoint_start_next_buffer() and hw_endpoint_lock_update()Jonathan Bell
The next change to the driver requires the export of these functions. Leave the lock unimplemented for now. Also move hw_set and hw_clear aliases into the top-level header file.
2022-11-30more clean uphathach
2022-11-30white spaceshathach
2022-11-23Fix RP2040 Issue 1721rppicomidi
2022-11-04fix -wconversion-int and add minor commenthathach
2022-11-04Merge branch 'master' into rp2040-hcd-bulkHa Thach
2022-10-05Fix typo for log in dcd_rp2040.cmingpepe
2022-09-13[rp2040] Wrap GCC pragmas in #ifdef __GNUC__Ben Avison
IAR generates warning Pe161 'unrecognized #pragma'.
2022-09-13Don't assume ints automatically convert to enumsBen Avison
IAR generates warning Pe188 'enumerated type mixed with another type'.
2022-09-13Remove unreachable codeBen Avison
IAR generates warning Pe111 'statement is unreachable'. In a couple of cases, replace return statements with TU_ATTR_FALLTHROUGH; because some compilers apparently can't figure out that the return statements are unreachable but do whinge about an imagined fall-through without them!
2022-09-12[rp2040] Explicit cast value of `hw_set_alias`Ben Avison
Some compilers don't support the GNU extension `typeof` so their definitions of `hw_set_alias` can't inherit their type from their argument, and the best we can do is have `hw_set_alias` act the same as `hw_set_alias_untyped`. This requires an explicit cast when the macro is used instead, otherwise IAR generates error Pe132 'expression must have pointer-to-struct-or-union type but it has type "void *"'. The same goes for `hw_clear_alias`.
2022-09-12[rp2040] Remove non-portable return statementsBen Avison
IAR generates error Pe118 'a void function may not return a value'.
2022-09-07Fix bug #1628 by preventing shared irq slots for filling upjmark1m
2022-07-12RP@040: rework CMake for compiler warningsgraham sanderson
2022-06-30rp2040 enable SOF as resumed signal when remote wakeuphathach
2022-06-27use forloop to avoid -Warray-bounds with host setup packethathach
2022-06-27fix all warnings with host rp2040hathach
2022-06-21Merge pull request #1509 from liamfraser/rp2040_hcd_improvementsHa Thach
RP2040 HCD Improvements (Hub + Keyboard + Mouse working)
2022-06-18Merge pull request #1518 from mingpepe/masterHa Thach
Fix typo for log format
2022-06-17rp2040: use shared IRQ handlers, so user can also hook the USB IRQgraham sanderson
2022-06-17Fix typo for log formatmingpepe
2022-06-16rp2040: make moving 1K of code into RAM optional - and off by defaultgraham sanderson
2022-06-13hcd_rp2040 improvements:Liam Fraser
- Stall now has priority over other interrupt responses - Delete eunused hcd_edpt_busy - Assert !ep->active when trying to start a new xfer - Assert !ep->active when handling buff_status bits - Set ep->xferred_len to 8 once a setup packet is finished so the data structure is accurate
2022-06-08make all hcd/dcd function used in isr into ram with ↵hathach
__no_inline_not_in_flash_func() for faster irq handling result is 1KB of code moved from rom -> ram
2022-06-08add tuh_configure() for port/dynamic host behavior confighathach
2022-05-31Merge pull request #1381 from hathach/add-sof-isrHa Thach
Add SOF IRQ Handler
2022-05-20Minor cleanup of RP2040 code post addition of Pico-PIO_USBgraham sanderson
* 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-10clean uphathach
2022-04-28more clean uphathach
2022-04-27clean uphathach
2022-04-26minor clean uphathach
2022-04-26improve pio usb endpoint handlerhathach
2022-04-26follow pio usb changeshathach
2022-04-22more with pio usbhathach
2022-04-22keep up with pio usbhathach
2022-04-18clean up pio driverhathach
2022-04-17hcd_rp2040: Add bulk in/out+interrupt out support.Skyler Mansfield
Added support for allocating hw_endpoints for non-interrupt endpoints. Allow endpoints to be used in either direction by updating bit checks.
2022-04-16support pio dcd endpiont stallhathach
2022-04-15pio device works wellhathach
2022-04-14catch up with pio libhathach
2022-04-08proof of concpet that device pio-usb work with host pio-usbhathach
2022-04-05add need_pre for pio usb, but not work out wellhathach
2022-04-03correct pio usb speed, and close devicehathach
2022-04-03use pio usb host inithathach
2022-04-03clean up hcd piohathach
2022-04-02extracting hw root porthathach
2022-04-01update to use pio hw endpointhathach
2022-04-01rename pio to pio_usbhathach
2022-04-01hid example work wellhathach
2022-04-01pio usb control work well including stall responsehathach