5114 Commits

Author SHA1 Message Date
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
Stefan Kerkmann
0399996ee5 Code style changes 2021-08-07 11:33:36 +02:00
Stefan Kerkmann
66d566f8c0 Use functions provided by the nuclei-sdk hal 2021-08-07 11:33:36 +02:00
Stefan Kerkmann
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
Stefan Kerkmann
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
Stefan Kerkmann
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
Stefan Kerkmann
6e287a7c5e Cleanup include paths and use linker files from nuclei-sdk 2021-08-07 09:51:56 +02:00
Stefan Kerkmann
b473923f42 Remove redundant linker files
We use the linker files provided by nuclei-sdk instead
2021-08-07 09:51:16 +02:00
Stefan Kerkmann
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
Stefan Kerkmann
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
Ha Thach
88f5c04fe0
Merge pull request #985 from HiFiPhile/same70
SAMx7x improvements
2021-08-06 11:32:57 +07:00
Ha Thach
b8055aeccf
Merge pull request #1000 from hathach/more-doc
More doc
2021-08-06 01:06:22 +07:00
hathach
6be2d46b53
update link to docs.tinyusb.org 2021-08-05 18:32:44 +07:00
hathach
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
MasterPhi
a698dda67e Minor fix. 2021-08-05 09:56:24 +02:00
hathach
b5d218e684
add html extra for webusb example 2021-08-05 14:06:08 +07:00
hathach
2b521e0c10
rename to .readthedocs.yaml
exclude all submodules for docs
2021-08-05 12:29:32 +07:00
Rafael Silva
82d73d3350
Merge pull request #997 from hathach/perigoso-readme-patch
readme: fix link to online documentation
2021-08-04 16:31:57 +01:00
Rafael Silva
546d869ffb
readme: fix link to online documentation 2021-08-04 16:25:01 +01:00
Ha Thach
623a775f78
Merge pull request #983 from perigoso/docs
Docs
2021-08-04 22:20:22 +07:00
Stefan Kerkmann
3eb54d878a Add stm32 license header 2021-08-03 20:21:06 +02:00
Stefan Kerkmann
ab1979e2d3 Revert "Disable -Werror for now"
This reverts commit 5e0c2e122300e7a6289b3bd08044f9cf1dbdef05.
2021-08-03 20:01:10 +02:00
Stefan Kerkmann
e5bd6bdeff Update nuclei-sdk with __riscv_flen fix 2021-08-03 20:01:10 +02:00
Stefan Kerkmann
790d90bf26 Set FreeRTOS to RISC-V (doesn't compile) 2021-08-03 20:01:10 +02:00
Stefan Kerkmann
23e3b1680b Use JTAG for jlink flashing 2021-08-03 20:01:10 +02:00
Stefan Kerkmann
3db2089aa9 Minor clean ups 2021-08-03 20:00:39 +02:00
Stefan Kerkmann
771bbe8af7 Use https github as submodule 2021-08-03 20:00:39 +02:00
Stefan Kerkmann
ddb83787a0 Disable -Werror for now
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-03 20:00:39 +02:00
Stefan Kerkmann
19b971cb24 Add board support for gd32vf103 longan nano 2021-08-03 20:00:39 +02:00
Stefan Kerkmann
2657560b63 Add hacky GD32VF103 support 2021-08-03 20:00:35 +02:00
hathach
6805c9d734 add back info to readme, use stack.svg 2021-08-03 18:25:02 +01:00
Peter Lawrence
b682ce916a net_lwip_webserver: utilize pbuf_copy_partial() 2021-08-02 20:52:45 -05:00
HiFiPhile
bece3bca08
Add @HiFiPhile in CONTRIBUTORS.rst 2021-08-02 20:20:23 +02:00
Ha Thach
af8e5a90f4
Merge pull request #991 from hathach/fix-midi-available
correct midi available with already stream read
2021-08-02 19:25:24 +07:00
hathach
794bbd7177 fix warning 2021-08-02 18:58:27 +07:00
hathach
98e4ba6a12 correct midi available with already stream read 2021-08-02 18:55:12 +07:00
Ha Thach
8a48e994b6
Merge pull request #874 from kkitayam/add_xfer_fifo_for_rx63
Add dcd_edpt_xfer_fifo() for RX63N
2021-08-02 17:12:20 +07:00
kkitayam
45e55a8ea0 fix: D0FIFOSEL setting was incorrectly when big-endian is selected.
In pipe_xfer_in(), the endianness setting of D0FIFOSEL was lacking due to refactoring.
And add type cast operation to avoid warnings by CCRX.
2021-07-31 12:20:19 +09:00
MasterPhi
383290a634 Move register define to separate header. 2021-07-30 21:15:58 +02:00
perigoso
1a27dad7bb docs/supported: add Waveshare OpenH743I-C to board support list
Signed-off-by: perigoso <perigoso@riseup.net>
2021-07-30 12:48:08 +01:00
perigoso
0e6e137f5d readme: add local links to documentation
Signed-off-by: perigoso <perigoso@riseup.net>
2021-07-30 12:46:30 +01:00
perigoso
a6ae310f5f readme: convert md readme to rst
Signed-off-by: perigoso <perigoso@riseup.net>
2021-07-30 12:46:30 +01:00
perigoso
83d72cc1d5 docs/contributors: add credit for docs
Signed-off-by: perigoso <perigoso@riseup.net>
2021-07-30 12:46:30 +01:00
perigoso
0da08031ea readme: added docs status badge
Signed-off-by: perigoso <perigoso@riseup.net>
2021-07-30 12:46:30 +01:00
perigoso
f900a3ba7f docs: remove doxygen files
Signed-off-by: perigoso <perigoso@riseup.net>
2021-07-30 12:46:30 +01:00
perigoso
37e2342086 readme: remove redundant info, and point to new docs
Signed-off-by: perigoso <perigoso@riseup.net>
2021-07-30 12:46:30 +01:00