Skip to content

Commit e1e922d

Browse files
authored
Merge pull request #229 from adafruit/release-1.17.0
Release 1.17.0
2 parents 1967830 + aea241e commit e1e922d

File tree

14 files changed

+63
-41
lines changed

14 files changed

+63
-41
lines changed

.codespell/ignore-words.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
synopsys
2+
sie
3+
inout

.codespellrc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# See: https://github.com/codespell-project/codespell#using-a-config-file
2+
[codespell]
3+
# In the event of a false positive, add the problematic word, in all lowercase, to 'ignore-words.txt' (one word per line).
4+
# Or copy & paste the whole problematic line to 'exclude-file.txt'
5+
ignore-words = .codespell/ignore-words.txt
6+
exclude-file = .codespell/exclude-file.txt
7+
check-filenames =
8+
check-hidden =
9+
count =
10+
skip = .git

.github/workflows/githubci.yml

Lines changed: 38 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,54 @@ name: Build
22

33
on: [pull_request, push, repository_dispatch]
44

5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
7+
cancel-in-progress: true
8+
59
jobs:
10+
pre-commit:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Setup Python
14+
uses: actions/setup-python@v4
15+
with:
16+
python-version: '3.x'
17+
18+
- name: Checkout code
19+
uses: actions/checkout@v3
20+
21+
- name: Run codespell
22+
uses: codespell-project/actions-codespell@master
23+
24+
- name: Checkout adafruit/ci-arduino
25+
uses: actions/checkout@v3
26+
with:
27+
repository: adafruit/ci-arduino
28+
path: ci
29+
30+
- name: pre-install
31+
run: bash ci/actions_install.sh
32+
33+
- name: clang
34+
run: python3 ci/run-clang-format.py -r src/arduino
35+
36+
- name: doxygen
37+
env:
38+
GH_REPO_TOKEN: ${{ secrets.GH_REPO_TOKEN }}
39+
PRETTYNAME : "Adafruit TinyUSB Library"
40+
run: bash ci/doxy_gen_and_deploy.sh
41+
642
build:
743
runs-on: ubuntu-latest
44+
needs: pre-commit
845
strategy:
946
fail-fast: false
1047
matrix:
1148
arduino-platform:
1249
# ESP32S3
1350
- 'feather_esp32s3'
1451
# ESP32S2
15-
- 'funhouse'
16-
- 'magtag'
52+
- 'feather_esp32s2'
1753
- 'metroesp32s2'
1854
# nRF52
1955
- 'cpb'
@@ -48,33 +84,3 @@ jobs:
4884

4985
- name: test platforms
5086
run: python3 ci/build_platform.py ${{ matrix.arduino-platform }}
51-
52-
clang_and_doxy:
53-
runs-on: ubuntu-latest
54-
needs: build
55-
steps:
56-
- name: Setup Python
57-
uses: actions/setup-python@v4
58-
with:
59-
python-version: '3.x'
60-
61-
- name: Checkout code
62-
uses: actions/checkout@v3
63-
64-
- name: Checkout adafruit/ci-arduino
65-
uses: actions/checkout@v3
66-
with:
67-
repository: adafruit/ci-arduino
68-
path: ci
69-
70-
- name: pre-install
71-
run: bash ci/actions_install.sh
72-
73-
- name: clang
74-
run: python3 ci/run-clang-format.py -r src/arduino
75-
76-
- name: doxygen
77-
env:
78-
GH_REPO_TOKEN: ${{ secrets.GH_REPO_TOKEN }}
79-
PRETTYNAME : "Adafruit TinyUSB Library"
80-
run: bash ci/doxy_gen_and_deploy.sh

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ Supported device class drivers are:
1919

2020
### Host Stack
2121

22-
There is a initial (WIP) host support for rp2040 core (require [Pico-PIO-USB](https://github.com/sekigon-gonnoc/Pico-PIO-USB))
22+
Host support is still work-in-progress but currently available with rp2040 core thanks to Pico-PIO-USB](https://github.com/sekigon-gonnoc/Pico-PIO-USB). Supported class driver are:
23+
24+
- Communication (CDC)
25+
- MassStorage class
2326

2427
## Supported Cores
2528

changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ uint8_t const desc_hid_report[] =
135135
## 0.6.0 - 2019.08.05
136136

137137
- Added webUSB support with 2 example: webusb-serial, webusb-rgb
138-
- Alligned mouse examples, added newer hid in/out example from main repo, added new composite example for ramdisk and hid in/out. PR #19 thanks to @PTS93
138+
- Aligned mouse examples, added newer hid in/out example from main repo, added new composite example for ramdisk and hid in/out. PR #19 thanks to @PTS93
139139

140140
## 0.5.0 - 2019.07.17
141141

examples/DualRole/msc_file_explorer/msc_file_explorer.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Adafruit_USBH_MSC_BlockDevice msc_block_dev;
4646
// file system object from SdFat
4747
FatVolume fatfs;
4848

49-
// if file system is succesfully mounted on usb block device
49+
// if file system is successfully mounted on usb block device
5050
bool is_mounted = false;
5151

5252
//--------------------------------------------------------------------+

examples/HID/hid_generic_inout/hid_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
while True:
1515
# Get input from console and encode to UTF8 for array of chars.
1616
# hid generic inout is single report therefore by HIDAPI requirement
17-
# it must be preceeded with 0x00 as dummy reportID
17+
# it must be preceded with 0x00 as dummy reportID
1818
str_out = b'\x00'
1919
str_out += input("Send text to HID Device : ").encode('utf-8')
2020
dev.write(str_out)

examples/MassStorage/msc_esp32_file_browser/msc_esp32_file_browser.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ void setup()
197197
}
198198

199199
//--------------------------------------------------------------------+
200-
// Handle requets
200+
// Handle requests
201201
//--------------------------------------------------------------------+
202202

203203
//format bytes

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=Adafruit TinyUSB Library
2-
version=1.16.0
2+
version=1.17.0
33
author=Adafruit
44
maintainer=Adafruit <[email protected]>
55
sentence=TinyUSB library for Arduino

src/arduino/Adafruit_USBD_CDC.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class Adafruit_USBD_CDC : public Stream, public Adafruit_USBD_Interface {
4545

4646
static uint8_t getInstanceCount(void);
4747

48-
// fron Adafruit_USBD_Interface
48+
// from Adafruit_USBD_Interface
4949
virtual uint16_t getInterfaceDescriptor(uint8_t itfnum, uint8_t *buf,
5050
uint16_t bufsize);
5151

src/arduino/midi/Adafruit_USBD_MIDI.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,12 +162,12 @@ size_t Adafruit_USBD_MIDI::write(uint8_t b) {
162162
int Adafruit_USBD_MIDI::available(void) { return tud_midi_available(); }
163163

164164
int Adafruit_USBD_MIDI::peek(void) {
165-
// MIDI Library doen't use peek
165+
// MIDI Library does not use peek
166166
return -1;
167167
}
168168

169169
void Adafruit_USBD_MIDI::flush(void) {
170-
// MIDI Library doen't use flush
170+
// MIDI Library does not use flush
171171
}
172172

173173
bool Adafruit_USBD_MIDI::writePacket(const uint8_t packet[4]) {

0 commit comments

Comments
 (0)