7aff4b178e
use USBD_MemCopy.
2021-08-17 00:53:12 +02:00
02277133ae
Merge pull request #1023 from hathach/nrf-suspend-resume
...
nRF52 Implement suspend, resume, remote wakeup
2021-08-16 20:40:56 +07:00
26d347be17
add note for renesas rx remote wakeup
2021-08-16 20:24:07 +07:00
ab2eec77d4
complete suspend, resume, remote wakeup for nrf52
2021-08-16 20:22:14 +07:00
2bb63406e9
Merge pull request #959 from KarlK90/gd32vf103-support-tiny-usb
...
[PORT] Add GD32VF103 support and Sipeed Longan Nano Board support
2021-08-15 18:50:00 +07:00
c4a6a5ccb7
skip freertos example for gd32vf103
2021-08-15 17:56:04 +07:00
73f8fae036
change toolchain to riscv-none-embed-gcc-xpack for ci
2021-08-15 17:28:14 +07:00
37d9f940ee
add gd32vf103 to riscv ci
2021-08-15 17:21:31 +07:00
09e4348adc
move gd32vf103 to its own family
2021-08-15 17:19:25 +07:00
48f17efa77
Merge pull request #1021 from tringis/fix-synopsys-change-addr
...
Fix dcd_set_address bug when called more than once
2021-08-14 01:59:38 +07:00
6af1950c8d
synopsys clear DAD on bus_reset
2021-08-14 01:51:13 +07:00
0ec794376b
Fix dcd_set_address bug when called more than once with different
...
addresses (e.g. after plugging the device into a different port).
2021-08-13 14:11:14 +02:00
89e4586653
Merge pull request #1019 from kasjer/kasjer/da1469x-fix-no-vbus-startup
...
da1469x: Fix no VBUS startup
2021-08-13 17:02:21 +07:00
ea1dfc1fd5
Merge pull request #956 from kkitayam/fix_audio_format_for_renesas_rx
...
add settings for Renesas RX family
2021-08-13 14:36:45 +07:00
cde607338d
da1469x: Fix no VBUS startup
...
For self powered device if device started without VBUS present
it would not be correctly attached to USB bus even if tusb_vbus_changed()
was later called.
This modifies dcd_init() so it starts USB state machine without checking
if VBUS is present or not, like all others drivers do.
tusb_vbus_changed() function is also removed its content was moved to dcd_init.
2021-08-12 09:12:25 +02:00
63f7dfeb8e
Merge pull request #1013 from kasjer/kasjer/da1469x-fix-register-file-dependency
...
dcd_da1469x: Use mcu.h instead of MCU specific header
2021-08-11 19:38:46 +07:00
2c7bb540b4
dcd_da1469x: Use mcu.h instead of MCU specific header
...
dcd_da1469x can work with broader range of MCUs that
share same USB core.
Specific header file that was used DA1469xAB.h now it is changed
to mcu/mcu.h which includes actual MCU specific register file.
2021-08-10 20:26:51 +02:00
a5b464c5ca
Merge pull request #1012 from hathach/fix-newline-keycode-usage
...
correct newline usage keycode (ENTER 0x28)
2021-08-10 17:09:09 +07:00
2ea0ef4543
correct newline usage keycode (ENTER 0x28)
2021-08-10 16:40:43 +07:00
70b26b561a
Merge pull request #1011 from hathach/correct-hid-inout-example
...
Correct hid inout example
2021-08-10 16:06:50 +07:00
40afc8c5de
update node script to always shift dummy reportID like python
...
allow specify all product id with 0xFFFF in boards.js
2021-08-10 15:40:25 +07:00
1b6540a61c
Update systick reload value
...
The systick timer is driven by the AHB bus divided by 4, set the correct
reload value to generate a timer irq every ms.
2021-08-09 21:37:06 +02:00
312fd5f839
fix hid_test.py for hid inout to correctly preceeded with dummy reportID
...
add note for install hidapi on windows
2021-08-09 22:57:11 +07:00
d2257db87f
Merge pull request #1004 from ctag-fh-kiel/master
...
STM32L151 portable driver adaptations
2021-08-09 16:07:42 +07:00
ea72d64992
STM32L151 portable driver adaptations
2021-08-08 08:30:52 +02:00
27f147f421
Minor style changes
2021-08-07 14:08:18 +02:00
8b78067cc1
Use linear buffer for GD32VF103
...
As the peripheral is the same as on the STM32F1 and STM32F4 lines we do the same.
2021-08-07 12:06:54 +02:00
4cebde65ec
Remove unnecessary define guard
...
The GD32VF103 family only has USB-OTG peripherals.
2021-08-07 12:00:13 +02:00
0399996ee5
Code style changes
2021-08-07 11:33:36 +02:00
66d566f8c0
Use functions provided by the nuclei-sdk hal
2021-08-07 11:33:36 +02:00
60d03110f7
Correctly initialize and handle the system tick
...
Forgot to reload the systick timer in the irq handler
2021-08-07 11:33:36 +02:00
1d2a57a9e1
Remove unsuitable clock configurations from init code
...
Only 48MHz, 72MHz, 96MHz and 120 MHz system clocks derived from an
external crystal are suitable for the usb peripheral, as the internal
oscillator is not stable enough. Also the usb-prescaler only supports
division by 1 (48MHZ), 1.5(72MHz), 2(96MHz) and 2.5(120Mhz).
120Mhz is also out of spec and not added here.
2021-08-07 11:33:36 +02:00
733a362436
Use nuclei-sdk functions for init code
...
Instead of using the HAL functions we can just use the defines from the
board support for the longan nano that comes with the nuclei-sdk. Also
we move some includes and defines to the header file.
2021-08-07 11:32:06 +02:00
6e287a7c5e
Cleanup include paths and use linker files from nuclei-sdk
2021-08-07 09:51:56 +02:00
b473923f42
Remove redundant linker files
...
We use the linker files provided by nuclei-sdk instead
2021-08-07 09:51:16 +02:00
7682829820
Add correct endpoint count for GD32VF103
...
This controller family only supports USB FS with four endpoints
2021-08-07 09:01:01 +02:00
c6d495d643
Remove dependencies to external libraries for the dcd driver
...
The core of tinyusb must be as independent as possible, we previously
relied on nuclei-sdk or the GD32VF103 firmware library for the synopsys
driver to work with the GD32VF103. Fortunatly we needed very few parts
from them so we implement them here.
2021-08-07 08:55:25 +02:00
88f5c04fe0
Merge pull request #985 from HiFiPhile/same70
...
SAMx7x improvements
2021-08-06 11:32:57 +07:00
b8055aeccf
Merge pull request #1000 from hathach/more-doc
...
More doc
2021-08-06 01:06:22 +07:00
6be2d46b53
update link to docs.tinyusb.org
2021-08-05 18:32:44 +07:00
188bc0e991
change webusb-serial landing page
...
- to example.tinyusb.org/webusb-serial/
- remove landing page from doc
2021-08-05 18:00:41 +07:00
a698dda67e
Minor fix.
2021-08-05 09:56:24 +02:00
b5d218e684
add html extra for webusb example
2021-08-05 14:06:08 +07:00
2b521e0c10
rename to .readthedocs.yaml
...
exclude all submodules for docs
2021-08-05 12:29:32 +07:00
82d73d3350
Merge pull request #997 from hathach/perigoso-readme-patch
...
readme: fix link to online documentation
2021-08-04 16:31:57 +01:00
546d869ffb
readme: fix link to online documentation
2021-08-04 16:25:01 +01:00
623a775f78
Merge pull request #983 from perigoso/docs
...
Docs
2021-08-04 22:20:22 +07:00
3eb54d878a
Add stm32 license header
2021-08-03 20:21:06 +02:00
ab1979e2d3
Revert "Disable -Werror for now"
...
This reverts commit 5e0c2e122300e7a6289b3bd08044f9cf1dbdef05.
2021-08-03 20:01:10 +02:00
e5bd6bdeff
Update nuclei-sdk with __riscv_flen fix
2021-08-03 20:01:10 +02:00