summaryrefslogtreecommitdiff
path: root/src/portable/raspberrypi
AgeCommit message (Collapse)Author
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-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-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
2022-03-31implement pio_usb_irq_handlerhathach
2022-03-30make use pio_usb_port_reset_start/endhathach
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-03got interrupt endpoint workinghathach
2022-03-02try to fix cihathach
2022-03-02minor renamehathach
2022-03-01start to add pio usb (host) supporthathach
run as proof of concept