Commit Graph

34 Commits

Author SHA1 Message Date
hathach 26ca48e7a7
move make.mk and rules.mk to build_system/make 2023-11-23 20:20:01 +07:00
hathach ab9585401b
wrap up build cmake & make support for max3421, to enable the Host driver, 'MAX3421_HOST=1' must be added as part of make/cmake command 2023-09-11 11:35:51 +07:00
Ha Thach 92457ec99f
Merge pull request #2202 from Rocky04/patch-4
Invoke unmounted state on configuration reset
2023-08-09 20:48:26 +07:00
Rocky04 45af3d6a83 Update examples 2023-08-07 12:04:22 +00:00
hathach 9697c4df4e
update all examples to use unique ID as serial if avaialble 2023-08-04 10:28:24 +07:00
hathach ef5bd9ee6c
Merge branch 'master' into enhance-bsp 2023-08-04 00:31:12 +07:00
hathach cf91660cee
rename hw/bsp/board.h to board_api.h 2023-08-03 15:44:05 +07:00
hathach 3f788a4e5a
enable USBMC for uno r4, add board_init_after_tusb() API
add BOARD_UPPERCASE for board detection
2023-07-31 19:09:40 +07:00
hathach ec093bebad
Merge branch 'master' into renesas_ra_hs_rebased 2023-07-27 16:50:34 +07:00
hathach fbaa148fe0
updating hcd rusb2
- make osal_task_delay() as weak function in usbh
- implement osal_task_delay() in hcd rusb2 (may moved to other places)
2023-07-26 18:55:41 +07:00
hathach 1cc7c5d030
add hcd_edpt_abort_xfer() API 2023-07-21 12:43:48 +07:00
hathach e43387abac
rework cmake with rtos support add RTOS to family_configure_device/host/dual_example() 2023-06-27 15:45:38 +07:00
hathach a9aa0e3a1a
fix error on EHCI causes xfer error in non-queued qhd which cause memory fault 2023-05-16 11:10:44 +07:00
hathach c0e4c02b9d allow imxrt build with dual exmaples 2023-05-10 11:15:11 +07:00
hathach 6945c594d5 update all device cmake example for imx 2023-05-07 22:09:08 +07:00
hathach 76dae8d8c1 update host example to use new tuh mem macros 2023-03-24 14:08:57 +07:00
hathach a97f39151e fine tune CFG_TUH_HID value 2023-03-22 08:33:30 +07:00
hathach d22fc550c7 change meaning of CFG_TUH_HID to total number of HID interfaces supported.
- previously CFG_TUH_HID is max number of interfaces per device which is
rather limited and consume more resources than needed.
- change hid host instance in API to index
2023-03-21 21:04:06 +07:00
hathach 3623ba1884
fix trailing space and new line
temporarily disable codespell
2023-03-17 16:12:49 +07:00
hathach e62d1a03ac
integrate top.mk into make.mk 2023-03-06 13:25:56 +07:00
hathach 53677d4844
house keeping 2022-11-21 12:28:33 +07:00
graham sanderson fc1a27b6c9 RP@040: rework CMake for compiler warnings 2022-07-12 12:58:30 -05:00
hathach dd7a17c345 prevent error on specific warnings for net lwip & dual example for rp2040 2022-06-27 17:53:42 +07:00
hathach a0ef489890 fix all warnings with host rp2040 2022-06-27 17:11:24 +07:00
hathach b9dc9dbd78
fix most warnings with rp2040 -wconversion 2022-06-27 11:50:17 +07:00
hathach 7c8278303b update all host examples 2022-06-06 23:16:49 +07:00
hathach 99c1585ed2 rename board specific macro for example
- BOARD_DEVICE/HOST_RHPORT_NUM to  BOARD_TUD/H_RHPORT
- BOARD_DEVICE/HOST_RHPORT_SPEED to  BOARD_TUD/H_MAX_SPEED
2022-06-01 23:53:40 +07:00
graham sanderson 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
hathach e0e9426c2a print addres of mouse input 2022-05-16 16:00:15 +07:00
hathach f09df55ab9
clean up example 2022-05-11 15:40:02 +07:00
hathach 8473ca16fb clean up 2022-05-10 22:56:06 +07:00
hathach 35b77a4a81 cmake lib rename 2022-05-10 22:14:00 +07:00
hathach 717a474125 move pio-usb init to family_configure_pio_usb_example() to stay compatible 2022-05-10 21:56:47 +07:00
hathach e3b57cea05 rename host/hid_to_cdc to dual/host_hid_to_device_cdc 2022-05-10 13:01:28 +07:00