Commit Graph

4958 Commits

Author SHA1 Message Date
hathach 175a6fbc5f rename to stm32f103_bluepill 2021-08-19 18:53:55 +07:00
hathach ebfd65a9ca add stm32f103 mini v2.0 board 2021-08-19 18:51:51 +07:00
hathach 1992f49343 group stm32f1 board 2021-08-19 18:02:16 +07:00
Ha Thach c4a9a04d67
Merge pull request #1025 from hathach/add-hid-boot-example
add hid_boot_interface example
2021-08-19 11:24:10 +07:00
Ha Thach 3a248951e2
Merge pull request #1024 from HiFiPhile/nuc
Fix nuc126 buffer copy with IAR
2021-08-18 19:14:03 +07:00
Ha Thach 830757d9ce
Merge pull request #1020 from hathach/rp2040-disconnect-suspend
Add Rp2040 suspend & resume support
2021-08-18 16:45:35 +07:00
hathach 3e8276846e correct usb memcpy for nuc120 as well 2021-08-18 16:38:13 +07:00
Ha Thach 0411810bc0
Merge pull request #1026 from hathach/suspend-resume-followup
skipped suspend/resume if not connected
2021-08-17 17:29:13 +07:00
hathach 9b869463dd skipped suspend/resume if not connected 2021-08-17 17:00:53 +07:00
hathach c050612142 fix ci build 2021-08-17 13:33:15 +07:00
hathach a6d18c400d fix keyboard report reserved is always 0 2021-08-17 13:29:26 +07:00
hathach 5f6418ccd7 add hid_boot_interface example 2021-08-17 13:21:24 +07:00
Ha Thach 7cbb11a86c
Merge pull request #992 from majbthrd/net_example_pbuf
net_lwip_webserver: utilize pbuf_copy_partial()
2021-08-17 11:56:54 +07:00
Mengsk 7aff4b178e use USBD_MemCopy. 2021-08-17 00:53:12 +02:00
Peter Lawrence 5a8ea0e0e2 net_lwip_webserver: further simplify pbuf_copy_partial() usage 2021-08-16 17:04:57 -05:00
Ha Thach 02277133ae
Merge pull request #1023 from hathach/nrf-suspend-resume
nRF52 Implement suspend, resume, remote wakeup
2021-08-16 20:40:56 +07:00
hathach 26d347be17 add note for renesas rx remote wakeup 2021-08-16 20:24:07 +07:00
hathach ab2eec77d4 complete suspend, resume, remote wakeup for nrf52 2021-08-16 20:22:14 +07:00
Ha Thach 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
hathach c4a6a5ccb7 skip freertos example for gd32vf103 2021-08-15 17:56:04 +07:00
hathach 73f8fae036 change toolchain to riscv-none-embed-gcc-xpack for ci 2021-08-15 17:28:14 +07:00
hathach 37d9f940ee add gd32vf103 to riscv ci 2021-08-15 17:21:31 +07:00
hathach 09e4348adc move gd32vf103 to its own family 2021-08-15 17:19:25 +07:00
Ha Thach 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
hathach 6af1950c8d
synopsys clear DAD on bus_reset 2021-08-14 01:51:13 +07:00
Tobias Ringström 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
Ha Thach 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
Ha Thach 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
hathach d52b981c3a
revert ready() check in claim (do it later in separated PR) 2021-08-12 17:07:39 +07:00
hathach 17ef9f4843
add ready check for edpt claim 2021-08-12 15:54:04 +07:00
hathach 4ad47d9e26
bus_reset will reset all endpoints
allow for dynamic configuration as well as state-less enumeration
2021-08-12 15:40:26 +07:00
Jerzy Kasenberg 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
hathach 4f2999bc04
white space 2021-08-12 00:31:26 +07:00
hathach 88d4cb402d
simplify hw_endpoint_init() 2021-08-12 00:11:04 +07:00
hathach a2baf9427d
more dcd clean up 2021-08-11 20:36:23 +07:00
hathach 979af6c2a8
clean up endpoint set/clear stall 2021-08-11 20:29:39 +07:00
hathach f3a6e564ee
rp2040 enable suspend and resume interrupt 2021-08-11 20:06:57 +07:00
Ha Thach 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
Jerzy Kasenberg 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
Ha Thach 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
hathach 2ea0ef4543
correct newline usage keycode (ENTER 0x28) 2021-08-10 16:40:43 +07:00
Ha Thach 70b26b561a
Merge pull request #1011 from hathach/correct-hid-inout-example
Correct hid inout example
2021-08-10 16:06:50 +07:00
hathach 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
Stefan Kerkmann 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
hathach 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
Ha Thach d2257db87f
Merge pull request #1004 from ctag-fh-kiel/master
STM32L151 portable driver adaptations
2021-08-09 16:07:42 +07:00
Robert Manzke ea72d64992 STM32L151 portable driver adaptations 2021-08-08 08:30:52 +02:00
Stefan Kerkmann 27f147f421 Minor style changes 2021-08-07 14:08:18 +02:00
Stefan Kerkmann 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
Stefan Kerkmann 4cebde65ec Remove unnecessary define guard
The GD32VF103 family only has USB-OTG peripherals.
2021-08-07 12:00:13 +02:00