We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b972abd commit 904bcd2Copy full SHA for 904bcd2
soc/runtime/liblwip/netif/liteethif.c
@@ -2,13 +2,16 @@
2
// LiteETH lwIP port for ARTIQ
3
// License: BSD
4
5
+#include <generated/csr.h>
6
+
7
+#ifdef CSR_ETHMAC_BASE
8
9
#include <lwip/opt.h>
10
#include <lwip/mem.h>
11
12
#include <netif/etharp.h>
13
#include "netif/liteethif.h"
14
-#include <generated/csr.h>
15
#include <hw/flags.h>
16
#include <hw/ethmac_mem.h>
17
@@ -132,3 +135,5 @@ err_t liteeth_init(struct netif *netif)
132
135
133
136
return ERR_OK;
134
137
}
138
139
+#endif /* CSR_ETHMAC_BASE */
0 commit comments