File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
boards/risc-v/litex/arty_a7/configs/netnsh Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -626,8 +626,8 @@ static void litex_receive(struct litex_emac_s *priv)
626
626
litex_transmit (priv );
627
627
}
628
628
}
629
- #endif
630
629
else
630
+ #endif
631
631
{
632
632
NETDEV_RXDROPPED (& priv -> dev );
633
633
}
@@ -788,11 +788,13 @@ static int litex_ifup(struct net_driver_s *dev)
788
788
struct litex_emac_s * priv = (struct litex_emac_s * )dev -> d_private ;
789
789
int ret ;
790
790
791
+ #ifdef CONFIG_NET_IPv4
791
792
ninfo ("Bringing up: %d.%d.%d.%d\n" ,
792
793
(int )(dev -> d_ipaddr & 0xff ),
793
794
(int )((dev -> d_ipaddr >> 8 ) & 0xff ),
794
795
(int )((dev -> d_ipaddr >> 16 ) & 0xff ),
795
796
(int )(dev -> d_ipaddr >> 24 ));
797
+ #endif
796
798
797
799
/* Configure the EMAC interface for normal operation. */
798
800
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ CONFIG_DEV_ZERO=y
49
49
CONFIG_ETH0_PHY_DP83848C=y
50
50
CONFIG_EXAMPLES_HELLO=y
51
51
CONFIG_EXAMPLES_HELLO_STACKSIZE=8192
52
+ CONFIG_FILE_STREAM=y
52
53
CONFIG_FS_PROCFS=y
53
54
CONFIG_IDLETHREAD_STACKSIZE=8192
54
55
CONFIG_INIT_ENTRYPOINT="nsh_main"
You can’t perform that action at this time.
0 commit comments