Commit 129754a
cleanup: [tcpip] prune ee lwipopts.h entries that restate lwIP 2.0.3 defaults
Symmetric with the earlier iop lwipopts.h prune. Remove seven
defines from ee/network/tcpip/src/include/lwipopts.h that either
match lwIP 2.0.3's defaults in opt.h or configure dead
subsystems, and drop the no-op #ifndef guard:
- NO_SYS=0 (default 0)
- SYS_LIGHTWEIGHT_PROT=1 (default 1)
- SLIPIF_THREAD_STACKSIZE/PRIO (slipif.c not compiled)
- PPP_THREAD_STACKSIZE/PRIO (symbols not referenced anywhere in
lwIP 2.0.3)
- #ifndef LWIP_TCPIP_CORE_LOCKING_INPUT guard around
MEMP_NUM_TCPIP_MSG_INPKT (LWIP_TCPIP_CORE_LOCKING_INPUT is
defined later in the same file, so the guard never activates)
Keep MEM_LIBC_MALLOC=1 (EE deliberately overrides the default 0
to reuse newlib's malloc) and MEMP_NUM_TCPIP_MSG_API=50 (differs
from default 8).
Proof of no-op: 31/35 object files are byte-identical; the 4 that
differ (ps2ip.o, sys_arch.o, ps2ip_ps2sdk.o, erl-support.o) only
diverge in LTO-specific sections (.gnu.lto_*, .gnu.debuglto_*),
while their .text, .data and .rodata are byte-identical.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 58b60ec commit 129754a
1 file changed
Lines changed: 7 additions & 48 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | 7 | | |
14 | 8 | | |
15 | 9 | | |
| |||
41 | 35 | | |
42 | 36 | | |
43 | 37 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | 38 | | |
73 | 39 | | |
74 | 40 | | |
75 | 41 | | |
76 | 42 | | |
77 | 43 | | |
78 | | - | |
79 | | - | |
80 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
81 | 48 | | |
82 | 49 | | |
83 | 50 | | |
| |||
115 | 82 | | |
116 | 83 | | |
117 | 84 | | |
118 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
119 | 88 | | |
120 | | - | |
121 | | - | |
122 | 89 | | |
123 | | - | |
124 | 90 | | |
125 | 91 | | |
126 | 92 | | |
| |||
146 | 112 | | |
147 | 113 | | |
148 | 114 | | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | 115 | | |
157 | 116 | | |
158 | 117 | | |
| |||
0 commit comments