Commit Graph

95 Commits

Author SHA1 Message Date
hathach
45d06cd4ab skip dual/host_info_to_device_cdc for pico due to a bug in pio-usb 2024-08-22 22:25:14 +07:00
Ha Thach
6118700828 update circle ci to build make (#2769)
* update build.py script to work with circleci
* build make with circle ci
* build vm for esp only
* nrf imxrt with large resource
* nrf imxrt with large resource
* remove 2 of nrf boards
2024-08-21 19:09:37 +07:00
hathach
aa2685536b implement max3421e hcd_edpt_abort_xfer() 2024-05-15 16:00:15 +07:00
hathach
eab42d90d4 update clang make build for stm32: f0 f1 f2 f3 f4 f7 h7 g0 g4 l0 l4 samd21 samd51 nrf 2024-04-24 22:11:08 +07:00
hathach
d486a56ded clang work with lpc54 2024-04-23 10:03:17 +07:00
hathach
31a44c0b7e fix linker libgcc for nrf 2024-04-22 22:37:37 +07:00
hathach
06c81d8bee clang compile with lpc17 2024-04-22 19:52:55 +07:00
hathach
838a58df99 clang work with lpc43 2024-04-22 19:45:27 +07:00
hathach
db30eee0fc clang tested with mcb1800, add heap to lpc18 linker 2024-04-22 18:31:11 +07:00
hathach
62331f0207 fix nrfx v3 spim freq when init
fix clang build with nrf
2024-04-22 15:55:50 +07:00
hathach
c8e533e612 fix build with nrfx v3, though max3421e spi does not seem to work well. 2024-04-22 14:54:35 +07:00
hathach
2e383bf901 dcd nrf change atoimc_bool to atomic_flag 2024-04-22 12:12:56 +07:00
hathach
9d1d171b0c - update nrfx to v3.4.0
- compile nrf with __STARTUP_CLEAR_BSS and link flag -nostartfiles
2024-04-19 23:17:47 +07:00
hathach
83b4cb178b adding clang for nrf 2024-04-19 23:17:02 +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
08b09926a4 add note for max3421e is not signal compatible with pca10056/95 2024-03-22 11:12:40 +07:00
Xudong Zheng
1315bc196c Fix nRF5340 DK USB host shield build
- Fix incorrect UART pins
- Enable MAX3421 host shield
- Use GPIOTE1_IRQn instead of GPIOTE_IRQn
2024-02-19 16:52:09 -05:00
hathach
a01d6d8b31 tested other ports with featherwing max3421, change cs, intr pin to D10, D9 2023-12-26 21:13:43 +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
f986f1f22d add reset usb bus 2023-12-12 12:23:07 +07:00
hathach
b5448a7987 add feather nrf52840 express to hil pool 2023-12-12 11:59:37 +07:00
hathach
7213b8abb1 move tools/cmake to examples/build_system 2023-11-23 20:06:22 +07:00
hathach
54356a719e minor-update 2023-11-23 17:53:17 +07:00
hathach
82880eecbd make nanolib linking explicitly by each family/board 2023-11-23 12:43:13 +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
fbf64b122d switch freertos to static allocation only (dynamic = 0), since it is possible now with latest freertos cmake 2023-11-16 22:12:38 +07:00
hathach
cfb683f481 tested with nrf52840 and esp32s2 2023-10-05 17:01:41 +07:00
hathach
67e34267a6 change tuh_max3421_spi_xfer_api() signature
tested working with sam d21 and d51, not tested with nrf52, seem not
working with esp32
2023-10-04 18:00:32 +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
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
f55052b61f enable max3421 host for feather nrf52840 with makefile 2023-09-11 16:44:06 +07:00
hathach
1eb0cb0c65 update readme to include max3421 support 2023-09-11 15:45:26 +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
c074488f75 minor rename 2023-09-09 12:20:16 +07:00
hathach
bcc77a60e0 get spi working for metro m4 express 2023-09-08 17:40:00 +07:00
hathach
21ab40bab2 - wrap up hcd max3421, work well with nrf52840
- also add usbh_defer_func()
2023-09-07 12:38:18 +07:00
hathach
3b7d5aa042 improve connection & disconnection detection. But there is still issue when CONDETIRQ occurs but we are disabled interrupt (for osal queue access). 2023-08-31 16:52:09 +07:00
hathach
1ab488eb06 call xfer_complete_isr() when result is not successful (stalled or failed) 2023-08-30 16:04:18 +07:00
hathach
3740a3287a - correct tuh_max3421e_int_api() for nrf52
- hcd_int_disable/enable is software only to reduce interrupt lag
2023-08-29 18:22:21 +07:00
hathach
3ed5d6c372 complete enumeration 2023-08-24 16:27:12 +07:00
hathach
e3f3179924 able to get 8 byte descriptor, but read(RCVBC) always return 0
- rename max3421e to max3421
- fix incorrect bitmask for HCTL, fix initial device connect
- fix bus reset cause connect IRQ
2023-08-23 15:08:12 +07:00
hathach
274578ff46 able to send setup packet 2023-08-22 23:17:12 +07:00
hathach
cacc96b25d adding connection event handling, add nrf gpio interrupt for max2341e interrupt pin 2023-08-18 17:39:10 +07:00
hathach
824e585e2b ground works for hcd max3421e 2023-08-18 14:07:38 +07:00
hathach
9257a0f562 - update nrf52 bsp for cmake
- add empty tuh_int_handler/tud_int_handler if corresponidng stack not enabled
- add hcd_template.c
2023-08-18 12:48:12 +07:00
hathach
a5768f52b4 more board_api.h rename 2023-08-03 15:50:52 +07:00
hathach
473f37df95 add osal queue name if needed
also mass change configQUEUE_REGISTRY_SIZE = 4
2023-08-03 12:05:21 +07:00
hathach
48738df489 move LTO checked to family_support.cmake 2023-06-30 16:05:59 +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