@@ -1 +1 @@
-
+ return USB0.INTSTS1.BIT.ATTCH ? true : false;
@@ -5,4 +5,4 @@ ignore-words-list = synopsys, sie, tre, hsi, fro, dout, mot, te
check-filenames =
check-hidden =
skip = .cproject,./.git,./hw/mcu,./lib,./examples/*/*/_build,./examples/*/*/ses,./examples/*/*/ozone,./hw/mcu,./test/vendor,./tests_obsolete
-exclude-file = .codespell/exclude-file.txt
+exclude-file = ./.codespell/exclude-file.txt
@@ -7,6 +7,10 @@ on:
types:
- created
+concurrency:
+ group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
+ cancel-in-progress: true
+
jobs:
# ---------------------------------------
# Build AARCH64 family
@@ -12,27 +12,6 @@ concurrency:
cancel-in-progress: true
- # ---------------------------------------
- # Unit testing with Ceedling
- unit-test:
- runs-on: ubuntu-latest
- steps:
- - name: Setup Ruby
- uses: ruby/setup-ruby@v1
- with:
- ruby-version: '2.7'
- - name: Checkout TinyUSB
- uses: actions/checkout@v3
- - name: Unit Tests
- run: |
- # Install Ceedling
- gem install ceedling
- cd test
- ceedling test:all
# Build ARM family
build-esp:
runs-on: ubuntu-latest
build-msp430:
build-rx:
build-riscv:
@@ -17,8 +17,20 @@ jobs:
with:
python-version: '3.x'
+ - name: Setup Ruby
+ uses: ruby/setup-ruby@v1
+ with:
+ ruby-version: '2.7'
- name: Checkout TinyUSB
uses: actions/checkout@v3
- - name: Check Code Spelling
- uses: codespell-project/actions-codespell@master
+ - name: Run codespell
+ uses: codespell-project/actions-codespell@master
+ - name: Run Unit Tests
+ run: |
+ # Install Ceedling
+ gem install ceedling
+ cd test
+ ceedling test:all