Commit Graph

1116 Commits

Author SHA1 Message Date
hathach c25f835aea update to use pio hw endpoint 2022-04-01 23:31:43 +07:00
hathach db6cba6a7b rename pio to pio_usb 2022-04-01 16:38:41 +07:00
hathach e2f0aef93b make use pio_usb_port_reset_start/end 2022-03-30 16:41:55 +07:00
hathach 735300b53c
remove cxd56 __pycache-_ folder 2022-03-28 12:47:32 +07:00
hathach 45052c625e
Merge branch 'master' into pio-host 2022-03-20 00:51:00 +07:00
hathach a715077b10 remove usbh_control.c 2022-03-11 09:57:35 +07:00
Jerzy Kasenberg 76c8d4d95b Add support for nucleo-wb55rg 2022-03-07 09:35:12 +01:00
Jerzy Kasenberg 2bef4410f9 Add stm32wb cmsis and hal driver submodules from ST 2022-03-05 17:53:57 +01:00
hathach 1d29817139 start to add pio usb (host) support
run as proof of concept
2022-03-01 23:55:53 +07:00
hathach 31aa077cb0 rename TUSB_OPT_HOST_ENABLED to CFG_TUH_ENABLED 2022-02-25 18:35:21 +07:00
hathach d10326cb4e rename TUSB_OPT_DEVICE_ENABLED to CFG_TUD_ENABLED
TUSB_OPT_DEVICE_ENABLED still usable for backward compatible
2022-02-25 18:35:21 +07:00
hathach a8d6e82395 enhance dual role examples 2022-02-25 17:36:05 +07:00
Scott Shawcroft 9ba1ba8fa1
Guard clock setup for USB2 2022-02-22 18:39:02 -08:00
Scott Shawcroft d749597591
Add dual role (concurrent) example
This reads HID devices over host and then translates that to ASCII
and sends it over CDC device.
2022-02-22 18:13:22 -08:00
hathach e188117823 more esp build fix 2022-02-18 16:30:21 +07:00
hathach 52645fcc1b fix build with latest esp idf 2022-02-18 13:07:21 +07:00
Jay Beavers 2df57d2be0 Nit spelling correction 2022-02-09 08:19:01 -08:00
kkitayam d7cbfaaa0a Add hcd into source list 2022-01-27 22:26:51 +09:00
kkitayam a4bc6075ce Add HCD functions for KL25Z 2022-01-27 20:57:40 +09:00
Ha Thach 7de166390e
Merge branch 'master' into master 2022-01-25 22:29:05 +07:00
Ha Thach e40547ada1
Merge pull request #1265 from kkitayam/add_hcd_for_renesas_rx
Add HCD driver for Renesas RX
2022-01-19 19:07:21 +07:00
Ha Thach 84f2ca77f7
Merge pull request #1283 from kasjer/kasjer/olimex-pic32-board-fixes
olimex pic32 board fixes
2022-01-19 09:55:18 +07:00
Jerzy Kasenberg 45d56915d1 pic32/olimex boards: Fix active state of button
Buttons for olimex_emz64 and olimex_hmz144 should be set
to active low in board configuration.
2022-01-17 18:00:58 +01:00
Ha Thach 58b8bdc2e4
Merge pull request #1277 from liamfraser/fix-cmake-skip
Fix family_support.cmake to use new skip.txt and only.txt files
2022-01-17 14:36:51 +07:00
Ha Thach efc29baead
Merge branch 'master' into port-ft90x 2022-01-17 12:36:39 +07:00
Ha Thach 976405dea3
Merge pull request #1270 from kasjer/kasjer/pic32mz
Driver for Microchip PIC32MZ family
2022-01-16 20:24:14 +07:00
hathach cb57f047e7 update for s3 2022-01-16 13:26:50 +07:00
hathach e1e4577616 more ci fix 2022-01-16 13:24:36 +07:00
hathach e635c16de0 fix esp ci build with IDF version 5 2022-01-16 13:12:27 +07:00
Liam Fraser 3db9cf3547 Fix family_support.cmake to use new skip.txt and only.txt files for skipping mcus 2022-01-13 16:39:55 +00:00
Jerzy Kasenberg fff4a248be Add BSPs for Microchip PIC32MZ MCUs
Two boards from Olimex are added:
olimex_hmz144  with PIC32MZ2048EFM144
olimex_emz64.c with PIC32MZ2048EFH064

