-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Simplify initialization of both ppp mode and ublox mode, by providing batteries included new functions that sets up ATAT and all related resources * Refactor async completely for a more intuitive API. URCs over PPP UDP socket is still not working properly * Bump embassy-sync to 0.6 * Fix internal-network-stack compiling * Rework runner, add Proxy client and add working Control handle * Working control handle for connect and disconnect, with ppp udp bridge * Add a large number of convenience functions to Control and cleanup runner patterns
- Loading branch information
1 parent
8ab1612
commit 67807ba
Showing
67 changed files
with
2,404 additions
and
4,170 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Lint | ||
name: CI | ||
|
||
on: | ||
push: | ||
|
@@ -10,9 +10,6 @@ defaults: | |
run: | ||
shell: bash | ||
|
||
env: | ||
CLIPPY_PARAMS: -W clippy::all -W clippy::pedantic -W clippy::nursery -W clippy::cargo | ||
|
||
jobs: | ||
rustfmt: | ||
name: rustfmt | ||
|
@@ -35,33 +32,6 @@ jobs: | |
command: fmt | ||
args: --all -- --check --verbose | ||
|
||
# tomlfmt: | ||
# name: tomlfmt | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - name: Checkout source code | ||
# uses: actions/checkout@v2 | ||
|
||
# - name: Install Rust | ||
# uses: actions-rs/toolchain@v1 | ||
# with: | ||
# profile: minimal | ||
# toolchain: nightly | ||
# override: true | ||
|
||
# - name: Install tomlfmt | ||
# uses: actions-rs/[email protected] | ||
# with: | ||
# crate: cargo-tomlfmt | ||
# version: latest | ||
# use-tool-cache: true | ||
|
||
# - name: Run Tomlfmt | ||
# uses: actions-rs/cargo@v1 | ||
# with: | ||
# command: tomlfmt | ||
# args: --dryrun | ||
|
||
clippy: | ||
name: clippy | ||
runs-on: ubuntu-latest | ||
|
@@ -81,4 +51,31 @@ jobs: | |
uses: actions-rs/clippy-check@v1 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
args: -- ${{ env.CLIPPY_PARAMS }} | ||
args: --features odin-w2xx,ppp | ||
|
||
test: | ||
name: Test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout source code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Rust | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: stable | ||
target: thumbv7m-none-eabi | ||
override: true | ||
|
||
- name: Build | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: build | ||
args: --all --target thumbv7m-none-eabi --features odin-w2xx,ppp | ||
|
||
- name: Test | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: test | ||
args: --lib --features odin-w2xx,ppp |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.