Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for ENC424J600 with bumped minimq #156

Merged
merged 20 commits into from
Sep 30, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
60933e2
enc424j600: initial commit squashed from @occheung 's commits
occheung Jan 19, 2021
6b82f96
bump minimq to d2ec3e83 & adapt
HarryMakes Jun 16, 2021
8d205bb
enc424j600: use smoltcp-nal 0.1.0, disable enc424j600 nal
HarryMakes Jun 16, 2021
c27a6f7
enc424j600: bump enc424j600 to bb6824b9 & adapt
HarryMakes Jun 16, 2021
5e298ad
switch to smoltcp-nal::smoltcp (0.7.0)
HarryMakes Jun 4, 2021
f0a471b
enc424j600: use cortex_m::singleton on NetStorage
HarryMakes Jun 16, 2021
7b75204
enc424j600: set SPI clock to max supported (14MHz)
HarryMakes Jun 7, 2021
8639bc2
enc424j600: introduce embedded_time-based clock
HarryMakes Jun 29, 2021
448e463
enc424j600: rename mod from _config to _api
HarryMakes Jun 29, 2021
c709389
use container for accessing MQTT client, and NAL clock for ENC424J600
HarryMakes Jun 29, 2021
2f0b130
mqtt_control: implement smoltcp polling for ENC424J600
HarryMakes Jun 29, 2021
4e2d707
Merge 4ef6c804 (develop) into feature/enc424j600_merged
HarryMakes Jun 29, 2021
c345017
CI: control Eth PHY variants via matrix
HarryMakes Jun 29, 2021
88930f4
enc424j600: bump enc424j600 to fbcc3778
HarryMakes Aug 26, 2021
5ca3f40
enc424j600_api: remove keep-alive
HarryMakes Sep 2, 2021
e8bd495
Define CPU clock frequency as const for consistency
HarryMakes Sep 27, 2021
373f6b8
enc424j600_api: additionally check for CPU clock consistency
HarryMakes Sep 27, 2021
8055090
CI: improve matrix for Eth PHY variants
HarryMakes Sep 27, 2021
427a4a8
enc424j600_api: ignore errors due to tick overflow
HarryMakes Sep 28, 2021
38fa6f4
CI: simplify matrix for Eth variants
HarryMakes Sep 28, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
toolchain:
- stable
- beta
variant: [phy_w5500, phy_enc424j600]
steps:
- uses: actions/checkout@v2

Expand Down Expand Up @@ -77,32 +78,36 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: build
args: --no-default-features --features "${{ matrix.variant }}"

- name: Build [Release]
uses: actions-rs/cargo@v1
with:
command: build
args: --release
args: --release --no-default-features --features "${{ matrix.variant }}"

- name: Generate Release
uses: actions-rs/cargo@v1
with:
command: objcopy
args: --release --verbose -- -O binary booster-release.bin
args: --release --no-default-features --features "${{ matrix.variant }}" --verbose -- -O binary booster-release.bin

- name: Upload Release
uses: actions/upload-artifact@v2
if: ${{ matrix.toolchain == 'stable' }} &&
(${{ github.ref == 'refs/heads/master' }} ||
${{ github.ref == 'refs/heads/develop' }})
with:
name: Firmware Images
name: Firmware Images (variant=${{ matrix.variant }})
path: |
target/*/release/booster
booster-release.bin
compile-unstable:
runs-on: ubuntu-latest
strategy:
matrix:
variant: [phy_w5500, phy_enc424j600]
steps:
- uses: actions/checkout@v2
- name: Install Rust Nightly
Expand All @@ -115,9 +120,9 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: build
args: --features unstable
args: --no-default-features --features "unstable ${{ matrix.variant }}"
- name: cargo build+release+unstable
uses: actions-rs/cargo@v1
with:
command: build
args: --release --features unstable
args: --release --no-default-features --features "unstable ${{ matrix.variant }}"
Loading