Skip to content

Commit 845a712

Browse files
committed
Add LwIP Ethernet example using tap network driver
1 parent 845d8bd commit 845a712

File tree

8 files changed

+538
-0
lines changed

8 files changed

+538
-0
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@
1010
[submodule "RadioLib/RadioLib"]
1111
path = RadioLib/RadioLib
1212
url = https://github.com/jgromes/RadioLib.git
13+
[submodule "lwip/lwip"]
14+
path = lwip/lwip
15+
url = https://git.savannah.gnu.org/git/lwip.git
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Makefile for LwIP TAP network example application
2+
3+
# The default application stack and heap size allocations are not
4+
# nearly sufficient for LwIP. While smaller limits may well work,
5+
# these have been tested to work *shrug*.
6+
STACK_SIZE=32768
7+
APP_HEAP_SIZE=32768
8+
9+
# Specify this directory relative to the current application.
10+
TOCK_USERLAND_BASE_DIR = ../..
11+
12+
# Which files to compile.
13+
C_SRCS := $(wildcard *.c)
14+
15+
# External libraries used
16+
EXTERN_LIBS += $(TOCK_USERLAND_BASE_DIR)/lwip
17+
18+
# Include userland master makefile. Contains rules and flags for actually
19+
# building the application.
20+
include $(TOCK_USERLAND_BASE_DIR)/AppMakefile.mk

0 commit comments

Comments
 (0)