From e73ec731aa7da805434ebed9b1e5e323148ea0e0 Mon Sep 17 00:00:00 2001 From: pca006132 Date: Mon, 31 Aug 2020 12:07:20 +0800 Subject: [PATCH] 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. --- libboard_zynq/Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libboard_zynq/Cargo.toml b/libboard_zynq/Cargo.toml index 96b2d14..99dec56 100644 --- a/libboard_zynq/Cargo.toml +++ b/libboard_zynq/Cargo.toml @@ -8,6 +8,7 @@ edition = "2018" [features] target_zc706 = [] target_cora_z7_10 = [] +ipv6 = [ "smoltcp/proto-ipv6" ] [dependencies] volatile-register = "0.2" @@ -21,5 +22,5 @@ libcortex_a9 = { path = "../libcortex_a9" } [dependencies.smoltcp] version = "0.6" -features = ["ethernet", "proto-ipv4", "proto-ipv6", "socket-tcp"] +features = ["ethernet", "proto-ipv4", "socket-tcp"] default-features = false