Both can be programmed with Segger JLINK probe using ICSP
interface. (JTAG not tested but could also work but header
is not mounted).
2022-01-07 14:12:42 +01:00
Scott Shawcroft 47218eeb67
No exceptions on broadcom. Add parens to if 2022-01-05 16:07:17 -08:00
Scott Shawcroft 7b27b8f498
Unify skip and only logic for build scripts
And switch to a single file that can include mcu, family or board.
2022-01-05 15:44:23 -08:00
Scott Shawcroft 4fe0a30ec7
Skip net and freertos examples 2022-01-05 14:33:24 -08:00
Scott Shawcroft 84e2df51be
Split by compiler for testing 2022-01-05 14:11:39 -08:00
Scott Shawcroft a79ffeb764
Add Raspberry Pi Zero W and Zero 2 W
These are different Broadcom chips. The peripherals are essentially
the same. The main differences are:
* The CPU(s)
* The interrupt controller
* The peripheral base address (but not the peripherals that we use)
2022-01-05 13:47:01 -08:00
hathach 5f280b3029
add license to dcd file, slightly update readme 2021-12-29 19:25:32 +07:00
hathach 84e2f6e0e1
skip freertos example for f1c100s 2021-12-29 19:12:41 +07:00
hathach b943a53b10
update allwinner submodule 2021-12-29 19:04:08 +07:00
hathach 2d13ecde1b add allwinnner driver as submodule 2021-12-29 18:59:47 +07:00
hathach 30aba24ddc Merge branch 'master' of https://github.com/t123yh/tinyusb into t123yh-master 2021-12-29 18:27:29 +07:00
kkitayam a750c9c902 Increase stack size 2021-12-27 21:28:46 +09:00
kkitayam a76799b085 Add hcd for Renesas RX 2021-12-27 21:19:02 +09:00
Alex Voinea 6de423606f nucleo-f439zi support 2021-12-21 18:24:05 +01:00
hathach 311248c8b0 add s3 devkitc 2021-12-21 00:10:38 +07:00
hathach 2ab3988d9f add s3 devkitm 2021-12-20 23:54:28 +07:00
Matt Johnston 9b2e78c915 samd21: make uart_init() static
Avoids a linker conflict if programs are using the same function name.
2021-12-20 15:43:16 +08:00
Greg Steiert 04fd8673cd Merge branch 'master' of https://github.com/hathach/tinyusb into feature-kuiic 2021-12-13 08:56:58 -08:00
hathach d097178ab0
correct wiring note 2021-12-13 17:59:43 +07:00
hathach 51acc3e1b9 update g4 bsp 2021-12-09 12:42:08 +07:00
Greg Steiert e72a6e90b9 added support for building uf2 file 2021-12-08 15:24:14 -08:00
Greg Steiert 59dcf2062f adding support for KUIIC board 2021-12-08 14:31:44 -08:00
Gordon McNab 21fa7ea468 Correct path for using the ft90x-sdk submodule (BRTSG-FOSS / ft90x-sdk). Default to ft90x-sdk instead of pre-built library. 2021-12-08 13:56:23 +00:00
Gordon McNab 45869958f6 Add FT9xx to more examples which support High-Speed 2021-12-08 10:03:33 +00:00
Gordon McNab 5039a5e54c Update code to implement changes from upstream master 2021-12-08 09:34:29 +00:00
Gordon McNab 9a7db98593 Merge branch 'master' into port-ft90x 2021-12-08 08:36:43 +00:00
Yunhao Tian 527036b1f5 Initialize MMU if we are executing from DDR 2021-12-08 13:39:27 +08:00
hathach cd76193f3c try updating clock configure for g4 nucleo (not work yet) 2021-12-08 10:37:46 +07:00
Yunhao Tian 43621ab9ed Update README 2021-12-07 22:58:19 +08:00
Yunhao Tian 75f7fb3d9d Add mksunxi tool to make flashable image 2021-12-07 22:53:52 +08:00
Ha Thach cde824f17f
Merge pull request #1222 from scoudreau/swo_logger
Remove unused-parameter errors when LOGGER=swo
2021-12-07 19:53:27 +07:00
hathach 8e0400d531 change uart baudrate for tm4c123 to 115200 2021-12-07 16:28:24 +07:00
hathach 03835c8183 move hcd_musb.c include to family.mk 2021-12-07 16:27:48 +07:00
Yunhao Tian 28fb51c180 Add TODO to README 2021-12-04 18:08:23 +08:00
Yunhao Tian 68ca62dfd7 Add BSP support for F1C100s 2021-12-04 18:02:07 +08:00
Ha Thach 6ecd93eb60
Merge branch 'master' into add_hcd_for_msp_exp432e401y 2021-12-03 00:30:09 +07:00
hathach 83dc3e25f0 more work to abstract chipidea driver 2021-12-01 23:30:09 +07:00
hathach 61a9e125db more ci abstract 2021-12-01 23:19:17 +07:00
Sebastien COUDREAU c9d9bfab92 Remove unused-parameter errors when LOGGER=SWO 2021-12-01 17:10:31 +01:00
hathach 0612433eef add chipidea highspeed controller
add warning to transdimension for the rename
2021-12-01 12:14:44 +07:00
kkitayam b3dddc77eb Add initialization sequence as a HOST 2021-11-29 00:40:23 +09:00
Gordon McNab edf3f35016 Update ft90x-sdk
Update submodule for FT90X SDK to point to the v2.5.0 release code currently in main.
2021-11-22 12:38:04 +00:00
Gordon McNab ba76b2e339 Add submodule for ft90x SDK
Add Bridgetek FT90x SDK as submodule.
2021-11-22 10:33:07 +00:00
hathach 8a18c22c2f
add BCM_VERSION 2021-11-22 10:59:22 +07:00
hathach 21787ecdd3
update bcm prph 2021-11-22 10:52:53 +07:00
hathach 17ef1503c8
move tm4c132 into bsp family, add it into ci 2021-11-08 17:37:21 +07:00
hathach f65917f51a
rename to simply OPT_MCU_MSP432E4, add msp432e to ci 2021-11-08 17:29:26 +07:00
hathach 6fea50f735 musb work well with tm4c123 2021-11-08 16:41:29 +07:00
hathach 91646d039c add flash-openocd target. correct ek-tm4c123 button state 2021-11-08 16:41:29 +07:00
hathach 23e6e0ef33 merge pull request 670 for tm4c123gxl bsp 2021-11-08 16:41:29 +07:00
kkitayam dd7eb36830 Remove unnecessary lines 2021-11-06 23:10:11 +09:00
kkitayam 30d3bf8bec Update TI driver 2021-11-06 23:05:27 +09:00
kkitayam 23ef8b2c64 Change the variables for a switch and a LED to symbols defined by the macros 2021-11-06 19:32:15 +09:00
kkitayam e4520e7aa7 Add statements for FreeRTOS 2021-11-06 00:06:27 +09:00
kkitayam 50ca0dda2c Add dcd_musb.c 2021-11-06 00:06:26 +09:00
kkitayam f183d0810b Add files for msp432e4 2021-11-06 00:06:26 +09:00
hathach 3fc3e400b0
add xmc4000 to ci build 2021-11-05 13:23:31 +07:00
hathach d87a897a7b
xmc4500 ported, cdc msc example run fine 2021-11-05 13:13:21 +07:00
hathach d9cf49cbfd
add xmclib as submodule 2021-11-05 12:00:27 +07:00
hathach a3fc107d94
xmc4500 led blinky, button ok 2021-11-05 11:57:36 +07:00
hathach 310f287f44 couldn't get g4 usb clock and pin setup just yet. Leave it as it is for now 2021-11-04 17:52:55 +07:00
hathach f90f5ea369 adding g4 family with g474nucleo, able to blink led and button 2021-11-04 16:16:51 +07:00
hathach 8b3708b44f rename l4 board to match other convention 2021-11-04 13:57:03 +07:00
Ha Thach fc59515bfd
Merge pull request #1163 from hathach/generalize-synopsys-dwc2
Generalize synopsys dwc2
2021-11-04 13:41:25 +07:00
hathach 4a8ac71711 Add timer1 on pi4 for blinky
this get usb irq triggered even without ISB() in previous commit
2021-11-04 12:31:16 +07:00
hathach 0faff5a859 update broadcom peripherals to latest 2021-11-03 13:13:08 +07:00
hathach e16506cb52 clean up 2021-11-03 12:24:10 +07:00
hathach 0e733ae14b
add pi4 to ci build in build_aarch64 2021-11-02 21:46:23 +07:00
hathach 1046786acf change broadcom submodule path from git to http 2021-11-02 18:17:59 +07:00
hathach 7e68894726 grouping stm32L4 family in bsp 2021-11-02 16:10:40 +07:00