Commit Graph

267 Commits

Author SHA1 Message Date
hathach f603c4a330
skip cdc_msc_hid_freertos example for rp2040 2024-04-04 13:01:16 +07:00
hathach 94c27fcdf7
skip rp2040 build for cdc_msc_hid_freertos 2024-03-22 20:19:12 +07:00
hathach baffadca91
remove pca10095 suppport for max3421
also remove pico_bootsel_via_double_reset from rp2040
2024-03-22 17:54:08 +07:00
hathach 9b6f13716f
correct rp2040 host with max3421 2024-03-04 16:14:53 +07:00
hathach 87d509d416
make CFG_TUH_CDC_LINE_CODING_ON_ENUM optional for ch34x 2024-01-20 01:42:31 +07:00
hathach 98781bb903
- add ch34x_set_data_format()
- add ch34x_set_line_coding()
2024-01-19 15:58:05 +07:00
IngHK c2bbcc9f60 initial support of CH34x CDC device 2023-12-26 20:14:03 +01:00
hathach 551e47a464
allow rp2040 to use max3421e as host controller
- fix warnings build hcd max3421 with rp2040
- add tinyusb_host_max3421 target for rp2040 cmake, -DMAX3421_HOST=1
will enable this
- add max3421 driver implementation for rp2040 family
- update tusb_config for host to allow easy enable host selection for
rp2040 (default/pio-usb/max3421)
2023-12-26 22:50:01 +07:00
hathach 1a3f5f7a09
update FreeRTOSConfig.h
- remove configAssert()
- configCHECK_HANDLER_INSTALLATION=0 (to prevent unused-parameter error with configAssert(x)=nil
2023-12-18 20:33:43 +07:00
hathach 26ca48e7a7
move make.mk and rules.mk to build_system/make 2023-11-23 20:20:01 +07:00
hathach aedc92f2d3
fix typo in cdc line coding enum 2023-11-22 11:25:55 +07:00
hathach 86f6588c3f
update example to work with featherwing max3421, set max3421 GPIO0 for vbus
tested with feather nrf52840, m0, m4
2023-11-20 22:09:38 +07:00
hathach 6b8933cfe8
fix build with new freertos host example 2023-09-28 12:55:59 +07:00
hathach 7dc1a66f91
esp32 cdc host with max3421 work well 2023-09-28 11:12:22 +07:00
hathach 277852afc1
fix esp32 msc example 2023-09-28 10:56:38 +07:00
hathach 76c43a5bdc
Merge branch 'master' into add-max3421-esp32 2023-09-27 17:52:18 +07:00
hathach 3b0ffd0f48
change hcd_int_handler(rhport, in_isr) signature: add in_isr
change tuh_int_handler() to take in_isr as optional parameter (default =
true)
2023-09-27 15:51:03 +07:00
hathach 6dc64eaa28
max3421 communication work with esp32 up to enumeration, seems still have a bit of issue 2023-09-27 12:34:45 +07:00
hathach f6ca86c3dd
tested cdc_msc_hid_freertos with samd51
add -Wno-error=format for espressif
wrap up cdc_msc_hid_freertos
2023-09-26 19:09:36 +07:00
hathach a7c136c03f
adding host/cdc_msc_hid_freertos example 2023-09-25 16:53:11 +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
hathach 41493426b3
use ep buf to keep setup packet, work well with hid device 2023-08-30 16:21:43 +07:00
hathach 84df3b04db
minor update 2023-08-27 23:54:24 +07:00
hathach 502b1bdda6
more update to transaction 2023-08-27 23:45:34 +07:00
hathach f2f005cbdf
fix build iar with lpc43 2023-08-14 22:01:30 +07:00
hathach 088180e3d8
add iar support for lpc43, add lpcxpresso43s67 to hil farm 2023-08-14 20:58:00 +07:00
Ha Thach accc3fd737
Merge pull request #2151 from kilograham/rp2040_build_fixes
Fix build issues when building for RP2040 from pico-examples/pico-sdk.
2023-08-07 11:14:04 +07:00
Ha Thach de4ad2c775
Merge pull request #2204 from hathach/enhance-bsp
Enhance bsp
2023-08-04 11:41:44 +07:00
Ha Thach 9a4c76d18d
Merge pull request #2116 from dsugisawa-mixi/master
fix example of bare_api, check empty string
2023-08-04 11:00:09 +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 2021c62997
fix pre-commit, also skip lto for rp2040 2023-08-02 17:57:28 +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
graham sanderson 3678a25baa Fix build issues when building for RP2040 from pico-examples/pico-sdk.
* include_guard requires GLOBAL as family.cmake is included in multiple non child places
* the following recently added check is suprfluous (family_configure_host_example for rp2040 should do this already),
  and breaks if pico_pio_usb is not avaialble, so i have removed
   # Add pico-pio-usb for rp2040 since user can choose to run on bit-banging host
   if(FAMILY STREQUAL "rp2040")
      family_add_pico_pio_usb(${PROJECT})
   endif()
* added new familt_example_missing_dependency functino to print missing dependency warning, so
  pico-examples can override it to be less in your face, and also more contextual to pico-examples
2023-07-18 09:03:01 -05:00
hathach f7e7ba92ca
enable host example for ra 2023-07-07 16:27:12 +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
dsugisawa-mixi 5e78f08a24 fix example of bare_api, check empty string 2023-06-17 20:04:46 +09:00
hathach e754795d3a
fix build warnings 2023-06-16 15:29:34 +07:00
hathach 8af8869d3b
renam OPT_MCU_MIMXRT to OPT_MCU_MIMXRT1XXX
fix build util with makefile
2023-06-16 11:26:38 +07:00
hathach 1c4f22a54c
EHCI: fix xfer failed with disconnected device as stalled
- change CFG_TUH_ENDPOINT_MAX to 16 (max endpoint pair per device) if
not defined
- change QHD_MAX for EHCI, should be user configurable and more
optimized in the future
2023-05-16 11:09:22 +07:00
hathach 654f182176 build host examples with imx 2023-05-08 00:24:48 +07:00
hathach 6945c594d5 update all device cmake example for imx 2023-05-07 22:09:08 +07:00
hathach f15f79df5d cmake work well with imxrt 2023-05-06 15:14:54 +07:00
hathach 438387be8c more refactor 2023-04-27 17:32:56 +07:00
hathach 86f6fd17ed cp210x seems to work well 2023-04-27 17:09:21 +07:00
hathach 293a6222f8 rename ftdi_host to ftdi_sio 2023-04-27 11:08:42 +07:00
hathach cf95b44001 enable CDC FTDI 2023-04-26 22:36:17 +07:00
hathach 76dae8d8c1 update host example to use new tuh mem macros 2023-03-24 14:08:57 +07:00
hathach 4cee79af27
rename and change default pio usb pin to adafruit feather usb host 2023-03-23 13:08:09 +07:00
hathach f27486e19a add tuh_hid_itf_get_info() and change tuh_cdc_itf_get_info() to use new tuh_itf_info_t 2023-03-22 10:00:42 +07:00