forked from M-Labs/zynq-rs
1
0
Fork 0

libboard_zynq/smoltcp: default without ipv6 support

SZL netboot binary size too large with ipv6.
We can enable the ipv6 support in the runtime crate instead.
This commit is contained in:
pca006132 2020-08-31 12:07:20 +08:00
parent 73e4e4fd03
commit e73ec731aa
1 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ edition = "2018"
[features] [features]
target_zc706 = [] target_zc706 = []
target_cora_z7_10 = [] target_cora_z7_10 = []
ipv6 = [ "smoltcp/proto-ipv6" ]
[dependencies] [dependencies]
volatile-register = "0.2" volatile-register = "0.2"
@ -21,5 +22,5 @@ libcortex_a9 = { path = "../libcortex_a9" }
[dependencies.smoltcp] [dependencies.smoltcp]
version = "0.6" version = "0.6"
features = ["ethernet", "proto-ipv4", "proto-ipv6", "socket-tcp"] features = ["ethernet", "proto-ipv4", "socket-tcp"]
default-features = false default-features = false