Ha Thach
949950e592
Merge branch 'master' into ch32v307
2023-01-07 23:46:46 +07:00
Gordon McNab
9f440e5c69
Update SDK for FT9xx to include 3rdparty sources
2022-12-15 10:27:49 +00:00
Louis Burda
9e7e8908a3
Fix ifdefs for disabled uart stdio in rp2040 family
2022-12-13 11:00:03 +01:00
hathach
43b255f413
more typos
2022-12-04 19:44:01 +07:00
Bastien Nocera
6a2cf67289
Fix typos
2022-12-04 19:43:23 +07:00
Gordon McNab
8cce9385e2
More configurable board options
2022-11-30 16:18:07 +00:00
Gordon McNab
d3c4f66d35
Fix script issues with paths including spaces from env variable.
...
$(FT90X_TOOLCHAIN) or even $(TOP) may have spaces. Quote to fix.
2022-11-30 12:49:15 +00:00
Gordon McNab
aceab1dcf3
Merge branch 'hathach:master' into port-ft90x
2022-11-30 12:16:52 +00:00
Gordon McNab
fe63e30a44
Add FT9xx for cdc_dual_ports
...
Fix handling of interrupt endpoints. i.e. no ZLPs.
Fix the assignation of endpoint types.
Add button support for MM900evx boards.
On board support do not block for UART input.
2022-11-30 11:46:13 +00:00
Ha Thach
ff26714958
Merge pull request #1756 from benishor/master
...
Added board description for electro-smith daisy seed
2022-11-30 17:16:19 +07:00
Gordon McNab
7d8d3eca73
Fix transfers issues with FT9xx
...
Correct USB FIFO use for setup data phases (OUT transfers). We cannot stop traffic on the control endpoint so we set a flag and pull data from host when tinyUSB requests it from the USB FIFO. Extend this for all endpoints although currently not required.
Rename all instances of ft90x which can apply to ft93x as ft9xx.
Add support for the cdc_dual_ports example for ft9xx.
Add LED pin definition for board LED in a simple to access place on the Bridgetek MM900EVx boards.
2022-11-29 18:49:23 +00:00
Gordon McNab
1fce76ad47
Fix issue with the CDC SetLineCoding request
...
The SetLineCoding would fail as host would send the SETUP OUT phase before tinyUSB had setup a transaction for it. ft9xx port would ignore the transfer since there was no valid transaction setup for it. One SETUP data phase packet is cached now.
2022-11-28 17:41:00 +00:00
hathach
5785467016
update pico-pio-usb submodule and its warnings suppress
2022-11-28 23:21:17 +07:00
Gordon McNab
9ccfb384e8
Update to v2.6.0 library
2022-11-24 12:17:55 +00:00
Adrian Scripca
8ef32617ba
Added board description for electro-smith daisy seed
2022-11-24 13:06:25 +02:00
hathach
a394273ed2
add board_getchar() for non-blocking getchar()
2022-11-21 16:28:54 +07:00
hathach
460bef9dbb
host msc example work well with rp2040 pio-usb
2022-11-21 15:49:38 +07:00
hathach
a6001fc8f2
update uart read for lpc18/43 for testing
2022-11-18 21:50:00 +07:00
Mengsk
da1589f116
Fix FREERTOS USB IRQ priority.
2022-11-08 21:58:51 +01:00
Mengsk
f3f3739073
Fix DCD build.
2022-11-07 13:38:35 +01:00
Mengsk
9d3d8fd5b0
Merge branch 'master' of https://github.com/hathach/tinyusb into bsp_412
2022-11-07 12:47:41 +01:00
Mengsk
1eae139aa9
Add support for STM32L412.
2022-11-07 12:32:36 +01:00
Ha Thach
e434a1dc05
Merge pull request #1718 from hfegran/efm32_freertos_port_fix
...
Fixed wrong FreeRTOS port for EFM32GG12
2022-11-07 00:05:51 +07:00
hathach
a061bc4173
bump up pico-pio-usb
2022-11-06 14:46:44 +07:00
hathach
44e19aa3c7
rename PIO_USB_PIN_DP to PIO_USB_DP_PIN and change from 2 to 20 & moved to board.h
...
add support for PIO_USB_VBUSEN_PIN and its state.
2022-11-06 14:44:56 +07:00
hathach
cb0ca6151b
remove CFG_TUSB_DEBUG from tinyusb_common_base
2022-11-04 17:08:02 +07:00
Henrik Fegran
38cdeb9e60
Fixed wrong FreeRTOS port for EFM32GG12
2022-11-03 20:23:27 +01:00
Ha Thach
5b1b383d2a
Merge pull request #1676 from tswan-quasi/master
...
dcd_lpc_ip3511: isochronous support and endpoint accidental write fix
2022-10-24 19:08:58 +07:00
hathach
e3b7ed9ae9
use dummy for all ZLP for ip3511, fix lpc55 build with DEBUG=1
2022-10-24 18:43:21 +07:00
LynnL4
4238467b2d
Add support for STM32U5 mcu
2022-10-13 17:39:42 +08:00
LynnL4
8a89365bb2
Add stm32u5xx offical driver.
2022-10-11 13:50:11 +08:00
Peter Lawrence
d1c61e33a6
add 'stm32l052dap52' (STM32L052K8 MCU) board target
...
'dap52' is Olimex's name of their STM32L052-based fork of 'dap42'
2022-08-03 12:31:37 -05:00
graham sanderson
4bd47bcb99
disable bad gcc 6 warning
2022-07-12 13:29:47 -05:00
graham sanderson
fc1a27b6c9
RP@040: rework CMake for compiler warnings
2022-07-12 12:58:30 -05:00
Ha Thach
0bfb9d62de
Merge pull request #1543 from robert-hh/1170_0.13.0
...
mimxrt: Change the definitions for MIMXRT boards.
2022-07-11 15:53:24 +07:00
hathach
6da1e93edd
fix rt1050 evk build with latest mcu-sdk
2022-07-11 14:21:19 +07:00
hathach
19768936ae
bump up mcux-sdk for rt11xx, add back OPT_MCU_MIMXRT11XX
2022-07-11 14:01:18 +07:00
Ha Thach
ecb899408b
Merge pull request #1544 from hathach/ci-parallel-build
...
Ci parallel build
2022-07-01 20:52:46 +07:00
hathach
53db23142a
add get-dependencies.py
2022-07-01 17:23:14 +07:00
robert-hh
ec6f56768a
mimxrt: Change OPT_MCU_MIMXRT1xXX to OPT_MCU_MIMXRT.
...
Which fits both MIMXRT10XX and MIMXRT11XX.
2022-07-01 09:04:36 +02:00
robert-hh
60c1750a9b
mimxrt: Add/change definitions for MIMXRT11XX boards.
...
These are mostly identical to the MIMXRT10XX, with one tiny difference.
2022-06-30 22:21:31 +02:00
Pawel Hryniszak
023191be23
Let to define CFG_BOARD_UART_BAUDRATE in CMake
2022-06-29 20:28:22 +01:00
Ha Thach
19956f070d
Merge pull request #1539 from hathach/improve-ci
...
Improve ci
2022-06-29 16:27:17 +07:00
hathach
158b3d761d
fix xmc4000 build
2022-06-29 15:27:24 +07:00
hathach
5a378703fb
fix end symbol for samx7x and same5x
2022-06-29 15:05:09 +07:00
hathach
a62c2640b5
remove redundant rp2040 boards, all boards supported by pico-sdk already supported
2022-06-29 14:08:01 +07:00
hathach
8fe9022a6e
fix buid_board.py script
2022-06-29 14:06:44 +07:00
hathach
898b52be45
update rp2040 warnings
...
- remove "-Wno-stringop-overflow -Wno-array-bounds"
- skip -Wconversion for gcc 9 and prior
- suppress_tinyusb_warnings only when building with gcc 9 and below
2022-06-28 16:27:44 +07:00
hathach
83602ea123
Merge branch 'master' into rp2040_warning
2022-06-28 13:34:47 +07:00
graham sanderson
4057c2d8d9
rework suppress_tinyusb_warnings
...
* gcc 9.2.1 has some spurious -Wconversion warnings
* cmake 3.18 and above require set_target_properties to be added from the target directory (so added it to all examples)
* fixed a few warnings in a couple of examples
2022-06-27 22:43:41 +01:00
hathach
b9dc9dbd78
fix most warnings with rp2040 -wconversion
2022-06-27 11:50:17 +07:00
hathach
0042eccb3b
fix redundant-decls warnings by usbd/usbh
2022-06-24 22:52:11 +07:00
hathach
1d6918ce41
suppress redundant-decls warnings for freertos examples
2022-06-24 21:53:46 +07:00
hathach
835ab01cab
fix stm32 g4 and wb build issue with freertos, also add them to ci build
2022-06-24 21:52:51 +07:00
hathach
4f6e770eda
add more warning option, also fix -Wconversion with rp2040
...
-Wuninitialized, -Wunused, -Wredundant-decls
2022-06-24 19:46:19 +07:00
Ha Thach
4639cac85c
Merge pull request #1526 from ccrome/chc-add-teensy-41
...
Added The Teensy 4.1 board
2022-06-22 11:22:44 +07:00
caleb crome
742b99f689
Added The Teensy 4.1 board
...
The Teensy 4.1 board has an 8MB W25Q64JV as opposed to the 2MB flash
on the Teensy 4.0. This largely doensn't matter for TinyUsb, except
when you attempt to access any memory in the flash above the 2MB
boundary, when it fails with a hard fault.
2022-06-21 11:12:39 -07:00
graham sanderson
2f7f3e604e
Re-add some warning suppression for rp2040
2022-06-17 12:54:28 -05:00
hathach
8cbc34de11
add tuh_configure() for port/dynamic host behavior config
2022-06-08 01:17:01 +07:00
hathach
1b08672945
more ci fix
2022-06-06 13:25:48 +07:00
hathach
7187cd9a85
fix ci, remove use of CFG_TUSB_RHPORT0_MODE in bsp
2022-06-06 12:51:10 +07:00
hathach
2571211957
remove static port defined for device/host
2022-06-03 11:32:09 +07:00
hathach
8b9cf152a0
rhport argument in usbd_ API() is not used (always use the initialized port)
...
remove the usage of TUD_OPT_RHPORT in class driver
2022-06-02 16:51:17 +07:00
Rafael Silva
60aae59eeb
style code for consistency with existing codebase
2022-06-02 09:35:30 +01:00
Rafael Silva
e0220c6594
fix int handling for host in ek_ra4m3 port
2022-06-02 09:35:30 +01:00
Rafael Silva
4c89776a27
add renesas ek-ra4m3 board port
...
Signed-off-by: Rafael Silva <rafaelsilva@ajtec.pt>
2022-06-02 09:35:30 +01:00
Rafael Silva
2a17a7e8f8
rework make freertos port handling
...
this allows ports to specify a freertos port outside the FreeRTOS-Kernel lib directory, which would otherwise not be possible
Signed-off-by: Rafael Silva <rafaelsilva@ajtec.pt>
2022-06-02 09:35:30 +01:00
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
Rafael Silva
0ee74a71e2
add renesas fsp submodule
...
Signed-off-by: Rafael Silva <rafaelsilva@ajtec.pt>
2022-06-02 09:35:28 +01:00
hathach
99c1585ed2
rename board specific macro for example
...
- BOARD_DEVICE/HOST_RHPORT_NUM to BOARD_TUD/H_RHPORT
- BOARD_DEVICE/HOST_RHPORT_SPEED to BOARD_TUD/H_MAX_SPEED
2022-06-01 23:53:40 +07:00
Ha Thach
2683deb0dd
Merge branch 'master' into ch32v307
2022-05-21 13:54:25 +07: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
98bbb0d402
Merge branch 'master' into pio-host
2022-04-21 12:05:22 +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
735300b53c
remove cxd56 __pycache-_ folder
2022-03-28 12:47:32 +07:00
Greg Davill
a09c1648f5
Fix typo
2022-03-22 23:31:20 +10:30
Greg Davill
1d254be1a4
Increase stack size to 4096 bytes
2022-03-22 16:03:53 +10:30
Greg Davill
fccbcfc889
Add WCH CH32V307 port
...
Add WCH mcu submodule
Add CH32V307V-R1-1v0 bsp
2022-03-22 00:30:46 +10:30
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