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
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
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
kkitayam
ff20e4d6bc
add the entry for RX72N
2021-07-29 20:45:51 +09:00
kkitayam
3c3563288d
add RX65N
2021-07-29 20:24:12 +09:00
kkitayam
6b9f8e454e
add a condition regarding OPT_MCU_RX63N
2021-07-29 20:24:12 +09:00
kkitayam
e7c9cf4aea
Change the accessing method of TU_FIFO from read/write_n_const_addr_full_words to get_write/read_info and advance_write/read_pointer pairs.
2021-07-29 20:24:11 +09:00
kkitayam
3f49380b37
added support for dcd_edpt_xfer_fifo
2021-07-29 20:22:33 +09:00
kkitayam
1c2e353193
Refactor and clean up
2021-07-29 20:22:33 +09:00
Ha Thach
c552677a52
Merge pull request #980 from BennyEvans/master
...
Waveshare OpenH743I-C BSP
2021-07-29 17:12:42 +07:00
Ha Thach
fa00377d93
Merge pull request #859 from Wini-Buh/CCRX_Port
...
Adaptations for Renesas CCRX toolchain and Rx72N controller performed
2021-07-29 16:13:13 +07:00
Ha Thach
aca24ed481
Merge pull request #982 from HiFiPhile/dfu_warning
...
Fix IAR warning
2021-07-29 13:50:13 +07:00
MasterPhi
0ba4315ae5
Fix IAR warning
2021-07-27 18:08:52 +02:00
Ben Evans
0953be9d7f
Small tidy up for waveshare openh743i BSP.
2021-07-27 12:07:19 +10:00
Ben Evans
d058645f97
Updated docs to add Wavehsare OpenH743I-C to STM32 boards list.
2021-07-27 12:02:13 +10:00
Ben Evans
f01074681a
Added BSP for waveshare openh743i.
2021-07-27 11:58:20 +10:00
Ha Thach
b6b5a33806
Merge pull request #976 from hathach/readme
...
Quick Readme update
2021-07-23 18:15:36 +07:00
HiFiPhile
ef63037f1a
Update README.md
...
Use SAME7x
2021-07-23 11:21:51 +02:00
HiFiPhile
a9726aad0c
Quick Readme update
2021-07-22 20:39:55 +02:00
hathach
15112fdbba
clean up compiler
2021-07-22 22:10:48 +07:00
hathach
8cd23489d5
update endian
2021-07-22 17:49:39 +07:00
hathach
c4da1abb1e
rename bit filed order
...
clean up packed/bit order begin end
2021-07-22 17:30:08 +07:00
hathach
4e50ceba48
rename packed begin/end
2021-07-22 17:07:39 +07:00
hathach
b35ad6edcb
clean up max packet size endian
2021-07-22 17:04:55 +07:00
hathach
fa0936bf58
Merge branch 'CCRX_Port' of https://github.com/Wini-Buh/tinyusb into Wini-Buh-CCRX_Port
2021-07-22 16:48:18 +07:00
Ha Thach
1c2bc47c07
Merge pull request #950 from HiFiPhile/dfu
...
DFU improvements
2021-07-22 11:17:01 +07:00
hathach
9542fcdbcd
rename CFG_TUD_DFU_TRANSFER_BUFSIZE to CFG_TUD_DFU_XFER_BUFSIZE
2021-07-22 01:00:06 +07:00
Ha Thach
e971a4332d
Merge pull request #975 from hathach/max-endpoint
...
Add DCD Attribute for Max endpoint
2021-07-22 00:49:45 +07:00
hathach
aff7b100ca
update dcd attr for samx7x
2021-07-22 00:28:37 +07:00
hathach
8ee1141a70
correct check
2021-07-22 00:12:01 +07:00
hathach
a9f3532252
more ci
2021-07-22 00:12:01 +07:00
hathach
37cac414f8
fix ci
2021-07-22 00:12:01 +07:00
hathach
a226dbaa4d
add dcd_attr for DCD_ATTR_ENDPOINT_MAX
...
could be useful with more dcd specific attribute
2021-07-22 00:12:01 +07:00