summaryrefslogtreecommitdiff
path: root/src/portable/raspberrypi/rp2040
AgeCommit message (Collapse)Author
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-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-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-08proof of concpet that device pio-usb work with host pio-usbhathach
2022-03-20Merge branch 'master' into pio-hosthathach
2022-03-07implement dcd_sof_enable() for rp2040hathach
2022-03-04rename HCD_MAX_XFER to CFG_TUH_ENDPOINT_MAXhathach
minor clean up
2022-03-03Add host string descriptor functionsScott Shawcroft
Plus typo fixes, GCC11 array bounds fix, snprintf for malloc-free debug and pragmas for alignment checks.
2022-03-02try to fix cihathach
2022-03-02minor renamehathach
2022-03-01start to add pio usb (host) supporthathach
run as proof of concept
2022-02-28Merge pull request #1343 from Daft-Freak/patch-1Ha Thach
Open OUT endpoint for HID host
2022-02-25rename TUSB_OPT_HOST_ENABLED to CFG_TUH_ENABLEDhathach
2022-02-25rename TUSB_OPT_DEVICE_ENABLED to CFG_TUD_ENABLEDhathach
TUSB_OPT_DEVICE_ENABLED still usable for backward compatible
2022-02-23Support interrupt OUT in RP2040 HCDCharlie Birks
2021-12-08Handle xfer events before closing EPValentin Milea
2021-12-07Remove buffer reclaim logsValentin Milea
2021-12-04Handle the closing of endpoints on RP2040Valentin Milea
2021-11-30improve hcd_device_close() for rp2040hathach
2021-11-30implement hcd device closerppicomidi
2021-11-05RP2040 HCD: Move invalid ep->active assert in hw_trans_complete. The check ↵Liam Fraser
for ep->active should only happen if a setup packet was just sent. Otherwise the transaction is handled in hw_handle_buff_status.
2021-10-24remove ep descriptor wMaxPacketSize bitfield due to endian issuehathach
2021-10-14More warning cleanupgraham sanderson
- physically suppress warnings in TinyUSB headers using pragmas so they don't break -Werror compilation of external files that include them - fix compiler warnings in rp2040 port - add cmake method to rp2040 port to allow an external project to suppress warnings in TinyUSB itself
2021-10-14Remove compiler warninggraham sanderson
2021-09-01rp2040 implement dcd_edpt_close_all()hathach
aslo rename reset_ep0_pid() and clean up. We only need to reset pid when setup packet received
2021-09-01rp2040 correct ep set/clear stallhathach
- stall will remove pending (not complete) transfer. Correct reset data toggle when clear stall. - remove buf ctrl debug code
2021-08-31fix rp2040 chapter 9 TD 9.6 testhathach
2021-08-26add dcd_edpt_close_all() for clear existing configured statehathach
correctly responded to TD 9.13 Set Configuration Test
2021-08-24rename host API to be consistent with naming on device stackhathach
- tuh_device_get_speed() to tuh_speed_get() - tuh_device_configured() to tuh_mounted() - tuh_device_ready() to tuh_ready()
2021-08-24fix rp2040 buildhathach
2021-08-12add ready check for edpt claimhathach
2021-08-12bus_reset will reset all endpointshathach
allow for dynamic configuration as well as state-less enumeration
2021-08-12white spacehathach
2021-08-12simplify hw_endpoint_init()hathach
2021-08-11more dcd clean uphathach
2021-08-11clean up endpoint set/clear stallhathach
2021-08-11rp2040 enable suspend and resume interrupthathach