summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-08-12revert ready() check in claim (do it later in separated PR)hathach
2021-08-12add ready check for edpt claimhathach
2021-08-12bus_reset will reset all endpointshathach
allow for dynamic configuration as well as state-less enumeration
2021-08-12da1469x: Fix no VBUS startupJerzy Kasenberg
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-12white spacehathach
2021-08-12simplify hw_endpoint_init()hathach
2021-08-11more dcd clean uphathach
2021-08-11clean up endpoint set/clear stallhathach
2021-08-11rp2040 enable suspend and resume interrupthathach
2021-08-11Merge pull request #1013 from kasjer/kasjer/da1469x-fix-register-file-dependencyHa Thach
dcd_da1469x: Use mcu.h instead of MCU specific header
2021-08-10dcd_da1469x: Use mcu.h instead of MCU specific headerJerzy Kasenberg
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-10Merge pull request #1012 from hathach/fix-newline-keycode-usageHa Thach
correct newline usage keycode (ENTER 0x28)
2021-08-10correct newline usage keycode (ENTER 0x28)hathach
2021-08-10Merge pull request #1011 from hathach/correct-hid-inout-exampleHa Thach
Correct hid inout example
2021-08-10update node script to always shift dummy reportID like pythonhathach
allow specify all product id with 0xFFFF in boards.js
2021-08-09Update systick reload valueStefan Kerkmann
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-09fix hid_test.py for hid inout to correctly preceeded with dummy reportIDhathach
add note for install hidapi on windows
2021-08-09Merge pull request #1004 from ctag-fh-kiel/masterHa Thach
STM32L151 portable driver adaptations
2021-08-08STM32L151 portable driver adaptationsRobert Manzke
2021-08-07Minor style changesStefan Kerkmann
2021-08-07Use linear buffer for GD32VF103Stefan Kerkmann
As the peripheral is the same as on the STM32F1 and STM32F4 lines we do the same.
2021-08-07Remove unnecessary define guardStefan Kerkmann
The GD32VF103 family only has USB-OTG peripherals.
2021-08-07Code style changesStefan Kerkmann
2021-08-07Use functions provided by the nuclei-sdk halStefan Kerkmann
2021-08-07Correctly initialize and handle the system tickStefan Kerkmann
Forgot to reload the systick timer in the irq handler
2021-08-07Remove unsuitable clock configurations from init codeStefan Kerkmann
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-07Use nuclei-sdk functions for init codeStefan Kerkmann
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-07Cleanup include paths and use linker files from nuclei-sdkStefan Kerkmann
2021-08-07Remove redundant linker filesStefan Kerkmann
We use the linker files provided by nuclei-sdk instead
2021-08-07Add correct endpoint count for GD32VF103Stefan Kerkmann
This controller family only supports USB FS with four endpoints
2021-08-07Remove dependencies to external libraries for the dcd driverStefan Kerkmann
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-06Merge pull request #985 from HiFiPhile/same70Ha Thach
SAMx7x improvements
2021-08-06Merge pull request #1000 from hathach/more-docHa Thach
More doc
2021-08-05update link to docs.tinyusb.orghathach
2021-08-05change webusb-serial landing pagehathach
- to example.tinyusb.org/webusb-serial/ - remove landing page from doc
2021-08-05Minor fix.MasterPhi
2021-08-05add html extra for webusb examplehathach
2021-08-05rename to .readthedocs.yamlhathach
exclude all submodules for docs
2021-08-04Merge pull request #997 from hathach/perigoso-readme-patchRafael Silva
readme: fix link to online documentation
2021-08-04readme: fix link to online documentationRafael Silva
2021-08-04Merge pull request #983 from perigoso/docsHa Thach
Docs
2021-08-03Add stm32 license headerStefan Kerkmann
2021-08-03Revert "Disable -Werror for now"Stefan Kerkmann
This reverts commit 5e0c2e122300e7a6289b3bd08044f9cf1dbdef05.
2021-08-03Update nuclei-sdk with __riscv_flen fixStefan Kerkmann
2021-08-03Set FreeRTOS to RISC-V (doesn't compile)Stefan Kerkmann
2021-08-03Use JTAG for jlink flashingStefan Kerkmann
2021-08-03Minor clean upsStefan Kerkmann
2021-08-03Use https github as submoduleStefan Kerkmann
2021-08-03Disable -Werror for nowStefan Kerkmann
Without having __riscv_flen defined we get multiple warinings. But defining it causes the startup code to contain floating point instructions. This results in a exception right after booting. See startup_gd32vf103.S lines 289-294 should open a PR at nuclei sdk
2021-08-03Add board support for gd32vf103 longan nanoStefan Kerkmann