forked from espressif/esp32-arduino-lib-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit 1053071
Reduces binary size for esp32, s2 and c3 (espressif#47)
on commit deacf43
sdkconfig modifications to build libraries with compile optimization to size (-Os)
keep all the bootloaders with -Os and no boot messages
changes max number of sockets from 10 to 16
disables LWIP "Experimental PPP and SLIP" because it adds about 60K to the binary size and it's not used in Arduino
on commit a133257
sets WIFI LWIP to try first to allocate from SPIRAM on esp32 (this is esp32s2 default configuration)
defines SPIRAM_MALLOC_ALWAYSINTERNAL to 4096 bytes on esp32 (same as default for esp32s2)
disables SPIRAM_MALLOC_RESERVE_INTERNAL on both esp32 and esp32s2 to release more RAM to heap
Related PRs in Arduino-ESP32:
espressif/arduino-esp32#5789
espressif/arduino-esp32#5791
Related issue:
espressif/arduino-esp32#5699
espressif/arduino-esp32#5474
espressif/arduino-esp32#5630
espressif/arduino-esp32#5751 1 parent 51a3ba2 commit 1053071
3 files changed
+29
-57
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
222 | 222 |
| |
223 | 223 |
| |
224 | 224 |
| |
225 | - | ||
226 | - | ||
225 | + | ||
226 | + | ||
227 | 227 |
| |
228 | 228 |
| |
229 | 229 |
| |
| |||
491 | 491 |
| |
492 | 492 |
| |
493 | 493 |
| |
494 | - | ||
495 | - | ||
496 | - | ||
494 | + | ||
495 | + | ||
496 | + | ||
497 | 497 |
| |
498 | 498 |
| |
499 | 499 |
| |
| |||
1007 | 1007 |
| |
1008 | 1008 |
| |
1009 | 1009 |
| |
1010 | - | ||
1010 | + | ||
1011 | 1011 |
| |
1012 | 1012 |
| |
1013 | 1013 |
| |
| |||
1066 | 1066 |
| |
1067 | 1067 |
| |
1068 | 1068 |
| |
1069 | + | ||
1069 | 1070 |
| |
1070 | 1071 |
| |
1071 | 1072 |
| |
| |||
1089 | 1090 |
| |
1090 | 1091 |
| |
1091 | 1092 |
| |
1092 | - | ||
1093 | - | ||
1093 | + | ||
1094 | 1094 |
| |
1095 | 1095 |
| |
1096 | - | ||
1097 | - | ||
1098 | - | ||
1099 | - | ||
1100 | - | ||
1101 | - | ||
1102 | - | ||
1103 | 1096 |
| |
1104 | 1097 |
| |
1105 | 1098 |
| |
| |||
1579 | 1572 |
| |
1580 | 1573 |
| |
1581 | 1574 |
| |
1582 | - | ||
1575 | + | ||
1583 | 1576 |
| |
1584 | 1577 |
| |
1585 | 1578 |
| |
| |||
1649 | 1642 |
| |
1650 | 1643 |
| |
1651 | 1644 |
| |
1652 | - | ||
1645 | + | ||
1653 | 1646 |
| |
1654 | 1647 |
| |
1655 | 1648 |
| |
| |||
1744 | 1737 |
| |
1745 | 1738 |
| |
1746 | 1739 |
| |
1747 | - | ||
1748 | - | ||
1749 | - | ||
1750 | - | ||
1751 | - | ||
1752 | - | ||
1753 | - | ||
1740 | + | ||
1754 | 1741 |
| |
1755 | 1742 |
| |
1756 | 1743 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
46 | - | ||
46 | + | ||
47 | 47 |
| |
48 | 48 |
| |
49 | - | ||
49 | + | ||
50 | 50 |
| |
51 | 51 |
| |
52 | - | ||
52 | + | ||
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
| |||
192 | 192 |
| |
193 | 193 |
| |
194 | 194 |
| |
195 | - | ||
196 | - | ||
195 | + | ||
196 | + | ||
197 | 197 |
| |
198 | 198 |
| |
199 | 199 |
| |
| |||
951 | 951 |
| |
952 | 952 |
| |
953 | 953 |
| |
954 | - | ||
955 | 954 |
| |
956 | 955 |
| |
957 | 956 |
| |
| |||
1025 | 1024 |
| |
1026 | 1025 |
| |
1027 | 1026 |
| |
1028 | - | ||
1027 | + | ||
1029 | 1028 |
| |
1030 | 1029 |
| |
1031 | 1030 |
| |
| |||
1520 | 1519 |
| |
1521 | 1520 |
| |
1522 | 1521 |
| |
1523 | - | ||
1522 | + | ||
1524 | 1523 |
| |
1525 | 1524 |
| |
1526 | - | ||
1525 | + | ||
1527 | 1526 |
| |
1528 | 1527 |
| |
1529 | - | ||
1528 | + | ||
1530 | 1529 |
| |
1531 | 1530 |
| |
1532 | 1531 |
| |
| |||
1542 | 1541 |
| |
1543 | 1542 |
| |
1544 | 1543 |
| |
1545 | - | ||
1546 | - | ||
1544 | + | ||
1545 | + | ||
1547 | 1546 |
| |
1548 | 1547 |
| |
1549 | 1548 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
256 | 256 |
| |
257 | 257 |
| |
258 | 258 |
| |
259 | - | ||
260 | - | ||
259 | + | ||
260 | + | ||
261 | 261 |
| |
262 | 262 |
| |
263 | 263 |
| |
| |||
418 | 418 |
| |
419 | 419 |
| |
420 | 420 |
| |
421 | - | ||
421 | + | ||
422 | 422 |
| |
423 | 423 |
| |
424 | 424 |
| |
| |||
858 | 858 |
| |
859 | 859 |
| |
860 | 860 |
| |
861 | - | ||
861 | + | ||
862 | 862 |
| |
863 | 863 |
| |
864 | 864 |
| |
| |||
940 | 940 |
| |
941 | 941 |
| |
942 | 942 |
| |
943 | - | ||
944 | - | ||
943 | + | ||
945 | 944 |
| |
946 | 945 |
| |
947 | - | ||
948 | - | ||
949 | - | ||
950 | - | ||
951 | - | ||
952 | - | ||
953 | - | ||
954 | 946 |
| |
955 | 947 |
| |
956 | 948 |
| |
| |||
1443 | 1435 |
| |
1444 | 1436 |
| |
1445 | 1437 |
| |
1446 | - | ||
1438 | + | ||
1447 | 1439 |
| |
1448 | 1440 |
| |
1449 | 1441 |
| |
| |||
1532 | 1524 |
| |
1533 | 1525 |
| |
1534 | 1526 |
| |
1535 | - | ||
1536 | - | ||
1537 | - | ||
1538 | - | ||
1539 | - | ||
1540 | - | ||
1541 | - | ||
1527 | + | ||
1542 | 1528 |
| |
1543 | 1529 |
| |
1544 | 1530 |
| |
|
0 commit comments