Commit Graph

922 Commits

Author SHA1 Message Date
Rafael Silva 03777f4a46 generalize renesas LINK core driver
create local register access struct and move mcu specific code
	in preparation of support for other mcu families that use the LINK usb core

Signed-off-by: Rafael Silva <rafaelsilva@ajtec.pt>
2022-06-02 09:35:30 +01:00
Rafael Silva dcadbf3364 rename renesas driver to link
link was chosen according to the name for the usb core on datasheets, LINK core

Signed-off-by: Rafael Silva <rafaelsilva@ajtec.pt>
2022-06-02 09:35:30 +01: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
Ha Thach c2bcda86e2
Merge pull request #1412 from hathach/pio-host
PIO USB support
2022-05-16 16:29:20 +07:00
hathach 4586d8f119 add upstream Pico-PIO-USB 2022-05-16 13:44: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 26ee622222 move pio usb files to src 2022-05-10 12:51:48 +07:00
caleb crome f19d913b5d set irq priority for freertos 2022-05-05 22:29:12 -07:00
hathach 0b30a10ab3 configure hid_to_cdc example to build with rp2040 with pio usb as host 2022-04-29 22:24:36 +07:00
hathach 4a661dead0 add TU_ATTR_FAST_FUNC for rp2040 __not_in_flash() section 2022-04-27 17:57:52 +07:00
hathach 12debd7763
keep up with pio usb 2022-04-22 01:06:17 +07:00
hathach cc5a4720e5 catch up with pio lib 2022-04-14 22:00:47 +07:00
hathach d5d4909c20 proof of concpet that device pio-usb work with host pio-usb 2022-04-08 13:36:05 +07:00
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 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
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