Skip to content

Commit ae6d4ef

Browse files
committed
Merge branch 'master' into sync/upstream
2 parents 7c0df27 + 880aae4 commit ae6d4ef

File tree

478 files changed

+16825
-3451
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

478 files changed

+16825
-3451
lines changed

.circleci/config2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ commands:
1616
"arm-gcc": "https://github.com/xpack-dev-tools/arm-none-eabi-gcc-xpack/releases/download/v13.2.1-1.1/xpack-arm-none-eabi-gcc-13.2.1-1.1-linux-x64.tar.gz",
1717
"msp430-gcc": "http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSPGCC/9_2_0_0/export/msp430-gcc-9.2.0.50_linux64.tar.bz2",
1818
"riscv-gcc": "https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/download/v13.2.0-2/xpack-riscv-none-elf-gcc-13.2.0-2-linux-x64.tar.gz",
19-
"rx-gcc": "https://llvm-gcc-renesas.com/downloads/get.php?f=rx/8.3.0.202004-gnurx/gcc-8.3.0.202004-GNURX-ELF.run",
19+
"rx-gcc": "https://github.com/hathach/rx_device/releases/download/0.0.1/gcc-8.3.0.202411-GNURX-ELF.run",
2020
"arm-iar": "https://updates.iar.com/FileStore/STANDARD/001/003/322/cxarm-9.60.3.deb"
2121
}'
2222
toolchain_url=$(echo $TOOLCHAIN_JSON | jq -r '.["<< parameters.toolchain >>"]')

.github/actions/setup_toolchain/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ runs:
4141
"arm-clang": "https://github.com/ARM-software/LLVM-embedded-toolchain-for-Arm/releases/download/release-19.1.1/LLVM-ET-Arm-19.1.1-Linux-x86_64.tar.xz",
4242
"msp430-gcc": "http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSPGCC/9_2_0_0/export/msp430-gcc-9.2.0.50_linux64.tar.bz2",
4343
"riscv-gcc": "https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/download/v13.2.0-2/xpack-riscv-none-elf-gcc-13.2.0-2-linux-x64.tar.gz",
44-
"rx-gcc": "http://gcc-renesas.com/downloads/get.php?f=rx/8.3.0.202004-gnurx/gcc-8.3.0.202004-GNURX-ELF.run"
44+
"rx-gcc": "https://github.com/hathach/rx_device/releases/download/0.0.1/gcc-8.3.0.202411-GNURX-ELF.run"
4545
}'
4646
TOOLCHAIN_URL=$(echo $TOOLCHAIN_JSON | jq -r '.["${{ inputs.toolchain }}"]')
4747
echo "toolchain_url=$TOOLCHAIN_URL"

.gitignore

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
html
22
latex
3+
*.a
34
*.d
45
*.o
56
*.P
6-
*.map
77
*.axf
88
*.bin
9-
*.jlink
10-
*.emSession
119
*.elf
10+
*.env
1211
*.ind
13-
.env
12+
*.log
13+
*.map
14+
*.obj
15+
*.jlink
16+
*.emSession
17+
*.ninja*
1418
.settings/
1519
.vscode/
1620
.gdb_history

.idea/cmake.xml

Lines changed: 5 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.rst

Lines changed: 144 additions & 102 deletions
Large diffs are not rendered by default.

docs/conf.py

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,16 @@
55
# list see the documentation:
66
# https://www.sphinx-doc.org/en/master/usage/configuration.html
77

8+
import re
9+
from pathlib import Path
10+
811
# -- Path setup --------------------------------------------------------------
912

1013

1114
# -- Project information -----------------------------------------------------
1215

1316
project = 'TinyUSB'
14-
copyright = '2021, Ha Thach'
17+
copyright = '2024, Ha Thach'
1518
author = 'Ha Thach'
1619

1720

@@ -40,3 +43,16 @@
4043
}
4144

4245
todo_include_todos = True
46+
47+
# pre-process path in README.rst
48+
def preprocess_readme():
49+
"""Modify figure paths in README.rst for Sphinx builds."""
50+
src = Path(__file__).parent.parent / "README.rst"
51+
tgt = Path(__file__).parent.parent / "README_processed.rst"
52+
if src.exists():
53+
content = src.read_text()
54+
content = re.sub(r"docs/", r"", content)
55+
content = re.sub(r".rst", r".html", content)
56+
tgt.write_text(content)
57+
58+
preprocess_readme()
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../../CODE_OF_CONDUCT.rst
1+
.. include:: ../../CODE_OF_CONDUCT.rst

docs/contributing/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,4 @@ Index
1919
:maxdepth: 2
2020

2121
code_of_conduct
22-
structure
2322
porting

docs/contributing/structure.rst

Lines changed: 0 additions & 59 deletions
This file was deleted.

docs/index.rst

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
:hide-toc:
22

3-
*********
4-
TinyUSB
5-
*********
6-
7-
TinyUSB is an open-source cross-platform USB Host/Device stack for embedded systems,
8-
designed to be memory-safe with no dynamic allocation and thread-safe with all interrupt events being deferred and then handled in the non-ISR task function.
9-
3+
.. include:: ../README_processed.rst
104

115
.. toctree::
126
:caption: Index

0 commit comments

Comments
 (0)