-
Notifications
You must be signed in to change notification settings - Fork 1
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 ENC424J600 support #134
Changes from all commits
afdab5f
39e0b55
e845f56
befe70a
20efdcc
0d90470
6e13f4f
83380a9
83109c3
a3db62f
15f0964
4ae6e82
e66d916
3869217
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,6 +36,18 @@ features = ["stm32f407", "rt", "usb_fs"] | |
[dependencies.w5500] | ||
git = "https://github.com/quartiq/w5500" | ||
branch = "feature/tcp-nal" | ||
optional = true | ||
|
||
[dependencies.enc424j600] | ||
git = "https://git.m-labs.hk/M-Labs/ENC424J600.git" | ||
features = [ "nal" ] | ||
optional = true | ||
|
||
[dependencies.smoltcp] | ||
version = "0.7.0" | ||
default-features = false | ||
features = [ "ethernet", "proto-ipv4", "proto-ipv6", "socket-tcp" ] | ||
optional = true | ||
|
||
[dependencies.ad5627] | ||
path = "ad5627" | ||
|
@@ -63,6 +75,9 @@ path = "tca9548" | |
|
||
[features] | ||
unstable = [] | ||
phy_enc424j600 = [ "enc424j600", "smoltcp" ] | ||
phy_w5500 = [ "w5500" ] | ||
default = [ "phy_w5500" ] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looks like removing this line (i.e. not defining default features entirely) would avoid situations like running |
||
|
||
[profile.release] | ||
codegen-units = 1 # better optimizations | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update the
.github/workflow/ci.yml
file to build both PHYs.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated in 4ae6e82