Commit Graph

81 Commits

Author SHA1 Message Date
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
hathach eb7fcf1b74
add CPU_CORE for all family 2023-06-24 18:38:41 +07:00
hathach c789cfe518
use system_nrf5x.c built-in support for ETM with ENABLE_ETM 2023-06-20 16:13:10 +07:00
hathach 19c99d3b42
etm trace for nrf52840 2023-06-20 13:19:08 +07:00
hathach e754795d3a
fix build warnings 2023-06-16 15:29:34 +07:00
hathach a7f330fa94
fix build, update freertos config for cmake 2023-06-16 14:17:25 +07:00
hathach bb795e6a5e
update cmake to build with IAR for g0 and g4 2023-06-02 15:26:16 +07:00
hathach fcf7791454
add IAR support for G0 with cmake 2023-06-02 13:27:18 +07:00
hathach e7090c7514
cmake refactor 2023-06-02 11:42:17 +07:00
hathach 19a597bcae
add lto for cmake 2023-06-01 12:36:08 +07:00
hathach 7ac85d08c7
move lpc18 and rp2040 to cmake workflow since rp2040 often failed randomly with make 2023-05-26 16:37:47 +07:00
hathach c0ecf8b50f
move set TOP to family_support.cmake 2023-05-26 14:56:22 +07:00
hathach 4c9605910f
update cmake with freertos 2023-05-25 21:27:26 +07:00
hathach 5fea010406
add family_support_configure_common() 2023-05-25 17:27:05 +07:00
Ha Thach 1ef820ecfe
Enhance chipidea (#2075)
* update chipidea dcd, remove manual ep_count and use DCCPARAMS to get number of endpoint instead
* add dcd dcache for chipidea
* add cmake for lpc18
* add makefile build for mcx
* use fork of mcu sdk
* fix ci build with nrf
* flash rp2040 with openocd
2023-05-23 21:45:00 +07:00